aboutsummaryrefslogtreecommitdiff
path: root/.config/mango/config.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/mango/config.conf')
-rw-r--r--.config/mango/config.conf101
1 files changed, 62 insertions, 39 deletions
diff --git a/.config/mango/config.conf b/.config/mango/config.conf
index 81db150..f00f629 100644
--- a/.config/mango/config.conf
+++ b/.config/mango/config.conf
@@ -1,9 +1,34 @@
-# More option see https://github.com/DreamMaoMao/maomaowm/wiki/
+# More option see https://github.com/DreamMaoMao/mango/wiki/
exec=~/.config/mango/autostart.sh
+# Window effect
+blur=1
+blur_layer=1
+blur_optimized=0
+blur_params_num_passes = 1
+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 = 1
+layer_shadows = 1
+shadow_only_floating = 0
+shadows_size = 8
+shadows_blur = 10
+shadows_position_x = 0
+shadows_position_y = 0
+shadowscolor= 0x000000ff
+
+border_radius=0
+no_radius_when_single=0
+focused_opacity=1.0
+unfocused_opacity=1.0
+
# Animation Configuration(support type:zoom,slide)
-# tag_animation_direction: 0-horizontal,1-vertical
+# tag_animation_direction: 1-horizontal,0-vertical
animations=1
layer_animations=1
animation_type_open=slide
@@ -14,35 +39,51 @@ animation_fade_in=1
animation_fade_out=1
tag_animation_direction=1
zoom_initial_ratio=0.5
+zoom_end_ratio=0.8
fadein_begin_opacity=0.5
fadeout_begin_opacity=0.8
animation_duration_move=500
animation_duration_open=400
animation_duration_tag=350
animation_duration_close=300
+animation_duration_focus=0
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
animation_curve_close=0.08,0.92,0,1
+animation_curve_focus=0.46,1.0,0.29,1
+animation_curve_opafadeout=0.5,0.5,0.5,0.5
+animation_curve_opafadein=0.46,1.0,0.29,1
# Scroller Layout Setting
scroller_structs=20
scroller_default_proportion=0.8
scroller_focus_center=0
scroller_prefer_center=0
+edge_scroller_pointer_focus=1
+edge_scroller_focus_allow_speed=0.0
scroller_default_proportion_single=1.0
scroller_proportion_preset=0.5,0.8,1.0
-# Master-Stack Layout Setting (tile,spiral,dwindle)
+# Master-Stack Layout Setting
new_is_master=0
default_mfact=0.50
default_nmaster=1
smartgaps=0
+# Dwindle Layout Setting
+dwindle_smart_split=0
+dwindle_drop_simple_split=1
+dwindle_manual_split=0
+dwindle_hsplit=1
+dwindle_vsplit=1
+dwindle_preserve_split=0
+
# Overview Setting
hotarea_size=10
enable_hotarea=0
ov_tab_mode=0
+ov_no_resize=0
overviewgappi=10
overviewgappo=10
@@ -50,6 +91,7 @@ overviewgappo=10
no_border_when_single=0
axis_bind_apply_timeout=100
focus_on_activate=1
+idleinhibit_ignore_visible=0
sloppyfocus=1
warpcursor=1
focus_cross_monitor=0
@@ -60,6 +102,7 @@ cursor_size=24
cursor_theme=Adwaita
cursor_hide_timeout=4
drag_tile_to_tile=1
+drag_tile_small=1
# keyboard
repeat_rate=25
@@ -68,8 +111,9 @@ numlockon=0
xkb_rules_layout=us,gb
xkb_rules_options=grp:ctrl_space_toggle
-# Trackpad
+# Trackpad
# need relogin to make it apply
+disable_trackpad=0
tap_to_click=1
tap_and_drag=1
drag_lock=1
@@ -88,9 +132,13 @@ gappih=10
gappiv=10
gappoh=10
gappov=10
+scratchpad_width_ratio=0.8
+scratchpad_height_ratio=0.9
borderpx=2
rootcolor=0x201b14ff
bordercolor=0x666666ff
+dropcolor=0x8FBA7C55
+splitcolor=0xEB441EFF
focuscolor=0x33ffccff
maximizescreencolor=0x33ffccff
urgentcolor=0xad401fff
@@ -98,36 +146,6 @@ scratchpadcolor=0x516c93ff
globalcolor=0xb153a7ff
overlaycolor=0x14a57cff
-# Blur settings
-blur=1
-blur_layer=1
-blur_optimized = 0
-blur_params_num_passes = 1
-blur_params_radius = 5
-blur_params_noise = 0.02
-blur_params_brightness = 0.9
-blur_params_contrast = 0.9
-blur_params_saturation = 1.2
-
-# Shadow settings
-shadows = 1
-layer_shadows = 1
-shadow_only_floating = 0
-shadows_size = 8
-shadows_blur = 10
-shadows_position_x = 0
-shadows_position_y = 0
-shadowscolor= 0x000000ff
-
-# Window appearance
-border_radius=0
-no_radius_when_single=0
-focused_opacity=1.0
-unfocused_opacity=1.0
-
-# No animations or blur for slurp select layer
-layerrule=noanim:1,noblur:1,layer_name:selection
-
# layout support: tile,scroller,grid,monocle,spiral,dwindle
tagrule=id:1,layout_name:tile
tagrule=id:2,layout_name:tile
@@ -265,13 +283,18 @@ bind=CTRL+ALT,j,resizewin,+0,+50
bind=CTRL+ALT,h,resizewin,-50,+0
bind=CTRL+ALT,l,resizewin,+50,+0
+# Mouse Button Bindings
+# btn_left and btn_right can't bind none mod key
+mousebind=SUPER,btn_left,moveresize,curmove
+mousebind=NONE,btn_middle,togglemaximizescreen,0
+mousebind=SUPER,btn_right,moveresize,curresize
+
# Axis Bindings
-axisbind=SUPER,k,viewtoleft_have_client
-axisbind=SUPER,j,viewtoright_have_client
+axisbind=SUPER,UP,viewtoleft_have_client
+axisbind=SUPER,DOWN,viewtoright_have_client
-# Monitor Rules - Not used as I'm using kanshi
-#monitorrule=eDP-1,0.50,1,tile,0,1,0,1,1920,0,60
-#monitorrule=HDMI-A-1,0.50,1,tile,0,1,0,1,0,0,60
+# layer rule
+layerrule=noanim:1,noblur:1,layer_name:selection
# Window Rules
windowrule=isfloating:1,width:640,height:360,offsetx:95,offsety:90,appid:mpv