diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-05-31 09:02:08 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-05-31 09:02:08 +0200 |
commit | 6b4da7174799703f067818d9784fc883f7f870f2 (patch) | |
tree | 11e2095668825ec9b4123900d40eff5e92ae5ecd | |
parent | d50daf233436d527e382e6abe41466a95574f9b1 (diff) | |
download | dotfiles-6b4da7174799703f067818d9784fc883f7f870f2.tar dotfiles-6b4da7174799703f067818d9784fc883f7f870f2.tar.zst dotfiles-6b4da7174799703f067818d9784fc883f7f870f2.zip |
Add Multimedia Keys to Sway Config
-rw-r--r-- | .config/sway/config | 9 |
1 files changed, 9 insertions, 0 deletions
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. |