fix: fixed conflicts + moving to yadm
This commit is contained in:
11
.config/hypr/scripts/dunst/volume-mute.sh
Executable file
11
.config/hypr/scripts/dunst/volume-mute.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
msgId="3378455"
|
||||
|
||||
station=$(pactl get-sink-mute @DEFAULT_SINK@)
|
||||
|
||||
if [ "$station" = 'Mute: yes' ]; then
|
||||
notify-send -i "$HOME/.config/hypr/scripts/dunst/icons/volume-mute.svg" -u low -r "$msgId" "Звук выключен"
|
||||
else
|
||||
notify-send -i "$HOME/.config/hypr/scripts/dunst/icons/volume.svg" -u low -r "$msgId" "Звук включен"
|
||||
fi
|
||||
Reference in New Issue
Block a user