diff --git a/.config/i3/config b/.config/i3/config index eacc6a5..9efc0b1 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -72,6 +72,18 @@ bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 bindsym $mod+10 workspace $ws10 +# switch to workspace with numpad keys +bindcode $mod+87 workspace 1 +bindcode $mod+88 workspace 2 +bindcode $mod+89 workspace 3 +bindcode $mod+83 workspace 4 +bindcode $mod+84 workspace 5 +bindcode $mod+85 workspace 6 +bindcode $mod+79 workspace 7 +bindcode $mod+80 workspace 8 +bindcode $mod+81 workspace 9 +bindcode $mod+90 workspace 10 + # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $ws1 bindsym $mod+Shift+2 move container to workspace $ws2 @@ -193,11 +205,11 @@ bindsym Print exec "scrot ~/%Y-%m-%d-%T-screenshot.png" # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. -set $ws1 "" -set $ws2 "" -set $ws3 "" -set $ws4 "" -set $ws5 "" +set $ws1 "1:" +set $ws2 "2:" +set $ws3 "3:" +set $ws4 "4:" +set $ws5 "5:" set $ws6 "6" set $ws7 "7" set $ws8 "8"