summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/sway/config9
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.