diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-06-16 12:30:33 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-06-16 12:30:33 +0200 |
| commit | ae7948737dfb2b54387bc9c19daabd7287f3aab6 (patch) | |
| tree | 1716aa61be022444801d6506529f6a746ff624d0 /.config/sway/config | |
| parent | dfba0f7dc60a18f2e8c134703f1273b384de347a (diff) | |
fix sway and i3status
Diffstat (limited to '.config/sway/config')
| -rw-r--r-- | .config/sway/config | 5 |
1 files changed, 5 insertions, 0 deletions
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: # |
