From fbee53687b1a3a7db8df6d9606594dddcc710dd5 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 5 Aug 2015 16:31:08 +0200 Subject: Add named workspaces to i3 --- i3/config | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 3fb2a37..d683606 100644 --- a/i3/config +++ b/i3/config @@ -1,3 +1,9 @@ +set $w1 1|www +set $w2 2|mail +set $w3 3|config +set $w4 4|latex +set $w5 5|code + # This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # @@ -84,7 +90,7 @@ bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle # focus the parent container -bindsym $mod+a focus parent # ancestor +bindsym $mod+a focus parent # focus the child container bindsym $mod+c focus child @@ -97,10 +103,10 @@ bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show # switch to workspace -bindsym $mod+ampersand workspace 1 -bindsym $mod+bracketleft workspace 2 -bindsym $mod+braceleft workspace 3 -bindsym $mod+braceright workspace 4 +bindsym $mod+ampersand workspace $w1 +bindsym $mod+bracketleft workspace $w2 +bindsym $mod+braceleft workspace $w3 +bindsym $mod+braceright workspace $w4 bindsym $mod+parenleft workspace 5 bindsym $mod+equal workspace 6 bindsym $mod+asterisk workspace 7 @@ -109,10 +115,10 @@ bindsym $mod+plus workspace 9 bindsym $mod+bracketright workspace 10 # move focused container to workspace -bindsym $mod+Shift+ampersand move container to workspace 1 -bindsym $mod+Shift+bracketleft move container to workspace 2 -bindsym $mod+Shift+braceleft move container to workspace 3 -bindsym $mod+Shift+braceright move container to workspace 4 +bindsym $mod+Shift+ampersand move container to workspace $w1 +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 5 bindsym $mod+Shift+equal move container to workspace 6 bindsym $mod+Shift+asterisk move container to workspace 7 @@ -174,5 +180,5 @@ bindsym F1 exec $HOME/.xinitrc # font xft:Droid Sans Mono 10 # Init script -exec /home/urbain/.xinitrc -exec /home/urbain/.xmodmap +exec $HOME/.xinitrc + -- cgit v1.2.3