2025-07-30 14:54:59 +08:00
|
|
|
# More option see https://github.com/DreamMaoMao/mango/wiki/
|
2025-05-06 20:41:45 +08:00
|
|
|
|
2025-06-24 15:08:10 +08:00
|
|
|
# Window effect
|
|
|
|
|
blur=0
|
|
|
|
|
blur_layer=0
|
2025-06-25 10:57:30 +08:00
|
|
|
blur_optimized=1
|
2025-06-24 15:08:10 +08:00
|
|
|
blur_params_num_passes = 2
|
|
|
|
|
blur_params_radius = 5
|
|
|
|
|
blur_params_noise = 0.02
|
|
|
|
|
blur_params_brightness = 0.9
|
|
|
|
|
blur_params_contrast = 0.9
|
|
|
|
|
blur_params_saturation = 1.2
|
|
|
|
|
|
|
|
|
|
shadows = 0
|
2025-07-04 09:38:02 +08:00
|
|
|
layer_shadows = 0
|
2025-07-05 15:24:12 +08:00
|
|
|
shadow_only_floating = 1
|
2025-06-24 15:08:10 +08:00
|
|
|
shadows_size = 10
|
|
|
|
|
shadows_blur = 15
|
|
|
|
|
shadows_position_x = 0
|
|
|
|
|
shadows_position_y = 0
|
|
|
|
|
shadowscolor= 0x000000ff
|
|
|
|
|
|
|
|
|
|
border_radius=6
|
|
|
|
|
no_radius_when_single=0
|
|
|
|
|
focused_opacity=1.0
|
|
|
|
|
unfocused_opacity=1.0
|
|
|
|
|
|
2025-03-30 16:04:12 +08:00
|
|
|
# Animation Configuration(support type:zoom,slide)
|
2025-04-26 22:28:01 +08:00
|
|
|
# tag_animation_direction: 0-horizontal,1-vertical
|
2025-02-16 23:09:46 +08:00
|
|
|
animations=1
|
2025-06-30 11:45:54 +08:00
|
|
|
layer_animations=0
|
2025-03-30 16:04:12 +08:00
|
|
|
animation_type_open=slide
|
2025-03-11 14:12:11 +08:00
|
|
|
animation_type_close=slide
|
2025-02-16 23:09:46 +08:00
|
|
|
animation_fade_in=1
|
2025-06-07 09:17:42 +08:00
|
|
|
animation_fade_out=1
|
2025-04-26 22:28:01 +08:00
|
|
|
tag_animation_direction=1
|
2025-07-12 14:54:37 +08:00
|
|
|
zoom_initial_ratio=0.3
|
|
|
|
|
zoom_end_ratio=0.8
|
2025-02-23 18:13:46 +08:00
|
|
|
fadein_begin_opacity=0.5
|
2025-02-25 13:23:57 +08:00
|
|
|
fadeout_begin_opacity=0.8
|
2025-02-16 23:09:46 +08:00
|
|
|
animation_duration_move=500
|
|
|
|
|
animation_duration_open=400
|
|
|
|
|
animation_duration_tag=350
|
2025-03-02 21:06:35 +08:00
|
|
|
animation_duration_close=800
|
2025-02-28 17:49:09 +08:00
|
|
|
animation_curve_open=0.46,1.0,0.29,1
|
|
|
|
|
animation_curve_move=0.46,1.0,0.29,1
|
|
|
|
|
animation_curve_tag=0.46,1.0,0.29,1
|
2025-03-02 21:06:35 +08:00
|
|
|
animation_curve_close=0.08,0.92,0,1
|
2025-02-16 23:09:46 +08:00
|
|
|
|
|
|
|
|
# Scroller Layout Setting
|
|
|
|
|
scroller_structs=20
|
|
|
|
|
scroller_default_proportion=0.8
|
2025-03-31 14:49:23 +08:00
|
|
|
scroller_focus_center=0
|
|
|
|
|
scroller_prefer_center=0
|
2025-04-06 22:05:46 +08:00
|
|
|
scroller_default_proportion_single=1.0
|
2025-02-16 23:09:46 +08:00
|
|
|
scroller_proportion_preset=0.5,0.8,1.0
|
|
|
|
|
|
2025-03-02 13:37:59 +08:00
|
|
|
# Master-Stack Layout Setting (tile,spiral,dwindle)
|
2025-02-16 23:09:46 +08:00
|
|
|
new_is_master=1
|
|
|
|
|
default_mfact=0.55
|
|
|
|
|
default_nmaster=1
|
2025-02-20 12:27:49 +08:00
|
|
|
smartgaps=0
|
2025-02-16 23:09:46 +08:00
|
|
|
|
|
|
|
|
# Overview Setting
|
|
|
|
|
hotarea_size=10
|
|
|
|
|
enable_hotarea=1
|
|
|
|
|
ov_tab_mode=0
|
|
|
|
|
overviewgappi=5
|
|
|
|
|
overviewgappo=30
|
|
|
|
|
|
|
|
|
|
# Misc
|
2025-05-12 16:28:41 +08:00
|
|
|
no_border_when_single=0
|
2025-02-16 23:09:46 +08:00
|
|
|
axis_bind_apply_timeout=100
|
|
|
|
|
focus_on_activate=1
|
2025-07-03 09:10:16 +08:00
|
|
|
inhibit_regardless_of_visibility=0
|
2025-02-16 23:09:46 +08:00
|
|
|
sloppyfocus=1
|
|
|
|
|
warpcursor=1
|
2025-04-07 13:17:40 +08:00
|
|
|
focus_cross_monitor=0
|
2025-07-06 09:35:57 +08:00
|
|
|
focus_cross_tag=0
|
2025-05-04 09:16:54 +08:00
|
|
|
enable_floating_snap=0
|
|
|
|
|
snap_distance=30
|
2025-05-05 17:45:25 +08:00
|
|
|
cursor_size=24
|
2025-05-14 19:38:34 +08:00
|
|
|
drag_tile_to_tile=1
|
2025-02-16 23:09:46 +08:00
|
|
|
|
2025-02-20 12:41:22 +08:00
|
|
|
# keyboard
|
|
|
|
|
repeat_rate=25
|
|
|
|
|
repeat_delay=600
|
|
|
|
|
numlockon=1
|
2025-06-11 10:20:44 +08:00
|
|
|
xkb_rules_layout=us
|
2025-07-06 09:35:57 +08:00
|
|
|
|
2025-02-20 12:41:22 +08:00
|
|
|
# Trackpad
|
2025-04-01 13:54:04 +08:00
|
|
|
# need relogin to make it apply
|
2025-07-09 18:21:17 +08:00
|
|
|
disable_trackpad=0
|
2025-02-20 12:41:22 +08:00
|
|
|
tap_to_click=1
|
|
|
|
|
tap_and_drag=1
|
|
|
|
|
drag_lock=1
|
2025-04-01 13:54:04 +08:00
|
|
|
trackpad_natural_scrolling=0
|
2025-02-20 12:41:22 +08:00
|
|
|
disable_while_typing=1
|
|
|
|
|
left_handed=0
|
|
|
|
|
middle_button_emulation=0
|
2025-08-15 12:05:06 +08:00
|
|
|
swipe_min_threshold=1
|
2025-02-20 12:41:22 +08:00
|
|
|
|
2025-04-01 13:54:04 +08:00
|
|
|
# mouse
|
|
|
|
|
# need relogin to make it apply
|
|
|
|
|
mouse_natural_scrolling=0
|
|
|
|
|
|
2025-02-16 23:09:46 +08:00
|
|
|
# Appearance
|
|
|
|
|
gappih=5
|
|
|
|
|
gappiv=5
|
|
|
|
|
gappoh=10
|
|
|
|
|
gappov=10
|
2025-07-04 12:29:49 +08:00
|
|
|
scratchpad_width_ratio=0.8
|
|
|
|
|
scratchpad_height_ratio=0.9
|
2025-02-16 23:09:46 +08:00
|
|
|
borderpx=4
|
2025-04-18 10:24:02 +08:00
|
|
|
rootcolor=0x201b14ff
|
2025-02-16 23:09:46 +08:00
|
|
|
bordercolor=0x444444ff
|
2025-05-12 22:41:09 +08:00
|
|
|
focuscolor=0xc9b890ff
|
2025-02-16 23:09:46 +08:00
|
|
|
maxmizescreencolor=0x89aa61ff
|
|
|
|
|
urgentcolor=0xad401fff
|
|
|
|
|
scratchpadcolor=0x516c93ff
|
|
|
|
|
globalcolor=0xb153a7ff
|
2025-05-03 09:51:24 +08:00
|
|
|
overlaycolor=0x14a57cff
|
2025-02-16 23:09:46 +08:00
|
|
|
|
2025-02-17 11:22:11 +08:00
|
|
|
# layout support: tile,scroller,grid,monocle,spiral,dwindle
|
2025-05-31 13:45:16 +08:00
|
|
|
tagrule=id:1,layout_name:tile
|
|
|
|
|
tagrule=id:2,layout_name:tile
|
|
|
|
|
tagrule=id:3,layout_name:tile
|
|
|
|
|
tagrule=id:4,layout_name:tile
|
|
|
|
|
tagrule=id:5,layout_name:tile
|
|
|
|
|
tagrule=id:6,layout_name:tile
|
|
|
|
|
tagrule=id:7,layout_name:tile
|
|
|
|
|
tagrule=id:8,layout_name:tile
|
|
|
|
|
tagrule=id:9,layout_name:tile
|
2025-02-17 10:24:29 +08:00
|
|
|
|
2025-02-16 23:09:46 +08:00
|
|
|
# Key Bindings
|
2025-05-13 20:26:54 +08:00
|
|
|
# key name refer to `xev` or `wev` command output,
|
2025-04-16 08:37:08 +08:00
|
|
|
# mod keys name: super,ctrl,alt,shift,none
|
|
|
|
|
|
2025-02-16 23:09:46 +08:00
|
|
|
# reload config
|
|
|
|
|
bind=SUPER,r,reload_config
|
|
|
|
|
|
|
|
|
|
# menu and terminal
|
2025-02-18 12:24:32 +08:00
|
|
|
bind=Alt,space,spawn,rofi -show drun
|
2025-02-16 23:09:46 +08:00
|
|
|
bind=Alt,Return,spawn,foot
|
|
|
|
|
|
|
|
|
|
# exit
|
|
|
|
|
bind=SUPER,m,quit
|
|
|
|
|
bind=ALT,q,killclient,
|
|
|
|
|
|
|
|
|
|
# switch window focus
|
|
|
|
|
bind=SUPER,Tab,focusstack,next
|
|
|
|
|
bind=ALT,Left,focusdir,left
|
|
|
|
|
bind=ALT,Right,focusdir,right
|
|
|
|
|
bind=ALT,Up,focusdir,up
|
|
|
|
|
bind=ALT,Down,focusdir,down
|
|
|
|
|
|
|
|
|
|
# swap window
|
|
|
|
|
bind=SUPER+SHIFT,Up,exchange_client,up
|
|
|
|
|
bind=SUPER+SHIFT,Down,exchange_client,down
|
|
|
|
|
bind=SUPER+SHIFT,Left,exchange_client,left
|
|
|
|
|
bind=SUPER+SHIFT,Right,exchange_client,right
|
|
|
|
|
|
|
|
|
|
# switch window status
|
|
|
|
|
bind=SUPER,g,toggleglobal,
|
|
|
|
|
bind=ALT,Tab,toggleoverview,
|
|
|
|
|
bind=ALT,backslash,togglefloating,
|
|
|
|
|
bind=ALT,a,togglemaxmizescreen,
|
|
|
|
|
bind=ALT,f,togglefullscreen,
|
2025-05-02 22:09:07 +08:00
|
|
|
bind=ALT+SHIFT,f,togglefakefullscreen,
|
2025-02-16 23:09:46 +08:00
|
|
|
bind=SUPER,i,minized,
|
2025-05-03 09:51:24 +08:00
|
|
|
bind=SUPER,o,toggleoverlay,
|
2025-02-16 23:09:46 +08:00
|
|
|
bind=SUPER+SHIFT,I,restore_minized
|
|
|
|
|
bind=ALT,z,toggle_scratchpad
|
|
|
|
|
|
|
|
|
|
# scroller layout
|
|
|
|
|
bind=ALT,e,set_proportion,1.0
|
|
|
|
|
bind=ALT,x,switch_proportion_preset,
|
|
|
|
|
|
|
|
|
|
# switch layout
|
|
|
|
|
bind=SUPER,n,switch_layout
|
|
|
|
|
|
|
|
|
|
# tag switch
|
|
|
|
|
bind=SUPER,Left,viewtoleft,
|
|
|
|
|
bind=CTRL,Left,viewtoleft_have_client,
|
|
|
|
|
bind=SUPER,Right,viewtoright,
|
|
|
|
|
bind=CTRL,Right,viewtoright_have_client,
|
|
|
|
|
bind=CTRL+SUPER,Left,tagtoleft,
|
|
|
|
|
bind=CTRL+SUPER,Right,tagtoright,
|
|
|
|
|
|
2025-04-22 09:16:14 +08:00
|
|
|
bind=Ctrl,1,view,1
|
|
|
|
|
bind=Ctrl,2,view,2
|
|
|
|
|
bind=Ctrl,3,view,3
|
|
|
|
|
bind=Ctrl,4,view,4
|
|
|
|
|
bind=Ctrl,5,view,5
|
|
|
|
|
bind=Ctrl,6,view,6
|
|
|
|
|
bind=Ctrl,7,view,7
|
|
|
|
|
bind=Ctrl,8,view,8
|
|
|
|
|
bind=Ctrl,9,view,9
|
2025-02-16 23:09:46 +08:00
|
|
|
|
2025-04-03 09:43:20 +08:00
|
|
|
# tag: move client to the tag and focus it
|
|
|
|
|
# tagsilent: move client to the tag and not focus it
|
2025-04-22 09:16:14 +08:00
|
|
|
# bind=Alt,1,tagsilent,1
|
|
|
|
|
bind=Alt,1,tag,1
|
|
|
|
|
bind=Alt,2,tag,2
|
|
|
|
|
bind=Alt,3,tag,3
|
|
|
|
|
bind=Alt,4,tag,4
|
|
|
|
|
bind=Alt,5,tag,5
|
|
|
|
|
bind=Alt,6,tag,6
|
|
|
|
|
bind=Alt,7,tag,7
|
|
|
|
|
bind=Alt,8,tag,8
|
|
|
|
|
bind=Alt,9,tag,9
|
|
|
|
|
|
2025-02-16 23:09:46 +08:00
|
|
|
# monitor switch
|
2025-05-13 20:26:54 +08:00
|
|
|
bind=alt+shift,Left,focusmon,left
|
|
|
|
|
bind=alt+shift,Right,focusmon,right
|
|
|
|
|
bind=SUPER+Alt,Left,tagmon,left
|
|
|
|
|
bind=SUPER+Alt,Right,tagmon,right
|
2025-02-16 23:09:46 +08:00
|
|
|
|
|
|
|
|
# gaps
|
|
|
|
|
bind=ALT+SHIFT,X,incgaps,1
|
|
|
|
|
bind=ALT+SHIFT,Z,incgaps,-1
|
|
|
|
|
bind=ALT+SHIFT,R,togglegaps
|
|
|
|
|
|
2025-05-03 15:18:33 +08:00
|
|
|
# movewin
|
2025-05-06 20:41:45 +08:00
|
|
|
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
|
2025-05-03 15:18:33 +08:00
|
|
|
|
|
|
|
|
# resizewin
|
2025-05-06 20:41:45 +08:00
|
|
|
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
|
2025-02-16 23:09:46 +08:00
|
|
|
|
|
|
|
|
# Mouse Button Bindings
|
|
|
|
|
# NONE mode key only work in ov mode
|
|
|
|
|
mousebind=SUPER,btn_left,moveresize,curmove
|
|
|
|
|
mousebind=NONE,btn_middle,togglemaxmizescreen,0
|
|
|
|
|
mousebind=SUPER,btn_right,moveresize,curresize
|
|
|
|
|
mousebind=NONE,btn_left,toggleoverview,-1
|
|
|
|
|
mousebind=NONE,btn_right,killclient,0
|
|
|
|
|
|
|
|
|
|
# Axis Bindings
|
|
|
|
|
axisbind=SUPER,UP,viewtoleft_have_client
|
2025-02-18 12:24:32 +08:00
|
|
|
axisbind=SUPER,DOWN,viewtoright_have_client
|
2025-04-01 11:00:58 +08:00
|
|
|
|