Change workspace by moving window
Hey,
in my config, i have this code to switch to another workspace:
switch to workspace
bindsym $mod+1 workspace 1:main
bindsym $mod+2 workspace 2:surf
bindsym $mod+3 workspace 3:study
bindsym $mod+4 workspace 4:prog
...
and this code for moving a window to a workspace:
move focused container to workspace
bindsym $mod+Shift+exclam move workspace 1:main
bindsym $mod+Shift+quotedbl move workspace 2:surf
bindsym $mod+Shift+section move workspace 3:study ...
My Quesiont is: How can i do it, that if i move a window to another workspace, i also switch to this workspace? Thank you guys.