From 9e616bc68b2f5bfa2a282ae4372a1428fb252b6e Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 30 Mar 2022 20:12:18 +0200 Subject: [PATCH] Feat: toggle floatting to mod+y and mod+space to back to last workspace --- sway/.config/sway/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 3a8671d..54c0ef9 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -159,6 +159,9 @@ bindsym $mod+9 move container to workspace 9 bindsym $mod+Ctrl+greater move workspace to output right bindsym $mod+Ctrl+less move workspace to output left + +# move to last workspace +bindsym $mod+space workspace back_and_forth # # Layout stuff: # @@ -180,7 +183,7 @@ bindsym $mod+Ctrl+less move workspace to output left bindsym $mod+Shift+space floating toggle # Swap focus between the tiling area and the floating area - bindsym $mod+space focus mode_toggle + bindsym $mod+y focus mode_toggle # Move focus to the parent container bindsym $mod+a focus parent