add notifications for audio (they're rubbish, but eh)
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
#!/usr/bin/sh
|
||||
wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && play -n synth 0.005 sine 1000 vol 0.2
|
||||
|
||||
vol_str=$(wpctl get-volume @DEFAULT_AUDIO_SINK@)
|
||||
vol_int="$(echo "$vol_str" | sed 's/[^0-9]*//g')"
|
||||
notify-send -i audio-volume-high -u low -h int:value:"$vol_int" -h string:x-dunst-stack-tag:'audioctl' -a 'audioctl' "$vol_str"
|
||||
|
||||
Reference in New Issue
Block a user