Update volume.sh to work with pipewire on hyprland
This commit is contained in:
parent
0bca13c5c5
commit
0f0bb6cfea
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ case $1 in
|
|||
;;
|
||||
mute)
|
||||
# Toggle mute
|
||||
#amixer -D pulse set Master 1+ toggle > /dev/null
|
||||
wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
if is_mute; then
|
||||
DIR=$(dirname "$0")
|
||||
$DIR/notify-send.sh -i "/usr/share/icons/Papirus/48x48/status/notification-audio-volume-muted.svg" --replace=555 -u normal "Mute" -t 2000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue