feat:add windowrule option isopensilent and tagsilent dispatch

This commit is contained in:
DreamMaoMao
2025-04-03 09:43:20 +08:00
parent 47c1a7e328
commit 8bfbd0c546
4 changed files with 42 additions and 13 deletions

View File

@@ -105,12 +105,13 @@ tags=id:9,layout_name:tile
# animation_type_open : type-string(zoom,slide,none)
# animation_type_close : type-string(zoom,slide)
# isnoborder : type-num(0 or 1)
# monitor : type-int(0-99999)
# monitor : type-num(0-99999)
# width : type-num(0-9999)
# 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)
# isopensilent: type-num(0 or 1) -- open but not focus it
# example
# windowrule=isfloating:1,appid:yesplaymusic
@@ -231,6 +232,10 @@ bind=Ctrl,KP_7,view,7
bind=Ctrl,KP_8,view,8
bind=Ctrl,KP_9,view,9
# tag: move client to the tag and focus it
# tagsilent: move client to the tag and not focus it
# bind=Alt,KP_1,tagsilent,1
bind=Alt,KP_1,tag,1
bind=Alt,KP_2,tag,2
bind=Alt,KP_3,tag,3