update: reconfigured hyprland nvim and other things
This commit is contained in:
11
dot_config/dunst/scripts/literal_executable_volumemute.sh
Normal file
11
dot_config/dunst/scripts/literal_executable_volumemute.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
msgId="3378455"
|
||||
|
||||
station=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed 's/Volume://' | tr -d [:digit:] | tr -d ' .[]')
|
||||
|
||||
if [ $station = 'MUTED' ]; then
|
||||
notify-send -i "$HOME/.config/dunst/scripts/icons/volume mute.svg" -u low -r "$msgId" "Звук выключен"
|
||||
else
|
||||
notify-send -i "$HOME/.config/dunst/scripts/icons/volume.svg" -u low -r "$msgId" "Звук включен"
|
||||
fi
|
||||
Reference in New Issue
Block a user