From 6b4da7174799703f067818d9784fc883f7f870f2 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 31 May 2021 09:02:08 +0200 Subject: Add Multimedia Keys to Sway Config --- .config/sway/config | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 3772622..ff4611c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -82,6 +82,15 @@ workspace 3 output eDP-1 # Start your launcher bindsym $mod+d exec $menu + # Pulse Audio controls + bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume + bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume + bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + # Media player controls + bindsym XF86AudioPlay exec playerctl play-pause + bindsym XF86AudioNext exec playerctl next + bindsym XF86AudioPrev exec playerctl previous + # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. # Despite the name, also works for non-floating windows. -- cgit v1.2.3-70-g09d2