feat:add global shortcut pass

This commit is contained in:
DreamMaoMao 2025-03-14 12:54:44 +08:00
parent 16fa2cad95
commit b1b5a6d57a
5 changed files with 114 additions and 8 deletions

View file

@ -103,6 +103,7 @@ tags=id:9,layout_name:tile
# height : type-num(0-9999)
# isterm : type-num (0 or 1) -- when new window open, will replace it, and will restore after the sub window exit
# nnoswallow : type-num(0 or 1) -- if enable, this window wll not replace isterm window when it was open by isterm window
# globalkeybinding: type-string(for example-- alt-l or alt+super-l)
# example
# windowrule=isfloating:1,appid:yesplaymusic
@ -113,6 +114,9 @@ tags=id:9,layout_name:tile
# windowrule=isfloating:1,appid:wofi
# windowrule=isnoborder:1,appid:wofi
# windowrule=animation_type_open:zoom,appid:wofi
# windowrule=globalkeybinding:ctrl+alt-o,appid:com.obsproject.Studio
# windowrule=globalkeybinding:ctrl+alt-n,appid:com.obsproject.Studio
# open in specific tag
# windowrule=tags:4,appid:Google-chrome
@ -122,6 +126,18 @@ tags=id:9,layout_name:tile
# windowrule=tags:6,appid:obs
# Monitor Rules
# name|mfact|nmaster|scale|layout|(rotate or reflect)|x|y
# rotate or reflect:
# 0:no transform
# 1:90 degrees counter-clockwise
# 2:180 degrees counter-clockwise
# 3:270 degrees counter-clockwise
# 4:180 degree flip around a vertical axis
# 5:flip and rotate 90 degrees counter-clockwise
# 6:flip and rotate 180 degrees counter-clockwise
# 7:flip and rotate 270 degrees counter-clockwise
# example
# monitorrule=eDP-1,0.55,1,tile,0,1,0,0
# monitorrule=HDMI-A-1,0.55,1,tile,0,1,1920,0