From ae7948737dfb2b54387bc9c19daabd7287f3aab6 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 16 Jun 2024 12:30:33 +0200 Subject: fix sway and i3status --- .config/sway/config | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/sway/config') diff --git a/.config/sway/config b/.config/sway/config index f924434..0174d2d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -102,6 +102,11 @@ input type:touchpad { # Exit sway (logs you out of your Wayland session) bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + + # Use pactl to ajust volume in PulseAudio/PipeWire + bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status + bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status + bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status # # Moving around: # -- cgit v1.2.3