Use ALSA for audio control and status

This commit is contained in:
Ohad Livne 2025-06-04 22:45:07 +03:00
parent 09144d2792
commit 71d4005a8a
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
3 changed files with 9 additions and 7 deletions

View file

@ -232,9 +232,9 @@ bindsym Mod4+4 exec fcitx5-remote -s keyboard-fr
#
bindsym XF86TouchpadToggle exec swaymsg input type:touchpad events toggle enabled disabled
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioMute exec amixer set Master toggle
bindsym XF86AudioLowerVolume exec amixer set Master 5%-
bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
#
# Start a password manager in the scratchpad