From 0f9d47ce6e2ea43930f2ea3e454d8a6793fb5832 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 25 Feb 2019 20:18:01 -0800 Subject: [PATCH] Add media keyboard commands --- config/i3/config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/i3/config b/config/i3/config index e329c2e..a6bff99 100644 --- a/config/i3/config +++ b/config/i3/config @@ -35,6 +35,14 @@ bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill +# Pulse Audio controls +# increase sound volume +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% +# decrease sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% +# mute sound +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle + # start dmenu (a program launcher) #bindsym $mod+d exec dmenu_run bindsym $mod+space exec dmenu_run