nixos/home/modules/wm/mango/mango.conf
2026-04-16 22:18:45 +02:00

236 lines
4.7 KiB
Text

# blur
blur=0
blur_layer=0
blur_optimized=1
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
shadows=0
layer_shadows=0
shadow_only_floating=1
shadows_size=10
shadows_blur=15
shadows_position_x=0
shadows_position_y=0
shadowscolor=0x000000ff
# colors
rootcolor=0x323232ff
bordercolor=0x262626ff
focuscolor=0x3a3a3aff
urgentcolor=0xad401fff
# window appearance
border_radius=0
no_radius_when_single=0
focused_opacity=0.98
unfocused_opacity=0.95
# animations
animations=1
layer_animations=1
animation_type_open=slide
animation_type_close=slide
animation_fade_in=1
animation_fade_out=1
tag_animation_direction=1
zoom_initial_ratio=0.92
zoom_end_ratio=1.0
fadein_begin_opacity=0.2
fadeout_begin_opacity=0.9
# durations
animation_duration_move=180
animation_duration_open=220
animation_duration_tag=220
animation_duration_close=180
animation_duration_focus=120
# curves
animation_curve_open=0.22,1,0.36,1
animation_curve_move=0.22,1,0.36,1
animation_curve_tag=0.22,1,0.36,1
animation_curve_close=0.4,0,0.2,1
animation_curve_focus=0.22,1,0.36,1
animation_curve_opafadeout=0.4,0,0.2,1
animation_curve_opafadein=0.22,1,0.36,1
# scroller
scroller_structs=0
scroller_default_proportion=0.8
scroller_focus_center=0
scroller_prefer_center=0
scroller_prefer_overspread=1
edge_scroller_pointer_focus=0
scroller_proportion_preset=0.5,0.8,1.0
scroller_ignore_proportion_single=0
scroller_default_proportion_single=1.0
# layout
new_is_master=1
default_mfact=0.55
default_nmaster=1
smartgaps=0
# overview
enable_hotarea=0
ov_tab_mode=0
overviewgappi=5
overviewgappo=30
# window behavior
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
focus_cross_tag=0
enable_floating_snap=0
snap_distance=30
drag_tile_to_tile=1
# keyboard
repeat_rate=25
repeat_delay=600
numlockon=1
xkb_rules_layout=es,ru
xkb_rules_options=grp:alt_space_toggle
# trackpad
disable_trackpad=0
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
swipe_min_threshold=1
# mouse
mouse_natural_scrolling=0
# gaps and borders
gappih=3
gappiv=3
gappoh=3
gappov=3
borderpx=1
# tag rules
tagrule=id:1,layout_name:tiling
tagrule=id:2,layout_name:scroller
tagrule=id:3,layout_name:scroller
tagrule=id:4,layout_name:scroller
tagrule=id:5,layout_name:scroller
tagrule=id:6,layout_name:scroller
tagrule=id:7,layout_name:scroller
tagrule=id:8,layout_name:scroller
tagrule=id:9,layout_name:scroller
# application binds
bind=SUPER,space,spawn,wmenu-run
bind=SUPER,t,spawn,foot
bind=SUPER,z,spawn,firefox
# screenshots
bind=SUPER+SHIFT,Print,spawn,~/bin/sss screen
bind=SUPER,Print,spawn,~/bin/sss area
# wallpaper
bind=SUPER,w,spawn,random-wallpaper
# window control
bind=SUPER,q,killclient,
bind=SUPER,v,togglefloating,
bind=SUPER,s,toggle_scratchpad
# focus navigation
bind=SUPER,Tab,focusstack,next
bind=SUPER,Left,focusdir,left
bind=SUPER,Right,focusdir,right
bind=SUPER,Up,focusdir,up
bind=SUPER,Down,focusdir,down
# resize windows
bind=CTRL+ALT,Left,resizewin,-50,+0
bind=CTRL+ALT,Right,resizewin,+50,+0
bind=CTRL+ALT,Up,resizewin,+0,-50
bind=CTRL+ALT,Down,resizewin,+0,+50
# move windows
bind=CTRL+SHIFT,Left,movewin,-50,+0
bind=CTRL+SHIFT,Right,movewin,+50,+0
bind=CTRL+SHIFT,Up,movewin,+0,-50
bind=CTRL+SHIFT,Down,movewin,+0,+50
# view tags
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=SUPER,0,view,10,0
# tag windows
bind=SUPER+SHIFT,1,tag,1,0
bind=SUPER+SHIFT,2,tag,2,0
bind=SUPER+SHIFT,3,tag,3,0
bind=SUPER+SHIFT,4,tag,4,0
bind=SUPER+SHIFT,5,tag,5,0
bind=SUPER+SHIFT,6,tag,6,0
bind=SUPER+SHIFT,7,tag,7,0
bind=SUPER+SHIFT,8,tag,8,0
bind=SUPER+SHIFT,9,tag,9,0
bind=SUPER+SHIFT,0,tag,10,0
# monitor control
bind=ALT+SHIFT,Left,focusmon,left
bind=ALT+SHIFT,Right,focusmon,right
bind=SUPER+ALT,Left,tagmon,left
bind=SUPER+ALT,Right,tagmon,right
# gaps control
bind=ALT+SHIFT,X,incgaps,1
bind=ALT+SHIFT,Z,incgaps,-1
bind=ALT+SHIFT,R,togglegaps
# mouse bindings
mousebind=SUPER,btn_left,moveresize,curmove
mousebind=SUPER,btn_right,moveresize,curresize
# axis bindings
axisbind=SUPER,UP,viewtoleft_have_client
axisbind=SUPER,DOWN,viewtoright_have_client
# cursor
cursor_size=24
cursor_theme=macOS
# environment
env=XDG_CURRENT_DESKTOP,wlroots
env=XDG_SESSION_TYPE,wayland
env=GDK_BACKEND,wayland
env=SDL_VIDEODRIVER,wayland
env=CLUTTER_BACKEND,wayland
env=MOZ_ENABLE_WAYLAND,1
env=OZONE_PLATFORM,wayland
env=ELECTRON_OZONE_PLATFORM_HINT,auto
env=QT_AUTO_SCREEN_SCALE_FACTOR,1
# autostart
exec-once=~/.config/mango/autostart.sh