304 lines
9 KiB
Text
304 lines
9 KiB
Text
# | Outputs Configuration |
|
|
# Configure your monitors here or in the DMS "Displays" settings. | https://mangowm.github.io/docs/configuration/monitors
|
|
# Run `wlr-randr` to get your monitors information.
|
|
# You will have to remove "#" and edit it for it to take effect.
|
|
|
|
# monitorrule = name:DP-1, width:2560, height:1440, refresh:179.999, x:0, y:0, rr:0, vrr:1
|
|
|
|
|
|
# Change your layout here for each workspace.
|
|
# 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
|
|
|
|
|
|
# | Environment Variables |
|
|
# Set your environment variables here. | https://mangowm.github.io/docs/configuration/basics#environment-variables
|
|
|
|
# env = QT_QPA_PLATFORMTHEME,qt6ct
|
|
# env = QT_QPA_PLATFORMTHEME_QT6,qt6ct
|
|
env=QT_QPA_PLATFORM,wayland
|
|
env=ELECTRON_OZONE_PLATFORM_HINT,auto
|
|
env=QT_QPA_PLATFORMTHEME,gtk3
|
|
|
|
# | Input Devices |
|
|
# Configure your input devices here. | https://mangowm.github.io/docs/configuration/input
|
|
|
|
xkb_rules_layout = fr
|
|
xkb_rules_variant=ergol
|
|
|
|
# If you want to disable pointer acceleration, uncomment the lines below.
|
|
# accel_profile = 1
|
|
# accel_speed = 0.2
|
|
|
|
|
|
# | Layout |
|
|
# layouts | https://mangowm.github.io/docs/window-management/layouts
|
|
|
|
# Scrolling layout settings.
|
|
scroller_structs = 40
|
|
scroller_default_proportion = 0.5
|
|
scroller_focus_center = 0
|
|
scroller_prefer_center = 0
|
|
scroller_prefer_overspread = 1
|
|
edge_scroller_pointer_focus = 1
|
|
scroller_default_proportion_single = 2.0
|
|
scroller_proportion_preset = 0.5, 0.8, 1.0
|
|
|
|
# Master-Stack layout settings.
|
|
new_is_master = 1
|
|
default_mfact = 0.55
|
|
default_nmaster = 1
|
|
smartgaps = 0
|
|
|
|
|
|
# https://mangowm.github.io/docs/configuration/miscellaneous
|
|
|
|
allow_tearing = 2
|
|
# syncobj_enable = 1
|
|
# xwayland-persistence = 1
|
|
|
|
drag_tile_to_tile = 1
|
|
|
|
|
|
# | Look n Feel |
|
|
# theming | https://mangowm.github.io/docs/visuals
|
|
|
|
gappih = 20
|
|
gappiv = 20
|
|
gappoh = 40
|
|
gappov = 40
|
|
borderpx = 4
|
|
border_radius = 10
|
|
|
|
scratchpad_width_ratio = 0.8
|
|
scratchpad_height_ratio = 0.9
|
|
|
|
rootcolor = 0x201b14ff
|
|
bordercolor = 0x444444ff
|
|
focuscolor = 0x47add6ff
|
|
maximizescreencolor = 0x47add6ff
|
|
urgentcolor = 0xad401fff
|
|
scratchpadcolor = 0x516c93ff
|
|
globalcolor = 0xb153a7ff
|
|
overlaycolor = 0x14a57cff
|
|
|
|
cursor_theme = capitaine-cursors
|
|
cursor_size = 24
|
|
|
|
blur = 1
|
|
blur_layer = 1
|
|
blur_optimized = 1
|
|
blur_params_num_passes = 2
|
|
blur_params_radius = 4
|
|
blur_params_noise = 0.04
|
|
blur_params_brightness = 0.9
|
|
blur_params_contrast = 0.9
|
|
blur_params_saturation = 1.2
|
|
|
|
shadows = 0
|
|
layer_shadows = 1
|
|
shadow_only_floating = 0
|
|
shadows_size = 10
|
|
shadows_blur = 5
|
|
shadows_position_x = 0
|
|
shadows_position_y = 0
|
|
shadowscolor = 0x000000ff
|
|
|
|
animations = 1
|
|
layer_animations = 1
|
|
animation_type_open = zoom
|
|
animation_type_close = zoom
|
|
animation_fade_in = 1
|
|
animation_fade_out = 1
|
|
tag_animation_direction = 1
|
|
zoom_initial_ratio = 0.1
|
|
zoom_end_ratio = 0.5
|
|
fadein_begin_opacity = 0.3
|
|
fadeout_begin_opacity = 0.2
|
|
animation_duration_move = 300
|
|
animation_duration_open = 100
|
|
animation_duration_tag = 300
|
|
animation_duration_close = 400
|
|
animation_duration_focus = 0
|
|
animation_curve_open = 0.87, 0, 0.13, 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.87, 0, 0.13, 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
|
|
|
|
|
|
# | Keybinds |
|
|
# Configure your keybinds here. | https://mangowm.github.io/docs/bindings/keys
|
|
|
|
# Your favorite applications.
|
|
bind = SUPER, Return, spawn, alacritty
|
|
bind = SUPER, e, spawn, dolphin
|
|
bind = SUPER, b, spawn, firefox-bin
|
|
|
|
# Please choose the text editor of your choice.
|
|
# bind = SUPER, x, spawn, alacritty -e hx
|
|
|
|
# DMS specific keybinds.
|
|
bind = SUPER+CTRL, Return, spawn, dms ipc call spotlight toggle
|
|
bind = SUPER, c, spawn, dms ipc call clipboard toggle
|
|
bind = SUPER, m, spawn, dms ipc call processlist focusOrToggle
|
|
bind = SUPER, s, spawn, dms ipc call settings focusOrToggle
|
|
bind = SUPER, n, spawn, dms ipc call notifications toggle
|
|
bind = SUPER, w, spawn, dms ipc call dankdash wallpaper
|
|
bind = SUPER+SHIFT, q, spawn, dms ipc call powermenu toggle
|
|
|
|
# Lockscreen
|
|
bind = SUPER+ALT, l, spawn, dms ipc call lock lock
|
|
|
|
# Screenshots
|
|
bind = SUPER, p, spawn, ~/.config/mango/scripts/screenshot.sh
|
|
|
|
# Reload config
|
|
bind = SUPER, r, reload_config
|
|
|
|
# Audio controls
|
|
bind = NONE, XF86AudioRaiseVolume, spawn, dms ipc call audio increment 5
|
|
bind = NONE, XF86AudioLowerVolume, spawn, dms ipc call audio decrement 5
|
|
bind = NONE, XF86AudioMute, spawn, dms ipc call audio mute
|
|
|
|
# Brightness controls
|
|
bind = NONE, XF86MonBrightnessUp, spawn, dms ipc call brightness increment 5 backlight:intel_backlight
|
|
bind = NONE, XF86MonBrightnessDown, spawn, dms ipc call brightness decrement 5 backlight:intel_backlight
|
|
|
|
# bind=SUPER,space,spawn,qs -c noctalia-shell ipc call launcher toggle
|
|
# bind=SUPER,s,spawn,qs -c noctalia-shell ipc call controlCenter toggle
|
|
# bind=SUPER,comma,spawn,qs -c noctalia-shell ipc call settings toggle
|
|
# bind=NONE,XF86AudioRaiseVolume,spawn,qs -c noctalia-shell ipc call volume increase
|
|
# bind=NONE,XF86AudioLowerVolume,spawn,qs -c noctalia-shell ipc call volume decrease
|
|
# bind=NONE,XF86AudioMute,spawn,qs -c noctalia-shell ipc call volume muteOutput
|
|
# bind=NONE,XF86MonBrightnessUp,spawn,qs -c noctalia-shell ipc call brightness increase 5 backlight:intel_backlight
|
|
# bind=NONE,XF86MonBrightnessDown,spawn,qs -c noctalia-shell ipc call brightness decrease 5 backlight:intel_backlight
|
|
|
|
bind = SUPER, q, killclient,
|
|
|
|
# Switch window focus
|
|
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
|
|
|
|
# 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
|
|
|
|
# Switch window status
|
|
bind = SUPER, g, toggleglobal,
|
|
bind = ALT, Tab, toggleoverview,
|
|
bind = SUPER, v, togglefloating,
|
|
bind = SUPER, f, togglemaximizescreen,
|
|
bind = SUPER+SHIFT, f, togglefullscreen,
|
|
bind = SUPER+ALT, f, togglefakefullscreen,
|
|
bind = SUPER, i, minimized,
|
|
bind = SUPER, o, toggleoverlay,
|
|
bind = SUPER+SHIFT, I, restore_minimized
|
|
bind = SUPER, z, toggle_scratchpad
|
|
|
|
# Scroller layout
|
|
bind = SUPER+SHIFT, e, set_proportion, 1.0
|
|
bind = SUPER, x, switch_proportion_preset,
|
|
|
|
# Switch layout
|
|
bind = SUPER, l, switch_layout
|
|
|
|
# Switch between workspaces
|
|
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 another workspace.
|
|
# Tagsilent: move client to another workspace but do not focus it.
|
|
# E.g bind = SUPER+SHIFT, 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
|
|
|
|
# Switch between monitors
|
|
bind = SUPER+ALT, Left, focusmon, left
|
|
bind = SUPER+ALT, Right, focusmon, right
|
|
# Move window to another monitor
|
|
bind = SUPER+ALT, Left, tagmon, left
|
|
bind = SUPER+ALT, Right, tagmon, right
|
|
|
|
# Gaps
|
|
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
|
|
bind = CTRL+SHIFT, Down, movewin, +0, +50
|
|
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
|
|
|
|
# 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
|
|
|
|
|
|
# | Rules |
|
|
# Window/Tag/Layer rules. | https://mangowm.github.io/docs/window-management/rules
|
|
|
|
windowrule = isfloating:1, appid:[Ss]team
|
|
windowrule = isfloating:0, title:Steam
|
|
windowrule = isfloating:1, appid:steam, title:Steam Settings
|
|
|
|
layerrule = noanim:1, noblur:1, layer_name:selection
|
|
|
|
source=~/.config/mango/dms/colors.conf
|
|
source=~/.config/mango/dms/layout.conf
|
|
source=~/.config/mango/dms/outputs.conf
|
|
source=./dms/cursor.conf
|
|
|
|
# autostart your favorite applications here
|
|
|
|
exec-once = sleep 1 && gentoo-pipewire-launcher &
|
|
exec-once = kdeconnectd
|
|
# exec-once = qs -c noctalia-shell
|
|
exec-once = dms run
|
|
exec-once = bash -c wl-paste --watch cliphist store & # optional: clipboard history | cliphist is needed
|
|
exec-once = ssh-agent -a /run/user/1000/ssh-agent.socket &
|
|
exec-once = /usr/lib/xdg-desktop-portal-wlr &
|
|
exec-once = discord --start-minimized &
|
|
|
|
source=./dms/cursor.conf
|
|
|
|
source=./dms/outputs.conf
|
|
source = ./dms/binds.conf
|