feat: support resize tile window

This commit is contained in:
DreamMaoMao
2025-10-09 13:09:40 +08:00
parent aec8c29210
commit ca48f95997
13 changed files with 1060 additions and 677 deletions

View File

@@ -56,7 +56,7 @@ edge_scroller_pointer_focus=1
scroller_default_proportion_single=1.0
scroller_proportion_preset=0.5,0.8,1.0
# Master-Stack Layout Setting (tile,spiral,dwindle)
# Master-Stack Layout Setting
new_is_master=1
default_mfact=0.55
default_nmaster=1
@@ -123,8 +123,7 @@ globalcolor=0xb153a7ff
overlaycolor=0x14a57cff
# layout support:
# horizontal:tile,scroller,grid,monocle,spiral,dwindle,center_tile
# vertical:vertical_tile,vertical_scroller,vertical_grid,vertical_spiral,vertical_dwindle
# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
tagrule=id:1,layout_name:tile
tagrule=id:2,layout_name:tile
tagrule=id:3,layout_name:tile
@@ -224,17 +223,6 @@ bind=ALT+SHIFT,X,incgaps,1
bind=ALT+SHIFT,Z,incgaps,-1
bind=ALT+SHIFT,R,togglegaps
# adjust tile window size
# change master fact for tile,spiral,deck,dwindle
bind=ALT+SUPER,h,setmfact,-0.05
bind=ALT+SUPER,l,setmfact,+0.05
# change sub master fact for dwindle,spiral
bind=ALT+SUPER,k,setsmfact,-0.05
bind=ALT+SUPER,j,setsmfact,+0.05
# change scroller proportion
bind=ctrl+super,j,increase_proportion,0.1
bind=ctrl+super,k,increase_proportion,-0.1
# movewin
bind=CTRL+SHIFT,Up,movewin,+0,-50
bind=CTRL+SHIFT,Down,movewin,+0,+50