File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ send_notification() {
3333 # shellcheck disable=SC2154
3434 ico=" ${iconsDir} /Wallbash-Icon/media/knob-${angle} .svg"
3535 bar=$( seq -s " ." $(( brightness / 15 )) | sed ' s/[0-9]//g' )
36- [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 7 -t 800 -i " ${ico} " " ${brightness}${bar} " " ${brightinfo} "
36+ [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 7 -t 2000 -i " ${ico} " " ${brightness}${bar} " " ${brightinfo} "
3737}
3838
3939get_brightness () {
Original file line number Diff line number Diff line change @@ -55,16 +55,16 @@ notify_vol() {
5555 [ " $angle " -gt 100 ] && angle=100
5656 ico=" ${icodir} /${iconStyle} -${angle} .svg"
5757 bar=$( seq -s " ." $(( vol / 15 )) | sed ' s/[0-9]//g' )
58- [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 8 -t 800 -i " ${ico} " " ${vol}${bar} " " ${nsink} "
58+ [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 8 -t 2000 -i " ${ico} " " ${vol}${bar} " " ${nsink} "
5959}
6060
6161notify_mute () {
6262 mute=$( pamixer " ${srce} " --get-mute | cat)
6363 [ " ${srce} " == " --default-source" ] && dvce=" microphone" || dvce=" speaker"
6464 if [ " ${mute} " == " true" ]; then
65- [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 8 -t 800 -i " ${icodir} /muted-${dvce} .svg" " muted" " ${nsink} "
65+ [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 8 -t 2000 -i " ${icodir} /muted-${dvce} .svg" " muted" " ${nsink} "
6666 else
67- [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 8 -t 800 -i " ${icodir} /unmuted-${dvce} .svg" " unmuted" " ${nsink} "
67+ [[ " ${isNotify} " == true ]] && notify-send -a " HyDE Notify" -r 8 -t 2000 -i " ${icodir} /unmuted-${dvce} .svg" " unmuted" " ${nsink} "
6868 fi
6969}
7070
You can’t perform that action at this time.
0 commit comments