mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
New version: created v3
This commit is contained in:
+9
-9
@@ -8,23 +8,23 @@ vol_quiet=33
|
||||
vol_loud=66
|
||||
|
||||
if [ "$cur_vol" -le "$vol_quiet" ]; then
|
||||
dunstify -a "Volume" \
|
||||
"Volume" \
|
||||
"Current volume is $cur_vol%" \
|
||||
dunstify -a "Speakers" \
|
||||
"Speakers" \
|
||||
"Volume: $cur_vol%" \
|
||||
-r 100 \
|
||||
-i $dir_icons/volume.svg
|
||||
fi
|
||||
if [ "$cur_vol" -gt "$vol_quiet" ] && [ "$cur_vol" -le "$vol_loud" ]; then
|
||||
dunstify -a "Volume" \
|
||||
"Volume" \
|
||||
"Current volume is $cur_vol%" \
|
||||
dunstify -a "Speakers" \
|
||||
"Speakers" \
|
||||
"Volume: $cur_vol%" \
|
||||
-r 100 \
|
||||
-i $dir_icons/volume-1.svg
|
||||
fi
|
||||
if [ "$cur_vol" -gt "$vol_loud" ]; then
|
||||
dunstify -a "Volume" \
|
||||
"Volume" \
|
||||
"Current volume is $cur_vol%" \
|
||||
dunstify -a "Speakers" \
|
||||
"Speakers" \
|
||||
"Volume: $cur_vol%" \
|
||||
-r 100 \
|
||||
-i $dir_icons/volume-2.svg
|
||||
fi
|
||||
Reference in New Issue
Block a user