opt: A more simple default configuration

This commit is contained in:
DreamMaoMao
2025-05-13 20:26:54 +08:00
parent 59752c1ddc
commit f65e7e8441

View File

@@ -1,4 +1,4 @@
# More detail see https://github.com/DreamMaoMao/maomaowm/wiki/ # More option see https://github.com/DreamMaoMao/maomaowm/wiki/
# Animation Configuration(support type:zoom,slide) # Animation Configuration(support type:zoom,slide)
# tag_animation_direction: 0-horizontal,1-vertical # tag_animation_direction: 0-horizontal,1-vertical
@@ -32,9 +32,6 @@ new_is_master=1
default_mfact=0.55 default_mfact=0.55
default_nmaster=1 default_nmaster=1
smartgaps=0 smartgaps=0
# only work in spiral and dwindlw
default_smfact=0.5
# Overview Setting # Overview Setting
hotarea_size=10 hotarea_size=10
@@ -55,8 +52,6 @@ focus_cross_tag=1
enable_floating_snap=0 enable_floating_snap=0
snap_distance=30 snap_distance=30
cursor_size=24 cursor_size=24
# cursro_theme=Buuf
# circle_layout=spiral,scroller
# keyboard # keyboard
repeat_rate=25 repeat_rate=25
@@ -105,7 +100,7 @@ tags=id:8,layout_name:tile
tags=id:9,layout_name:tile tags=id:9,layout_name:tile
# Key Bindings # Key Bindings
# key name refer to `xev` command output, # key name refer to `xev` or `wev` command output,
# mod keys name: super,ctrl,alt,shift,none # mod keys name: super,ctrl,alt,shift,none
# reload config # reload config
@@ -148,23 +143,9 @@ bind=ALT,z,toggle_scratchpad
bind=ALT,e,set_proportion,1.0 bind=ALT,e,set_proportion,1.0
bind=ALT,x,switch_proportion_preset, bind=ALT,x,switch_proportion_preset,
# tile layout
bind=SUPER,e,incnmaster,1
bind=SUPER,t,incnmaster,-1
bind=ALT+CTRL,Left,setmfact,-0.01
bind=ALT+CTRL,Right,setmfact,+0.01
bind=ALT+CTRL,Up,setsmfact,-0.01
bind=ALT+CTRL,Down,setsmfact,+0.01
bind=ALT,s,zoom,
# switch layout # switch layout
bind=CTRL+SUPER,i,setlayout,tile
bind=CTRL+SUPER,l,setlayout,scroller
bind=SUPER,n,switch_layout bind=SUPER,n,switch_layout
# tag switch # tag switch
bind=SUPER,Left,viewtoleft, bind=SUPER,Left,viewtoleft,
bind=CTRL,Left,viewtoleft_have_client, bind=CTRL,Left,viewtoleft_have_client,
@@ -197,10 +178,10 @@ bind=Alt,8,tag,8
bind=Alt,9,tag,9 bind=Alt,9,tag,9
# monitor switch # monitor switch
bind=SUPER,bracketleft,focusmon,left bind=alt+shift,Left,focusmon,left
bind=SUPER,bracketright,focusmon,right bind=alt+shift,Right,focusmon,right
bind=SUPER+CTRL,bracketleft,tagmon,left bind=SUPER+Alt,Left,tagmon,left
bind=SUPER+CTRL,bracketright,tagmon,right bind=SUPER+Alt,Right,tagmon,right
# gaps # gaps
bind=ALT+SHIFT,X,incgaps,1 bind=ALT+SHIFT,X,incgaps,1
@@ -231,13 +212,3 @@ mousebind=NONE,btn_right,killclient,0
axisbind=SUPER,UP,viewtoleft_have_client axisbind=SUPER,UP,viewtoleft_have_client
axisbind=SUPER,DOWN,viewtoright_have_client axisbind=SUPER,DOWN,viewtoright_have_client
# Gesture bind
gesturebind=none,left,3,focusdir,left
gesturebind=none,right,3,focusdir,right
gesturebind=none,up,3,focusdir,up
gesturebind=none,down,3,focusdir,down
gesturebind=none,left,4,viewtoleft_have_client
gesturebind=none,right,4,viewtoright_have_client
gesturebind=none,up,4,toggleoverview
gesturebind=none,down,4,toggleoverview