REALLY FUCKING FIXED

This commit is contained in:
coolnsx
2022-12-09 13:39:06 +05:30
parent 251f5340dd
commit fcd970e366
15 changed files with 112 additions and 80 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/sh
vol_icon=🔊
pamixer --get-mute | sh && vol_icon=🔇
notify-send -h int:value:$(pamixer --get-volume) "$vol_icon" -t 1000 -r 1
vol_int=$(pamixer --get-volume)
vol_icon="low"
[ "$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