Kill all the windows in a given workspace [closed]
Is it possible to kill all the windows in a given workspace. Obviously the command below does not work.
bindsym XF86Favorites exec --no-startup-id i3-msg 'workspace 1; kill ???'
Is it possible to catch all the windows in a workspace and kill them without identifying each of them separately.
Thank you Marcin
There is no need to run `i3-msg` through `exec`. `i3-msg` takes exactly the arguments used with `bindsym`: Instead of `bindsym KEY exec i3-msg 'COMMAND1; COMMAND2'` just use `bindsym KEY COMMAND1; COMMAND2`.
OK. Thank you