Feat: toggle floatting to mod+y and mod+space to back to last workspace

This commit is contained in:
Bertrand Benjamin 2022-03-30 20:12:18 +02:00
parent 6188442dcb
commit 9e616bc68b

View File

@ -159,6 +159,9 @@ bindsym $mod+9 move container to workspace 9
bindsym $mod+Ctrl+greater move workspace to output right bindsym $mod+Ctrl+greater move workspace to output right
bindsym $mod+Ctrl+less move workspace to output left bindsym $mod+Ctrl+less move workspace to output left
# move to last workspace
bindsym $mod+space workspace back_and_forth
# #
# Layout stuff: # Layout stuff:
# #
@ -180,7 +183,7 @@ bindsym $mod+Ctrl+less move workspace to output left
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area # 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 # Move focus to the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent