diff --git a/config.conf b/config.conf index 883bdcd..269029e 100644 --- a/config.conf +++ b/config.conf @@ -1,3 +1,5 @@ +# More detail see https://github.com/DreamMaoMao/maomaowm/wiki/ + # Animation Configuration(support type:zoom,slide) # tag_animation_direction: 0-horizontal,1-vertical animations=1 @@ -53,6 +55,7 @@ enable_floating_snap=0 snap_distance=30 cursor_size=24 # cursro_theme=Buuf +# circle_layout=spiral,scroller # keyboard repeat_rate=25 @@ -89,10 +92,6 @@ scratchpadcolor=0x516c93ff globalcolor=0xb153a7ff overlaycolor=0x14a57cff -# layout circle limit -# if not set, it will circle all layout -# circle_layout=spiral,scroller - # tags rule (need relogin to apply) # layout support: tile,scroller,grid,monocle,spiral,dwindle tags=id:1,layout_name:tile @@ -105,73 +104,13 @@ tags=id:7,layout_name:tile tags=id:8,layout_name:tile tags=id:9,layout_name:tile -# Window Rules -# appid: type-string if match it or title, the rule match -# title: type-string if match it or appid, the rule match -# tags: type-num(1-9) -# isfloating: type-num(0 or 1) -# isfullscreen: type-num(0 or 1) -# scroller_proportion: type-float(0.1-1.0) -# animation_type_open : type-string(zoom,slide,none) -# animation_type_close : type-string(zoom,slide) -# isnoborder : type-num(0 or 1) -# monitor : type-num(0-99999) -# offsetx : type-num(-100-100) -- Offset relative to the center, 0 is center, -100 is left, 100 is right (unit %) -# offsety : type-num(-100-100) -- Offset relative to the center , 0 is center, -100 is top, 100 is bottom (unit %) -# 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 -# scratch_width : type-num(0-9999) -- width of window when it become scratchpad window -# scratch_height : type-num(0-9999) -- height of window when it become scratchpad window - -# example -# windowrule=isfloating:1,appid:yesplaymusic -# windowrule=width:1000,height:900,appid:yesplaymusic,title:Demons -# windowrule=isfloating:1,title:qxdrag -# windowrule=isfloating:1,appid:Rofi -# 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 -# windowrule=tags:3,appid:QQ -# windowrule=tags:5,appid:yesplaymusic -# windowrule=tags:2,appid:mpv -# 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 -# need relogin to make it apply -# monitorrule=eDP-1,0.55,1,tile,0,1,0,0 -# monitorrule=HDMI-A-1,0.55,1,tile,0,1,1920,0 - # Key Bindings # key name refer to `xev` command output, # mod keys name: super,ctrl,alt,shift,none - # reload config bind=SUPER,r,reload_config - # menu and terminal bind=Alt,space,spawn,rofi -show drun bind=Alt,Return,spawn,foot @@ -244,7 +183,6 @@ bind=Ctrl,7,view,7 bind=Ctrl,8,view,8 bind=Ctrl,9,view,9 - # tag: move client to the tag and focus it # tagsilent: move client to the tag and not focus it # bind=Alt,1,tagsilent,1 @@ -258,26 +196,6 @@ bind=Alt,7,tag,7 bind=Alt,8,tag,8 bind=Alt,9,tag,9 -bind=Super,1,toggletag,1 -bind=Super,2,toggletag,2 -bind=Super,3,toggletag,3 -bind=Super,4,toggletag,4 -bind=Super,5,toggletag,5 -bind=Super,6,toggletag,6 -bind=Super,7,toggletag,7 -bind=Super,8,toggletag,8 -bind=Super,9,toggletag,9 - -bind=Super+alt,1,toggleview,1 -bind=Super+alt,2,toggleview,2 -bind=Super+alt,3,toggleview,3 -bind=Super+alt,4,toggleview,4 -bind=Super+alt,5,toggleview,5 -bind=Super+alt,6,toggleview,6 -bind=Super+alt,7,toggleview,7 -bind=Super+alt,8,toggleview,8 -bind=Super+alt,9,toggleview,9 - # monitor switch bind=SUPER,bracketleft,focusmon,left bind=SUPER,bracketright,focusmon,right @@ -289,36 +207,17 @@ bind=ALT+SHIFT,X,incgaps,1 bind=ALT+SHIFT,Z,incgaps,-1 bind=ALT+SHIFT,R,togglegaps -# smartmovewin -bind=CTRL+SHIFT,Up,smartmovewin,up -bind=CTRL+SHIFT,Down,smartmovewin,down -bind=CTRL+SHIFT,Left,smartmovewin,left -bind=CTRL+SHIFT,Right,smartmovewin,right - # movewin -# bind=CTRL+SHIFT,Up,movewin,+0,-50 -# bind=CTRL+SHIFT,Down,movewin,+0,+50 -# bind=CTRL+SHIFT,Left,movewin,-50,+0 -# bind=CTRL+SHIFT,Right,movewin,+50,+0 - - -# smartresizewin -bind=CTRL+ALT,Up,smartresizewin,up -bind=CTRL+ALT,Down,smartresizewin,down -bind=CTRL+ALT,Left,smartresizewin,left -bind=CTRL+ALT,Right,smartresizewin,right +bind=CTRL+SHIFT,Up,movewin,+0,-50 +bind=CTRL+SHIFT,Down,movewin,+0,+50 +bind=CTRL+SHIFT,Left,movewin,-50,+0 +bind=CTRL+SHIFT,Right,movewin,+50,+0 # resizewin -# bind=CTRL+ALT,Up,resizewin,+0,-50 -# bind=CTRL+ALT,Down,resizewin,+0,+50 -# bind=CTRL+ALT,Left,resizewin,-50,+0 -# bind=CTRL+ALT,Right,resizewin,+50,+0 - -#custom app bind example -# spawn_on_empty (if tag 4 is empty , open app in this,otherwise view to tag 4) -# bind=SUPER,Return,spawn_on_empty,google-chrome,4 -# spawn -# bind=CTRL+ALT,Return,spawn,st -e ~/tool/ter-multiplexer.sh +bind=CTRL+ALT,Up,resizewin,+0,-50 +bind=CTRL+ALT,Down,resizewin,+0,+50 +bind=CTRL+ALT,Left,resizewin,-50,+0 +bind=CTRL+ALT,Right,resizewin,+50,+0 # Mouse Button Bindings # NONE mode key only work in ov mode