commit b93b2d19f2cff77a864244660f948f37ad6cec0b
parent 10bd3a75556c39ebf2883ead8e3fa9f69e271fe5
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date: Mon, 19 Oct 2026 18:40:52 -0400
mango: fix mango configs for syntax update
Diffstat:
3 files changed, 143 insertions(+), 113 deletions(-)
diff --git a/mango/autostart.conf b/mango/autostart.conf
@@ -1,9 +1,12 @@
-exec-once=pipewire
-exec-once=pipewire-pulse
-exec-once=wireplumber
-exec-once=awww-daemon
-exec-once=waybar
-exec-once=dunst
-exec-once=conky
-exec-once=syncthing --no-browser
-exec-once=gnome-keyring-daemon
+exec_once=pipewire
+exec_once=pipewire-pulse
+exec_once=wireplumber
+exec_once=wawa fill $XDG_CACHE_HOME/wallpaper
+exec_once=waybar
+exec_once=dunst
+exec_once=conky
+exec_once=com.github.zocker_160.SyncThingy
+exec_once=gnome-keyring-daemon -f
+exec_once=mpd-start.e
+exec_once=nwg-wrapper -s $XDG_CONFIG_HOME/nwg-wrapper/mpd.e
+exec_once="dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots"
diff --git a/mango/bindings.conf b/mango/bindings.conf
@@ -2,92 +2,109 @@
# key name refer to `xev` or `wev` command output,
# mod keys name: super,ctrl,alt,shift,none
+# scratchpad toggle
+bind=ALT,y,toggle_scratchpad
+bind=ALT+Shift,y,minimized
+
+#volume keys
+#bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%+
+#bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%-
+bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SINK@ toggle
+bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle
+
+bind=NONE,XF86AudioNext,spawn,mpc next
+bind=NONE,XF86AudioPrev,spawn,mpc prev
+bind=NONE,XF86AudioPlay,spawn,mpc toggle
+bind=NONE,XF86AudioRaiseVolume,spawn,mpc volume +5
+bind=NONE,XF86AudioLowerVolume,spawn,mpc volume -5
+
# reload config
-bind=SUPER,r,reload_config
+bind=ALT,r,reload_config
# menu and terminal
-bind=SUPER,P,spawn,fuzzel
-bind=SUPER+shift_l,Return,spawn,havoc
-bind=SUPER,K,spawn,kpmenu
-bind=SUPER,W,spawn,wallpaperscript.e
+bind=ALT,P,spawn,wofi
+bind=ALT,L,spawn,fuzzel
+bind=ALT+shift_l,Return,spawn,kitty
+bind=ALT,K,spawn,kpmenu
+bind=ALT,W,spawn,wallpaperscript.e
# exit
-bind=SUPER+shift_l,Q,quit
-bind=SUPER+shift_l,C,killclient,
+bind=ALT+shift_l,Q,quit
+bind=ALT+shift_l,C,killclient,
# switch window focus
-bind=SUPER,Tab,focusstack,next
+bind=ALT,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
+bind=ALT+SHIFT,Up,exchange_client,up
+bind=ALT+SHIFT,Down,exchange_client,down
+bind=ALT+SHIFT,Left,exchange_client,left
+bind=ALT+SHIFT,Right,exchange_client,right
# switch window status
-bind=SUPER,g,toggleglobal,
-bind=ALT,Tab,toggleoverview,
-bind=ALT,backslash,togglefloating,
-bind=ALT,a,togglemaximizescreen,
-bind=ALT,f,togglefullscreen,
-bind=ALT+SHIFT,f,togglefakefullscreen,
-bind=SUPER,i,minimized,
-bind=SUPER,o,toggleoverlay,
-bind=SUPER+SHIFT,I,restore_minimized
-bind=ALT,z,toggle_scratchpad
+bind=ALT,g,toggleglobal,
+bind=SUPER,Tab,toggleoverview,
+bind=SUPER,backslash,togglefloating,
+bind=SUPER,a,togglemaximizescreen,
+bind=SUPER,f,togglefullscreen,
+bind=SUPER+SHIFT,f,togglefakefullscreen,
+bind=ALT,i,minimized,
+bind=ALT,o,toggleoverlay,
+bind=ALT+SHIFT,I,restore_minimized
+bind=SUPER,z,toggle_scratchpad
# scroller layout
-bind=ALT,e,set_proportion,1.0
-bind=ALT,x,switch_proportion_preset,
+bind=SUPER,e,set_proportion,1.0
+bind=SUPER,x,switch_proportion_preset,
# switch layout
-bind=SUPER,n,switch_layout
+bind=ALT,n,switch_layout
# tag switch
-bind=SUPER,Left,viewtoleft,0
-bind=CTRL,Left,viewtoleft_have_client,0
-bind=SUPER,Right,viewtoright,0
-bind=CTRL,Right,viewtoright_have_client,0
-bind=CTRL+SUPER,Left,tagtoleft,0
-bind=CTRL+SUPER,Right,tagtoright,0
-
-bind=Super,1,view,1,0
-bind=Super,2,view,2,0
-bind=Super,3,view,3,0
-bind=Super,4,view,4,0
-bind=Super,5,view,5,0
-bind=Super,6,view,6,0
-bind=Super,7,view,7,0
-bind=Super,8,view,8,0
-bind=Super,9,view,9,0
+#bind=ALT,Left,viewtoleft,0
+#bind=CTRL,Left,viewtoleft_have_client,0
+#bind=ALT,Right,viewtoright,0
+#bind=CTRL,Right,viewtoright_have_client,0
+#bind=CTRL+ALT,Left,tagtoleft,0
+#bind=CTRL+ALT,Right,tagtoright,0
+
+bind=ALT,1,view,1,0
+bind=ALT,2,view,2,0
+bind=ALT,3,view,3,0
+bind=ALT,4,view,4,0
+bind=ALT,5,view,5,0
+bind=ALT,6,view,6,0
+bind=ALT,7,view,7,0
+bind=ALT,8,view,8,0
+bind=ALT,9,view,9,0
# tag: move client to the tag and focus it
# tagsilent: move client to the tag and not focus it
# bind=Alt,1,tagsilent,1
-bind=Super+shift_l,1,tag,1,0
-bind=Super+shift_l,2,tag,2,0
-bind=Super+shift_l,3,tag,3,0
-bind=Super+shift_l,4,tag,4,0
-bind=Super+shift_l,5,tag,5,0
-bind=Super+shift_l,6,tag,6,0
-bind=Super+shift_l,7,tag,7,0
-bind=Super+shift_l,8,tag,8,0
-bind=Super+shift_l,9,tag,9,0
+bind=ALT+shift_l,1,tag,1,0
+bind=ALT+shift_l,2,tag,2,0
+bind=ALT+shift_l,3,tag,3,0
+bind=ALT+shift_l,4,tag,4,0
+bind=ALT+shift_l,5,tag,5,0
+bind=ALT+shift_l,6,tag,6,0
+bind=ALT+shift_l,7,tag,7,0
+bind=ALT+shift_l,8,tag,8,0
+bind=ALT+shift_l,9,tag,9,0
# monitor switch
-bind=alt+shift,Left,focusmon,left
-bind=alt+shift,Right,focusmon,right
-bind=SUPER+Alt,Left,tagmon,left
-bind=SUPER+Alt,Right,tagmon,right
+#bind=alt+shift,Left,focusmon,left
+#bind=alt+shift,Right,focusmon,right
+#bind=ALT+Alt,Left,tagmon,left
+#bind=ALT+Alt,Right,tagmon,right
# gaps
-bind=ALT+SHIFT,X,incgaps,1
-bind=ALT+SHIFT,Z,incgaps,-1
-bind=ALT+SHIFT,R,togglegaps
+bind=SUPER+SHIFT,X,incgaps,1
+bind=SUPER+SHIFT,Z,incgaps,-1
+bind=SUPER+SHIFT,R,togglegaps
# movewin
bind=CTRL+SHIFT,Up,movewin,+0,-50
@@ -96,23 +113,23 @@ 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
+bind=CTRL+SUPER,Up,resizewin,+0,-50
+bind=CTRL+SUPER,Down,resizewin,+0,+50
+bind=CTRL+SUPER,Left,resizewin,-50,+0
+bind=CTRL+SUPER,Right,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
+mousebind=ALT,btn_left,moveresize,curmove
+#mousebind=NONE,btn_middle,togglemaximizescreen,0
+mousebind=ALT,btn_right,moveresize,curresize
# Axis Bindings
-axisbind=SUPER,UP,viewtoleft_have_client
-axisbind=SUPER,DOWN,viewtoright_have_client
+axisbind=ALT,UP,viewtoleft_have_client
+axisbind=ALT,DOWN,viewtoright_have_client
# layer rule
-layerrule=animation_type_open:zoom,layer_name:rofi
-layerrule=animation_type_close:zoom,layer_name:rofi
+layer_rule=animation_type_open:zoom,layer_name:rofi
+layer_rule=animation_type_close:zoom,layer_name:rofi
diff --git a/mango/config.conf b/mango/config.conf
@@ -2,17 +2,22 @@
source=~/.config/mango/autostart.conf
source=~/.config/mango/theme.conf
source=~/.config/mango/bindings.conf
-#source
+source=~/.config/mango/monitors.conf
+
+# cursor theme
+#cursor_theme=Chroma-Black-S
+cursor_theme=aero
+#cursor_theme=Wii
# Window effect
-blur=0
+blur=1
blur_layer=0
-blur_optimized=1
+blur_optimized=0
blur_params_num_passes = 2
-blur_params_radius = 5
+blur_params_radius = 8
blur_params_noise = 0.02
blur_params_brightness = 0.9
-blur_params_contrast = 0.9
+blur_params_contrast = 2
blur_params_saturation = 1.2
shadows = 0
@@ -39,8 +44,8 @@ animation_fade_out=1
tag_animation_direction=1
zoom_initial_ratio=0.3
zoom_end_ratio=0.8
-fadein_begin_opacity=0.5
-fadeout_begin_opacity=0.8
+fade_in_begin_opacity=0.5
+fade_out_begin_opacity=0.8
animation_duration_move=500
animation_duration_open=400
animation_duration_tag=350
@@ -51,8 +56,8 @@ 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
+animation_curve_opacity_fade_out=0.5,0.5,0.5,0.5
+animation_curve_opacity_fade_in=0.46,1.0,0.29,1
# Scroller Layout Setting
scroller_structs=20
@@ -65,24 +70,24 @@ scroller_proportion_preset=0.5,0.8,1.0
# Master-Stack Layout Setting
new_is_master=1
-default_mfact=0.55
-default_nmaster=1
-smartgaps=0
+default_master_factor=0.55
+default_master_count=1
+smart_gaps=0
# Overview Setting
hotarea_size=10
enable_hotarea=1
-ov_tab_mode=0
-overviewgappi=5
-overviewgappo=30
+#ov_tab_mode=0
+overview_gap_inner=5
+overview_gap_outer=30
# Misc
no_border_when_single=0
axis_bind_apply_timeout=100
focus_on_activate=1
-idleinhibit_ignore_visible=0
-sloppyfocus=1
-warpcursor=1
+idle_inhibit_ignore_visible=0
+sloppy_focus=1
+warp_cursor=1
focus_cross_monitor=0
focus_cross_tag=0
enable_floating_snap=0
@@ -93,7 +98,7 @@ drag_tile_to_tile=1
# keyboard
repeat_rate=25
repeat_delay=600
-numlockon=0
+numlock_on=0
xkb_rules_layout=us
# Trackpad
@@ -103,32 +108,37 @@ tap_to_click=1
tap_and_drag=1
drag_lock=1
trackpad_natural_scrolling=0
-disable_while_typing=1
-left_handed=0
-middle_button_emulation=0
+trackpad_disable_while_typing=1
+trackpad_left_handed=0
+trackpad_middle_button_emulation=0
swipe_min_threshold=1
# mouse
# need relogin to make it apply
mouse_natural_scrolling=0
+mouse_accel_profile=0
+mouse_accel_speed=-1.0
# Appearance
-gappih=5
-gappiv=5
-gappoh=10
-gappov=10
+gap_inner_horizontal=5
+gap_inner_vertical=5
+gap_outer_horizontal=10
+gap_outer_vertical=10
scratchpad_width_ratio=0.8
scratchpad_height_ratio=0.9
-borderpx=4
+border_px=4
# layout support:
# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
-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
+tag_rule=id:1,layout_name:tile
+tag_rule=id:2,layout_name:tile
+tag_rule=id:3,layout_name:tile
+tag_rule=id:4,layout_name:tile
+tag_rule=id:5,layout_name:tile
+tag_rule=id:6,layout_name:tile
+tag_rule=id:7,layout_name:tile
+tag_rule=id:8,layout_name:tile
+tag_rule=id:9,layout_name:tile~/.config/mango/monitors.conf
+
+# window rules
+#window_rule=unfocused_opacity:1.0,focused_opacity:1.0,noblur:0,appid:^librewolf|Librewolf$