diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-08 08:10:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-08 08:10:32 -0700 |
commit | 2f9b558d35ebce5bd74a6d36228e8007064c9be1 (patch) | |
tree | d7aad06e6426bedbf11842f3d9692cab914d3bed | |
parent | 59bb6f36d90634f8874c37946675e9765260f8c3 (diff) | |
download | dotfiles-2f9b558d35ebce5bd74a6d36228e8007064c9be1.tar.gz |
toggle focus_wrapping in C-i o for Sway & update comment
I believe it wasn't possible to toggle like this under i3, hence the global
setting, but it does seem to be possible under Sway. Not yet tested with
multiple outputs, however.
-rw-r--r-- | .config/sway/config | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/.config/sway/config b/.config/sway/config index 464b17d8..9a49a7c9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -17,12 +17,6 @@ floating_modifier Mod4 # default workspace layout workspace_layout tabbed -# this is so that C-i o will stay within the same output; I have convenient -# bindings to get to other outputs so no need for directional movement to -# permit moving between outputs (it would be even better if we could just -# toggle this setting around the execution of C-i o, however) -focus_wrapping workspace - mouse_warping output # Key binding strategy: @@ -119,10 +113,11 @@ mode "C-i-" { # focus the child container bindsym d focus child, mode "default" - # when screen is divided into two containers where at least one has - # several tabs, as I usually have it on a small laptop screen, this - # works well to go back and forth - bindsym o focus parent, focus right, mode "default" + # when screen is divided into two containers where at least one might + # have several tabs, as I usually have it, this works well to go back + # and forth + bindsym o focus_wrapping workspace, focus parent, focus right, \ + focus_wrapping yes, mode "default" # switch to workspace bindsym 1 workspace 1, mode "default" |