From 4387ee91cf388be1a2769755c5993e1f35497602 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 20 Mar 2023 17:12:40 +0530 Subject: font: switch to font awesome for icons --- dbook | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dbook') diff --git a/dbook b/dbook index 487011e..758f646 100755 --- a/dbook +++ b/dbook @@ -9,7 +9,7 @@ note() : "${1:?}" command -v notify-send > /dev/null && - notify-send " dbook" "$1" + notify-send " dbook" "$1" } die() @@ -141,7 +141,7 @@ rm_data() entry() { - printf "" | "$menu" -p " ${1:?} " || + printf "" | "$menu" -p " ${1:?} " || die "input empty" } @@ -252,11 +252,11 @@ main() printf "%s\t|\t%s\n" "$name" "$data" >> "$book_conf" ;; -d) - rm_data "${2:-"$(parse_name | "$menu" -p " " -l 25)"}" + rm_data "${2:-"$(parse_name | "$menu" -p " " -l 25)"}" ;; -t) shift > /dev/null 2>&1 - data="${*:-"$(parse_name | "$menu" -p " " -l 25 | parse_data)"}" + data="${*:-"$(parse_name | "$menu" -p " " -l 25 | parse_data)"}" [ -z "$data" ] && die "empty, use -i to add an entry" @@ -271,7 +271,7 @@ main() ;; -c) shift > /dev/null 2>&1 - data="${*:-"$(parse_name | "$menu" -p " " -l 25 | parse_data)"}" + data="${*:-"$(parse_name | "$menu" -p " " -l 25 | parse_data)"}" [ -z "$data" ] && die "empty, use -i to add an entry" @@ -290,7 +290,7 @@ main() "") dep_check "xdg-open" - data="$(parse_name | "$menu" -p " " -l 25 | parse_data)" + data="$(parse_name | "$menu" -p " " -l 25 | parse_data)" [ -z "$data" ] && die "empty, use -i to add an entry" -- cgit v1.2.3