screens: Add screen 0

This commit is contained in:
finga 2024-01-03 10:42:17 +01:00
parent c4a7b9bc40
commit ddbc36926d

View file

@ -102,6 +102,7 @@ bindsym $mod+q focus child
# Define names for default workspaces for which we configure key bindings later on. # Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places. # We use variables to avoid repeating the names in multiple places.
set $ws0 "0"
set $ws1 "1" set $ws1 "1"
set $ws2 "2" set $ws2 "2"
set $ws3 "3" set $ws3 "3"
@ -116,6 +117,7 @@ set $ws11 "11"
set $ws12 "12" set $ws12 "12"
# switch to workspace # switch to workspace
bindsym $mod+grave workspace $ws0
bindsym $mod+1 workspace $ws1 bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2 bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3 bindsym $mod+3 workspace $ws3
@ -130,6 +132,7 @@ bindsym $mod+minus workspace $ws11
bindsym $mod+equal workspace $ws12 bindsym $mod+equal workspace $ws12
# move focused container to workspace # move focused container to workspace
bindsym $mod+Shift+grave move container to workspace $ws0
bindsym $mod+Shift+1 move container to workspace $ws1 bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2 bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3 bindsym $mod+Shift+3 move container to workspace $ws3
@ -271,13 +274,14 @@ bar {
} }
} }
workspace $ws0 output $screen1
workspace $ws1 output $screen1 workspace $ws1 output $screen1
workspace $ws2 output $screen1 workspace $ws2 output $screen1
workspace $ws3 output $screen1 workspace $ws3 output $screen1
workspace $ws4 output $screen1 workspace $ws4 output $screen1
workspace $ws5 output $screen1 workspace $ws5 output $screen1
workspace $ws6 output $screen1
workspace $ws6 output $screen2
workspace $ws7 output $screen2 workspace $ws7 output $screen2
workspace $ws8 output $screen2 workspace $ws8 output $screen2
workspace $ws9 output $screen2 workspace $ws9 output $screen2