diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-03-10 14:12:47 +0000 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-03-10 14:13:40 +0000 |
commit | f83beb1c72d91909abff5fbe931f8e0e33e6ab34 (patch) | |
tree | 7caa4efe8172837ee40280572f1a6d44a1ea609b | |
parent | a5c53db7b755be09076a7a362ff74d21bf049365 (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>
-rw-r--r-- | user/.config/i3/config | 3 |
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) |