190 lines
No EOL
4.9 KiB
Text
190 lines
No EOL
4.9 KiB
Text
|
|
# More option see https://github.com/DreamMaoMao/mango/wiki/
|
|
|
|
# Window effect
|
|
cursor_theme=Adwaita
|
|
cursor_size=24
|
|
|
|
exec-once = qs
|
|
exec-once = bitwarden-desktop-bin
|
|
exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
|
|
exec-once = otd-daemon
|
|
# monitor config
|
|
monitorrule=make:BNQ,model:BenQ EX2710Q,serial:K6R04023019,x:1920,y:0,width:2560,height:1440,refresh:165,scale:1.00
|
|
monitorrule=serial:9KFDW6C533DB,x:0,y:0
|
|
devicerule=name:OpenTabletDriver Virtual Artist Tablet,monitor:serial:K6R04023019
|
|
|
|
# env shit
|
|
env=GTK_THEME,adw-gtk3-dark
|
|
focused_opacity=1.0
|
|
unfocused_opacity=1.0
|
|
|
|
# Animation Configuration(support type:zoom,slide)
|
|
# tag_animation_direction: 1-horizontal,0-vertical
|
|
borderpx=2
|
|
border_radius=24
|
|
animations=1
|
|
layer_animations=0
|
|
animation_type_open=zoom
|
|
animation_type_close=zoom
|
|
animation_fade_in=1
|
|
animation_fade_out=1
|
|
tag_animation_direction=1
|
|
zoom_initial_ratio=0.9
|
|
zoom_end_ratio=0.9
|
|
fadein_begin_opacity=0
|
|
fadeout_begin_opacity=1
|
|
animation_duration_move=500
|
|
animation_duration_open=400
|
|
animation_duration_tag=350
|
|
animation_duration_close=200
|
|
animation_duration_focus=0
|
|
animation_curve_open=0.23,1.0,0.32,1.05
|
|
animation_curve_move=0.23,1.0,0.32,1
|
|
animation_curve_tag=0.23,1.0,0.32,1.03
|
|
animation_curve_close=0.23,1.0,0.32,1
|
|
animation_curve_focus=0.23,1.0,0.32,1
|
|
animation_curve_opafadeout=0.5,0.5,0.5,0
|
|
animation_curve_opafadein=0.46,1.0,0.29,0
|
|
|
|
# Master-Stack Layout Setting
|
|
new_is_master=0
|
|
default_mfact=0.55
|
|
default_nmaster=1
|
|
tag_num=9
|
|
smartgaps=0
|
|
|
|
|
|
# Misc
|
|
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
|
|
cursor_size=24
|
|
drag_tile_to_tile=1
|
|
drag_tile_small=1
|
|
|
|
# keyboard
|
|
repeat_rate=25
|
|
repeat_delay=600
|
|
numlockon=0
|
|
xkb_rules_layout=eu
|
|
|
|
|
|
# Trackpad
|
|
disable_trackpad=0
|
|
tap_to_click=1
|
|
tap_and_drag=1
|
|
drag_lock=1
|
|
trackpad_natural_scrolling=0
|
|
swipe_min_threshold=1
|
|
|
|
# mouse
|
|
# need relogin to make it apply
|
|
mouse_natural_scrolling=0
|
|
mouse_accel_profile = 1
|
|
mouse_accel_speed = -0.4
|
|
# appearance
|
|
gappih=5
|
|
gappiv=5
|
|
gappoh=10
|
|
gappov=10
|
|
scratchpad_width_ratio=0.8
|
|
scratchpad_height_ratio=0.9
|
|
source = /home/lucy/.local/share/tinted-theming/tinty/tinted-mangowc-build-file.conf
|
|
# 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
|
|
|
|
# Key Bindings
|
|
# key name refer to `xev` or `wev` command output,
|
|
# mod keys name: super,ctrl,alt,shift,none
|
|
|
|
# reload config
|
|
bind=SUPER,r,reload_config
|
|
|
|
# menu and terminal
|
|
bind=SUPER,space,spawn,fuzzel
|
|
bind=SUPER,Return,spawn,foot
|
|
bind=SUPER,e,spawn,thunar
|
|
bind=SUPER,b,spawn,helium
|
|
|
|
# exit
|
|
bind=SUPER+SHIFT,q,quit
|
|
bind=SUPER,q,killclient,
|
|
# screenshot binds
|
|
bind = SUPER+SHIFT,S,spawn_shell,$HOME/.config/mango/scripts/screenshot region
|
|
bind=ALT+SHIFT,S,spawn_shell,$HOME/.config/mango/scripts/screenshot output
|
|
bind=ALT+CTRL,S,spawn_shell,$HOME/.config/mango/scripts/screenshot window
|
|
|
|
# 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=SUPER,Up,focusdir,up
|
|
bind=SUPER,Down,focusdir,down
|
|
bind=SUPER,Left,focusdir,left
|
|
bind=SUPER,Right,focusdir,right
|
|
# switch window status
|
|
bind=SUPER,v,togglefloating,
|
|
# tag switch
|
|
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
|
|
|
|
# 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,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
|
|
|
|
# monitor switch
|
|
bind=SUPER,comma,focusmon,left
|
|
bind=SUPER,period,focusmon,right
|
|
|
|
# btn_left and btn_right can't bind none mod key
|
|
mousebind=SUPER,btn_left,moveresize,curmove
|
|
mousebind=SUPER,btn_right,moveresize,curresize
|
|
mousebind=ALT,btn_left,moveresize,curresize
|
|
|
|
# brightness and audio shit
|
|
bind=NONE,XF86MonBrightnessUp,spawn,light -A 10
|
|
bind=NONE,XF86MonBrightnessDown,spawn,light -U 10
|
|
|
|
|
|
bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_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,playerctl next
|
|
bind=NONE,XF86AudioPrev,spawn,playerctl previous
|
|
bind=NONE,XF86AudioPlay,spawn,playerctl play-pause |