mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 07:15:23 +05:30
REALLY FUCKING FIXED
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user