Since this is a regex it had the unexpected behavior of also moving workspaces 10-19 to the current output. Added anchors to correct this

Neil McKenzie 2023-11-25 11:17:46 +11:00
parent 015c9f63e5
commit 2181d2def4

@ -493,7 +493,7 @@ bindsym $mod+t mode $mode_switch_window
If you want your workspace to be moved to the current output when you switch to it using `$mod+<number>` instead of you being refocused to a different output where the workspace is currently bound, replace your `bindsym $mod+<number>` lines in your configuration with this (for each `<number>` of course): If you want your workspace to be moved to the current output when you switch to it using `$mod+<number>` instead of you being refocused to a different output where the workspace is currently bound, replace your `bindsym $mod+<number>` lines in your configuration with this (for each `<number>` of course):
``` ```
bindsym $mod+1 [workspace="1"] move workspace to output current; workspace number 1 bindsym $mod+1 [workspace="^1$"] move workspace to output current; workspace number 1
``` ```
### Move all workspace windows ### Move all workspace windows