sway: add resize presets, titlebar comment
This commit is contained in:
parent
47c9fe38fe
commit
6a19f7b604
1 changed files with 12 additions and 0 deletions
12
config
12
config
|
@ -180,6 +180,7 @@ bindsym $mod+f fullscreen
|
|||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
# Toggle border/titlebar
|
||||
bindsym $mod+Shift+b border toggle
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
|
@ -272,6 +273,17 @@ mode "move" {
|
|||
bindsym z exec $move_cmd bottom-left
|
||||
bindsym x exec $move_cmd bottom-center
|
||||
bindsym c exec $move_cmd bottom-right
|
||||
# resize presets
|
||||
bindsym 1 resize set width 700; resize set height 390
|
||||
bindsym 2 resize set width 800; resize set height 450
|
||||
bindsym 3 resize set width 900; resize set height 510
|
||||
bindsym 4 resize set width 1000; resize set height 560
|
||||
bindsym 5 resize set width 1100; resize set height 620
|
||||
bindsym 6 resize set width 1200; resize set height 680
|
||||
bindsym 7 resize set width 1300; resize set height 730
|
||||
bindsym 8 resize set width 1400; resize set height 790
|
||||
bindsym 9 resize set width 1500; resize set height 840
|
||||
bindsym 0 resize set width 1600; resize set height 900
|
||||
# focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
|
|
Loading…
Reference in a new issue