It's time to go home

This commit is contained in:
coolnsx
2023-07-24 12:04:11 +05:30
parent f9dc5f8759
commit ec0e3d17c1
16 changed files with 90 additions and 82 deletions

View File

@@ -2,7 +2,8 @@
vol_int=$(pamixer --get-volume)
vol_icon="low"
[ "$vol_int" -gt 0 ] && pamixer -u || pamixer -m
[ "$vol_int" -gt 33 ] && vol_icon="medium"
[ "$vol_int" -gt 66 ] && vol_icon="high"
pamixer --get-mute | sh && vol_icon="muted"
notify-send -i "/usr/share/icons/Papirus/16x16/panel/audio-volume-$vol_icon.svg" "$vol_int %" -t 1000 -r 1
notify-send -i "/usr/share/icons/Papirus/16x16/panel/audio-volume-$vol_icon.svg" "$vol_int %" -h "string:x-canonical-private-synchronous:volume" -t 1000