fix: fixed conflicts + moving to yadm
This commit is contained in:
11
.config/hypr/scripts/dunst/volume.sh
Executable file
11
.config/hypr/scripts/dunst/volume.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
msgId="3378455"
|
||||
|
||||
# Unmute on volume change
|
||||
# pactl set-mute @DEFAULT_SINK@ 0
|
||||
|
||||
volume=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Eo [0-9]+% | head -1)
|
||||
|
||||
notify-send -i $HOME/.config/hypr/scripts/dunst/icons/volume.svg -a "changevolume" -u low -r "$msgId" \
|
||||
-h int:value:"$volume" "Громкость: $volume%"
|
||||
Reference in New Issue
Block a user