aboutsummaryrefslogtreecommitdiff
path: root/damb
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-03-20 17:12:40 +0530
committersinanmohd <sinan@firemail.cc>2023-03-20 17:12:40 +0530
commit4387ee91cf388be1a2769755c5993e1f35497602 (patch)
treede312020092d00437ee8e248ecdbb7668977a735 /damb
parent91a695a17cd0c77369a80680c59dd1fe715dfe4d (diff)
font: switch to font awesome for icons
Diffstat (limited to 'damb')
-rwxr-xr-xdamb8
1 files changed, 4 insertions, 4 deletions
diff --git a/damb b/damb
index f8f68b9..737e720 100755
--- a/damb
+++ b/damb
@@ -11,7 +11,7 @@ die()
: "${1:?}"
command -v notify-send > /dev/null &&
- notify-send " damb" "$1"
+ notify-send " damb" "$1"
printf "\033[31;1merr: %b\033[0m\n" "$1"
exit "${2:-1}"
@@ -31,7 +31,7 @@ dep_check()
get_opt()
{
- printf "select\nlinks\nrandom\nstream\nstop" | "$menu" -p "הּ "
+ printf "select\nlinks\nrandom\nstream\nstop" | "$menu" -p " "
}
get_ambs()
@@ -42,7 +42,7 @@ get_ambs()
get_link()
{
grep -v "^#.*$" "$config_dir"/links |
- grep "$(grep -v "^#.*$" "$config_dir"/links | cut -d '=' -f1 | "$menu" -p " " -l 25)" |
+ grep "$(grep -v "^#.*$" "$config_dir"/links | cut -d '=' -f1 | "$menu" -p " " -l 25)" |
cut -d '=' -f2 | tr -d ' '
}
@@ -56,7 +56,7 @@ main()
case "$(get_opt)" in
select)
dep_check "ffplay"
- ffplay -volume 20 -nodisp -loop 0 "$amb_dir/$(get_ambs | "$menu" -p " " -l 25)" &
+ ffplay -volume 20 -nodisp -loop 0 "$amb_dir/$(get_ambs | "$menu" -p " " -l 25)" &
echo "$!" >> "$pid_file"
;;
links)