mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 15:25:24 +05:30
It's time to go home
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user