summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config15
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"