New backup 2025-03-14 20:15:06
This commit is contained in:
parent
961f66403a
commit
cc83f55bcb
2 changed files with 19 additions and 29 deletions
|
@ -28,6 +28,25 @@ bindsym {
|
|||
$mod+Shift+space floating toggle
|
||||
#swap between tiles and floats
|
||||
$mod+space focus mode_toggle
|
||||
#enter resize mode
|
||||
bindsym $mod+r mode "resize"
|
||||
}
|
||||
|
||||
mode "resize" {
|
||||
bindsym {
|
||||
#right: grow width
|
||||
Right resize grow width 10px
|
||||
# left: shrink width
|
||||
Left resize shrink width 10px
|
||||
# up: grow height
|
||||
Up resize grow height 10px
|
||||
# down: shrink height
|
||||
Down resize shrink height 10px
|
||||
# Return to default mode
|
||||
Return mode "default"
|
||||
Escape mode "default"
|
||||
$mod+r mode "default"
|
||||
}
|
||||
}
|
||||
|
||||
#move floating window
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
|
||||
#
|
||||
# Resize Mode
|
||||
#
|
||||
|
||||
#Enter Resize Mode
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
#Define Mode Rules
|
||||
|
||||
mode "resize" {
|
||||
#Right: Grow Width
|
||||
bindsym Right resize grow width 10px
|
||||
|
||||
# Left: Shrink Width
|
||||
bindsym Left resize shrink width 10px
|
||||
|
||||
# Up: Grow Height
|
||||
bindsym Up resize grow height 10px
|
||||
|
||||
# Down: Shrink Height
|
||||
bindsym Down resize shrink height 10px
|
||||
|
||||
# Return to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue