i3: Set up workspace variables.

This commit is contained in:
Salt 2017-09-17 22:38:48 -05:00
parent 7a117b7565
commit 959eeca5a2

View File

@ -90,6 +90,11 @@ set $w2 2
set $w3 3
set $w4 4
set $w5 5
set $w6 6
set $w7 7
set $w8 8
set $w9 9
set $w10 10
bindsym $mod+n exec "i3-msg rename workspace to $(rofi -dmenu -p 'Rename workspace: ' -l 1)"
@ -183,16 +188,16 @@ bindsym $mod+a focus parent
bindsym $mod+d focus child
# switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+1 workspace $w1
bindsym $mod+2 workspace $w2
bindsym $mod+3 workspace $w3
bindsym $mod+4 workspace $w4
bindsym $mod+5 workspace $w5
bindsym $mod+6 workspace $w6
bindsym $mod+7 workspace $w7
bindsym $mod+8 workspace $w8
bindsym $mod+9 workspace $w9
bindsym $mod+0 workspace $w10
# switch to next and previous workspaces
bindsym $mod+I workspace next
@ -202,16 +207,16 @@ bindsym $ctl+$mod+Right workspace next
bindsym $ctl+$mod+Left workspace prev
# move focused container to workspace
bindsym $mod+$shift+1 move container to workspace number 1
bindsym $mod+$shift+2 move container to workspace number 2
bindsym $mod+$shift+3 move container to workspace number 3
bindsym $mod+$shift+4 move container to workspace number 4
bindsym $mod+$shift+5 move container to workspace number 5
bindsym $mod+$shift+6 move container to workspace number 6
bindsym $mod+$shift+7 move container to workspace number 7
bindsym $mod+$shift+8 move container to workspace number 8
bindsym $mod+$shift+9 move container to workspace number 9
bindsym $mod+$shift+0 move container to workspace number 10
bindsym $mod+$shift+1 move container to workspace $w1
bindsym $mod+$shift+2 move container to workspace $w2
bindsym $mod+$shift+3 move container to workspace $w3
bindsym $mod+$shift+4 move container to workspace $w4
bindsym $mod+$shift+5 move container to workspace $w5
bindsym $mod+$shift+6 move container to workspace $w6
bindsym $mod+$shift+7 move container to workspace $w7
bindsym $mod+$shift+8 move container to workspace $w8
bindsym $mod+$shift+9 move container to workspace $w9
bindsym $mod+$shift+0 move container to workspace $w10
# reload the configuration file
bindsym $mod+$shift+c reload