sway/config: Key binding to fix tiling containers

I *never* activate tiling containers on purpose, and I don't know
how to get out of them other than closing all my windows and ope-
ning them again. Some kind redditers helped me figure out how to
undo this.
This commit is contained in:
Alan Orth 2021-01-20 09:30:51 +02:00
parent 725e642647
commit b545f329af
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 4 additions and 0 deletions

View File

@ -236,6 +236,10 @@ input type:keyboard {
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Fix accidental tiling containers like T[Alacritty Alacritty gedit]
# See: https://www.reddit.com/r/swaywm/comments/kzr2xl/how_do_i_undo_talacritty_alacritty_alacritty/
bindsym $mod+ctrl+a [tiling workspace="__focused__"] move workspace "reorder"; [workspace="reorder"] move workspace current
# Make the current focus fullscreen
bindsym $mod+f fullscreen