aboutsummaryrefslogtreecommitdiff
path: root/mango
diff options
context:
space:
mode:
Diffstat (limited to 'mango')
-rw-r--r--mango/config.conf300
1 files changed, 300 insertions, 0 deletions
diff --git a/mango/config.conf b/mango/config.conf
new file mode 100644
index 0000000..c7f60b2
--- /dev/null
+++ b/mango/config.conf
@@ -0,0 +1,300 @@
+# More option see https://github.com/DreamMaoMao/mango/wiki/
+
+# Window effect
+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 = 0
+layer_shadows = 0
+shadow_only_floating = 1
+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
+
+dim_enable=0
+dim_focused_color=0x00000000
+dim_unfocused_color=0x00000055
+
+# Animation Configuration(support type:zoom,slide)
+# tag_animation_direction: 1-horizontal,0-vertical
+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
+tag_num=4
+zoom_initial_ratio=0.4
+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=800
+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
+
+circle_layout=scroller
+
+# Scroller Layout Setting
+scroller_structs=0
+scroller_default_proportion=0.6
+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.6,0.8,1.0
+
+# Overview Setting
+hotarea_size=10
+enable_hotarea=0
+hotarea_disable_on_fullscreen=1
+overviewgappi=5
+overviewgappo=30
+overcircle_center_ratio=0.5
+
+# Misc
+no_border_when_single=0
+axis_bind_apply_timeout=100
+focus_on_activate=1
+idleinhibit_ignore_visible=0
+idleinhibit_when_fullscreen=0
+sloppyfocus=1
+warpcursor=1
+focus_cross_monitor=0
+focusdir_only_zone_overlap=1
+focus_cross_tag=0
+enable_floating_snap=0
+snap_distance=30
+float_full_to_top=0
+cursor_theme=LyraB-cursors
+cursor_size=32
+drag_tile_to_tile=1
+drag_tile_small=1
+
+# keyboard
+repeat_rate=40
+repeat_delay=250
+numlockon=1
+xkb_rules_layout=br,us
+xkb_rules_options=compose:ralt,grp:win_space_toggle
+
+# Trackpad
+# need relogin to make it apply
+disable_trackpad=0
+tap_to_click=1
+tap_and_drag=1
+drag_lock=1
+trackpad_natural_scrolling=1
+trackpad_disable_while_typing=1
+trackpad_left_handed=0
+trackpad_middle_button_emulation=1
+swipe_min_threshold=1
+
+# mouse
+# need relogin to make it apply
+mouse_natural_scrolling=0
+
+# Appearance
+gappih=0
+gappiv=0
+gappoh=0
+gappov=0
+scratchpad_width_ratio=0.8
+scratchpad_height_ratio=0.9
+borderpx=2
+rootcolor=0x201b14ff
+bordercolor=0xdfdfdfff
+dropcolor=0x8FBA7C55
+splitcolor=0xEB441EFF
+focuscolor=0x799df6ff
+maximizescreencolor=0x799df6ff
+urgentcolor=0xad401fff
+scratchpadcolor=0x516c93ff
+globalcolor=0xb153a7ff
+overlaycolor=0x14a57cff
+
+# layout support:
+# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
+tagrule=id:1,layout_name:scroller
+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
+
+# window rules
+windowrule=tags:2,appid:org.nicotine_plus.Nicotine
+windowrule=tags:2,appid:^io.github.diegopvlk.Cine
+
+windowrule=tags:3,appid:^org.prismlauncher.PrismLauncher
+windowrule=tags:3,appid:^Minecraft(.-)\n
+windowrule=tags:3,appid:steam
+windowrule=tags:3,appid:^Steam
+windowrule=tags:3,appid:^com.heroicgameslauncher.hgl
+windowrule=tags:3,appid:^PEAK.exe
+windowrule=tags:3,appid:^SS14.Loader
+windowrule=tags:3,appid:^SS14.Launcher
+# SS14 dev
+windowrule=tags:3,appid:^Content.Client
+
+windowrule=tags:4,appid:firefox
+
+env=DISPLAY,0
+env=GRIM_DEFAULT_DIR,$HOME/Imagens/screenshots
+env=LIBVA_DRIVER_NAME,nvidia
+env=__GLX_VENDOR_LIBRARY_NAME, nvidia
+env=NVD_BACKEND, direct
+
+# Key Bindings
+# key name refer to `xev` or `wev` command output,
+# mod keys name: super,ctrl,alt,shift,none
+
+# reload config
+bind=SUPER+Alt,r,reload_config
+
+# menu and terminal
+bind=Alt,space,spawn,anyrun
+bind=SUPER,e,spawn,kitty
+
+# exit
+bind=SUPER+Alt,q,quit
+bind=SUPER,q,killclient
+bind=SUPER+ALT,l,spawn,hyprlock
+
+# switch window focus
+bind=SUPER,j,focusstack,prev
+bind=SUPER,k,focusstack,next
+
+# swap window
+bind=SUPER+SHIFT,j,exchange_client,left
+bind=SUPER+SHIFT,k,exchange_client,right
+
+# switch window status
+bind=ALT,Tab,togglejump,
+bindc=SUPER+SHIFT,f,togglefloating,
+bindc=SUPER+SHIFT,f,toggleglobal
+bind=SUPER,m,togglemaximizescreen,
+bind=SUPER,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
+
+# scroller layout
+bind=SUPER,x,switch_proportion_preset,
+bind=alt+super+ctrl,Left,scroller_stack,left
+bind=alt+super+ctrl,Right,scroller_stack,right
+
+# switch layout
+bind=SUPER,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,comboview,1,0
+bind=SUPER,2,comboview,2,0
+bind=SUPER,3,comboview,3,0
+bind=SUPER,4,comboview,4,0
+bind=SUPER,0,view,0,0
+bind=SUPER,Tab,view,-1,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,0,toggleglobal
+
+# monitor switch
+bind=SUPER,comma,tagmon,left
+bind=SUPER,period,tagmon,right
+
+# clipboard
+bind=SUPER,c,spawn,cliphist wipe
+bind=SUPER,v,spawn_shell,cliphist list | anyrun --plugins libstdin.so | cliphist decode | wl-copy
+
+# print
+bind=NONE,Print,spawn_shell,slurp | grim -g -
+bind=Alt,Print,spawn,grim
+
+# media keys
+bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
+bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-
+bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+
+bind=NONE,XF86AudioMicMute,spawn,wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
+
+bind=NONE,XF86AudioStop,spawn,playerctl stop
+bind=NONE,XF86AudioPlay,spawn,playerctl play-pause
+bind=NONE,XF86AudioPrev,spawn,playerctl previous
+bind=NONE,XF86AudioNext,spawn,playerctl next
+bind=NONE,XF86MonBrightnessDown,spawn,brightnessctl s 10%-
+bind=NONE,XF86MonBrightnessUp,spawn,brightnessctl s 10%+
+bind=SHIFT,F11,spawn,brightnessctl s 10%-
+bind=SHIFT,F12,spawn,brightnessctl s 10%+
+
+# Mouse Button Bindings
+# btn_left and btn_right can't bind none mod key
+mousebind=SUPER,btn_left,moveresize,curmove
+mousebind=SUPER,btn_middle,togglemaximizescreen,0
+mousebind=SUPER,btn_right,moveresize,curresize
+
+# Axis Bindings
+axisbind=SUPER,UP,viewtoleft_have_client
+axisbind=SUPER,DOWN,viewtoright_have_client
+
+# Gesture Bindings
+gesturebind=none,left,3,focusdir,left
+gesturebind=none,right,3,focusdir,right
+gesturebind=none,up,3,focusdir,up
+gesturebind=none,down,3,focusdir,down
+gesturebind=none,right,4,viewprev_have_client
+gesturebind=none,left,4,viewnext_have_client
+gesturebind=none,up,4,enteroverview
+gesturebind=none,down,4,leaveoverview
+
+# layer rule
+layerrule=animation_type_open:zoom,layer_name:anyrun
+layerrule=animation_type_close:zoom,layer_name:anyrun
+
+exec-once=anyrun daemon
+exec-once=ashell
+exec-once=awww-daemon
+exec-once=kanshi
+exec-once=wl-paste -t text --watch cliphist store
+exec-once=$HOME/.local/bin/wall-choose
+exec-once=xwayland-satellite