summaryrefslogtreecommitdiff
path: root/user/.config/i3/config
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-03-10 14:12:47 +0000
committerOlivier Gayot <duskcoder@gmail.com>2015-03-10 14:13:40 +0000
commitf83beb1c72d91909abff5fbe931f8e0e33e6ab34 (patch)
tree7caa4efe8172837ee40280572f1a6d44a1ea609b /user/.config/i3/config
parenta5c53db7b755be09076a7a362ff74d21bf049365 (diff)
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 <duskcoder@gmail.com>
Diffstat (limited to 'user/.config/i3/config')
-rw-r--r--user/.config/i3/config3
1 files changed, 3 insertions, 0 deletions
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)