From 1303e21f431bc49bba6dc275053d516da0392e54 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 19 Dec 2015 16:55:46 +0000 Subject: Fix script for i3 workspaces --- .i3/config | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) (limited to '.i3/config') diff --git a/.i3/config b/.i3/config index d0606ed..ea96bd9 100644 --- a/.i3/config +++ b/.i3/config @@ -85,28 +85,32 @@ 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+parenleft workspace 5 -bindsym $mod+equal workspace 6 -bindsym $mod+asterisk workspace 7 -bindsym $mod+parenright workspace 8 -bindsym $mod+plus workspace 9 -bindsym $mod+bracketright workspace 10 +bindsym $mod+ampersand exec workspace n 1 +bindsym $mod+bracketleft exec workspace n 2 +bindsym $mod+braceleft exec workspace n 3 +bindsym $mod+braceright exec workspace n 4 +bindsym $mod+parenleft exec workspace n 5 +bindsym $mod+equal exec workspace n 6 +bindsym $mod+asterisk exec workspace n 7 +bindsym $mod+parenright exec workspace n 8 +bindsym $mod+plus exec workspace n 9 +bindsym $mod+bracketright exec workspace n 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+1 move container to workspace 5 -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+plus move container to workspace 9 -bindsym $mod+Shift+bracketright move container to workspace 10 +bindsym $mod+Shift+ampersand exec workspace m 1 m +bindsym $mod+Shift+bracketleft exec workspace m 2 +bindsym $mod+Shift+braceleft exec workspace m 3 +bindsym $mod+Shift+braceright exec workspace m 4 +bindsym $mod+Shift+1 exec workspace m 5 +bindsym $mod+Shift+equal exec workspace m 6 +bindsym $mod+Shift+asterisk exec workspace m 7 +bindsym $mod+Shift+2 exec workspace m 8 +bindsym $mod+Shift+plus exec workspace m 9 +bindsym $mod+Shift+bracketright exec workspace m 10 + +# Keybindings for create and move +bindsym $mod+n exec workspace n +bindsym $mod+m exec workspace m # reload the configuration file bindsym $mod+Shift+c reload @@ -155,7 +159,6 @@ bindsym $mod+period workspace next # Programs shortcuts bindsym $mod+b exec uzbl-browser bindsym $mod+at exec chromium-browser -bindsym $mod+n exec workspace # Configuration # bindsym F1 exec $HOME/.xinitrc -- cgit v1.2.3