diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-08-06 21:46:33 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-08-06 21:46:33 +0200 |
commit | 520aaf9e397b7b0e46e9cd5165799748da597648 (patch) | |
tree | db150695faa430e9bda7c8c16695e401bc49708f /i3/config | |
parent | 2d015ad8f1acb6d79f76b8ca85a7fe3e0fa2135f (diff) |
Add support for media keys in i3
Diffstat (limited to 'i3/config')
-rw-r--r-- | i3/config | 49 |
1 files changed, 33 insertions, 16 deletions
@@ -1,9 +1,13 @@ set $w1 1|www set $w2 2|mail -set $w3 3|config -set $w4 4|latex -set $w5 5|code +set $w3 3|latex +set $w4 4|code +set $w5 5|work +set $w6 6|fun +set $w7 7|fun +set $w8 8|work set $w9 9|todo +set $w10 10|conf # This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. @@ -40,11 +44,11 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+d kill # start dmenu (a program launcher) -# bindsym $mod+d exec dmenu_run +bindsym $mod+p exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. -bindsym $mod+p exec --no-startup-id i3-dmenu-desktop +# bindsym $mod+p exec --no-startup-id i3-dmenu-desktop # change focus bindsym $mod+h focus left @@ -71,10 +75,10 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+w split h +bindsym $mod+v split h # split in vertical orientation -bindsym $mod+v split v +bindsym $mod+w split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen @@ -109,11 +113,11 @@ bindsym $mod+bracketleft workspace $w2 bindsym $mod+braceleft workspace $w3 bindsym $mod+braceright workspace $w4 bindsym $mod+parenleft workspace $w5 -bindsym $mod+equal workspace 6 -bindsym $mod+asterisk workspace 7 -bindsym $mod+parenright workspace 8 +bindsym $mod+equal workspace $w6 +bindsym $mod+asterisk workspace $w7 +bindsym $mod+parenright workspace $w8 bindsym $mod+plus workspace $w9 -bindsym $mod+bracketright workspace 10 +bindsym $mod+bracketright workspace $w10 # move focused container to workspace bindsym $mod+Shift+ampersand move container to workspace $w1 @@ -121,11 +125,11 @@ bindsym $mod+Shift+bracketleft move container to workspace $w2 bindsym $mod+Shift+braceleft move container to workspace $w3 bindsym $mod+Shift+braceright move container to workspace $w4 bindsym $mod+Shift+1 move container to workspace $w5 -bindsym $mod+Shift+equal move container to workspace 6 -bindsym $mod+Shift+asterisk move container to workspace 7 -bindsym $mod+Shift+2 move container to workspace 8 +bindsym $mod+Shift+equal move container to workspace $w6 +bindsym $mod+Shift+asterisk move container to workspace $w7 +bindsym $mod+Shift+2 move container to workspace $w8 bindsym $mod+Shift+plus move container to workspace $w9 -bindsym $mod+Shift+bracketright move container to workspace 10 +bindsym $mod+Shift+bracketright move container to workspace $w10 # reload the configuration file bindsym $mod+Shift+c reload @@ -172,7 +176,8 @@ bindsym $mod+comma workspace prev bindsym $mod+period workspace next # Programs shortcuts -bindsym $mod+b exec chromium-browser +bindsym $mod+b exec uzbl-browser +bindsym $mod+at exec chromium-browser # Configuration bindsym F1 exec $HOME/.xinitrc @@ -182,3 +187,15 @@ bindsym F1 exec $HOME/.xinitrc # Init script exec $HOME/.xinitrc + +# Media control +exec --no-startup-id gnome-settings-daemon + +# Pulse Audio controls +bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ +bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- +bindsym XF86AudioMute exec amixer -D pulse sset Master 0% + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 10 +bindsym XF86MonBrightnessDown exec xbacklight -dec 10 |