From f83beb1c72d91909abff5fbe931f8e0e33e6ab34 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 10 Mar 2015 14:12:47 +0000 Subject: i3: added bindings for XF86 keys XF86PowerOff is bound to `lock' XF86VolumeMute will toggle between the state of the Master volume (muted or not) using `amixer'. Signed-off-by: Olivier Gayot --- user/.config/i3/config | 3 +++ 1 file changed, 3 insertions(+) (limited to 'user/.config/i3/config') diff --git a/user/.config/i3/config b/user/.config/i3/config index 6de1aab..51f2078 100644 --- a/user/.config/i3/config +++ b/user/.config/i3/config @@ -157,6 +157,9 @@ bindsym $mod+Control+9 exec --no-startup-id amixer -q -- set Master 05%- bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q -- set Master 05%- bindsym $mod+Control+0 exec --no-startup-id amixer -q -- set Master 05%+ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q -- set Master 05%+ +bindsym XF86AudioMute exec --no-startup-id amixer -q -- set Master toggle + +bindsym XF86PowerOff exec --no-startup-id lock & # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) -- cgit v1.2.3