Is there a way to kill/reset a whole workspace?
Is there a way to kill the current workspace(like in tmux)? Essentially killing all the containers inside a certain workspace.
Is that function native to i3 or would I have to use a script?
Is there a way to kill the current workspace(like in tmux)? Essentially killing all the containers inside a certain workspace.
Is that function native to i3 or would I have to use a script?
You can use focus parent
until all containers are selected (just press and hold the bound key(s) for a second or two) and then kill
.
As you can bind multiple commands to a key, you could also do this:
bindsym $mod+Control+Shift+k focus parent, focus parent, focus parent, focus parent, focus parent, focus parent, focus parent, focus parent, focus parent, focus parent, kill
Add more focus parent,
, if you are stacking more than ten levels deep.
Note: this may need version 4.7 to work, as previous versions threw error messages when trying to kill
workspace containers.
Asked: 2013-11-11 09:49:43 +0000
Seen: 1,491 times
Last updated: May 19 '14