From 7434f51a1650590baac147541f5948f9c494254d Mon Sep 17 00:00:00 2001 From: foxora Date: Tue, 24 Feb 2026 00:25:39 +0000 Subject: [PATCH] added even more mangowc stuff!!! :3333333 --- .../wallust/templates/mango-template.conf | 8 +- homes/modules/wm/mango/mango/config.conf | 98 ++++++++++++++++++- homes/modules/wm/mango/mango/layerrules.conf | 3 + homes/modules/wm/mango/mango/windowrules.conf | 6 +- 4 files changed, 107 insertions(+), 8 deletions(-) create mode 100644 homes/modules/wm/mango/mango/layerrules.conf diff --git a/homes/modules/themeing/wallust/templates/mango-template.conf b/homes/modules/themeing/wallust/templates/mango-template.conf index 508f2c0..0ff2dea 100644 --- a/homes/modules/themeing/wallust/templates/mango-template.conf +++ b/homes/modules/themeing/wallust/templates/mango-template.conf @@ -1,11 +1,11 @@ # background color of the root window -rootcolor=0x{ color12 | strip }ff +rootcolor=0x{{ color12 | strip }}ff # inactive window border -bordercolor=0x{ color14 | strip }ff +bordercolor=0x{{ color0 | strip }}ff # active window border -focuscolor=0x{ color0 | strip }ff +focuscolor=0x{{ color14 | strip }}ff # urgent / alerted window border -urgentcolor=0x{ color10 | strip }ff +urgentcolor=0x{{ color10 | strip }}ff diff --git a/homes/modules/wm/mango/mango/config.conf b/homes/modules/wm/mango/mango/config.conf index f21e81c..608ff67 100644 --- a/homes/modules/wm/mango/mango/config.conf +++ b/homes/modules/wm/mango/mango/config.conf @@ -57,6 +57,13 @@ blur_params_saturation = 1.2 cursor_size=24 cursor_theme=Bunny (Icy) and Strawberries +################################################################################ +##### Animations /////////////////////////////////////////////////////////////// +################################################################################ + +animations=1 +layer_animations=1 + ################################################################################ ##### Input //////////////////////////////////////////////////////////////////// ################################################################################ @@ -89,8 +96,8 @@ bind = SUPER+ALT, delete, quit # screenshots # grim - | wl-copy -bind = SUPER, s, spawn_shell, grim -g \"\$(slurp -d)\" - | wl-copy -bind = SUPER+ALT, s, spawn_shell, grim -g \"\$(slurp -o)\" - | wl-copy +bind = SUPER, s, spawn_shell, grim -g $(slurp -d) - | wl-copy +bind = SUPER+ALT, s, spawn_shell, grim -g $(slurp -o) - | wl-copy bind = SUPER+CTRL, s, spawn_shell, grim - | wl-copy # task manager @@ -128,6 +135,75 @@ bind = SUPER, x, togglefloating # layouts bind = SUPER, u, switch_layout +# move focus - l/d/u/r +bind = SUPER, h, focusdir, left +bind = SUPER, j, focusdir, down +bind = SUPER, k, focusdir, up +bind = SUPER, l, focusdir, right + +# move focus - stack +bind = SUPER+SHIFT, j, focusstack, next +bind = SUPER+SHIFT, k, focusstack, prev + +# swap window - l/d/u/r +bind = SUPER+ALT, h, exchange_client, left +bind = SUPER+ALT, j, exchange_client, down +bind = SUPER+ALT, k, exchange_client, up +bind = SUPER+ALT, l, exchange_client, right + +# swap window - stack +bind = SUPER+SHIFT, h, exchange_stack_client, next +bind = SUPER+SHIFT, l, exchange_stack_client, prev + +# swap focused window with master +bind = SUPER, g, zoom + +# view tag +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 +BIND = SUPER, minus, view, 11, 0 +BIND = SUPER, equal, view, 12, 0 + +# toggle tag on monitor +BIND = SUPER+ALT, 1, toggletag, 1, 0 +BIND = SUPER+ALT, 2, toggletag, 2, 0 +BIND = SUPER+ALT, 3, toggletag, 3, 0 +BIND = SUPER+ALT, 4, toggletag, 4, 0 +BIND = SUPER+ALT, 5, toggletag, 5, 0 +BIND = SUPER+ALT, 6, toggletag, 6, 0 +BIND = SUPER+ALT, 7, toggletag, 7, 0 +BIND = SUPER+ALT, 8, toggletag, 8, 0 +BIND = SUPER+ALT, 9, toggletag, 9, 0 +BIND = SUPER+ALT, 0, toggletag, 10, 0 +BIND = SUPER+ALT, minus, toggletag, 11, 0 +BIND = SUPER+ALT, equal, toggletag, 12, 0 + +# move window to tag +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 +BIND = SUPER+SHIFT, minus, tag, 11, 0 +BIND = SUPER+SHIFT, equal, tag, 12, 0 + +# mouse binds :3 +mousebind = SUPER, btn_left, moveresize, curmove +mousebind = SUPER, btn_right, moveresize, curresize + ################################################################################ ##### Miscellaneous //////////////////////////////////////////////////////////// ################################################################################ @@ -141,9 +217,25 @@ focus_on_activate = 1 # scroll speed axis_scroll_factor = 1.0 +# disables hotarea for overview mode +enable_hotarea = 0 + +################################################################################ +##### Environment Variables //////////////////////////////////////////////////// +################################################################################ + +env = XCURSOR_THEME,Bunny (Icy) and Strawberries +env = XCURSOR_SIZE,24 + ################################################################################ ##### Imports ////////////////////////////////////////////////////////////////// ################################################################################ +# windowrules!!! <3 +source = ./windowrules.conf + +# layerrules :3 +source = ./layerrules.conf + # colors generated from palette generator -source=./colors.conf +source = ./colors.conf diff --git a/homes/modules/wm/mango/mango/layerrules.conf b/homes/modules/wm/mango/mango/layerrules.conf new file mode 100644 index 0000000..5ae4f70 --- /dev/null +++ b/homes/modules/wm/mango/mango/layerrules.conf @@ -0,0 +1,3 @@ +# ---------------------------------------------------------------------------- # +# slurp no blur +layerrule=noblur:1,layer_name:selection diff --git a/homes/modules/wm/mango/mango/windowrules.conf b/homes/modules/wm/mango/mango/windowrules.conf index 82ba205..2a8afd7 100644 --- a/homes/modules/wm/mango/mango/windowrules.conf +++ b/homes/modules/wm/mango/mango/windowrules.conf @@ -1,3 +1,7 @@ +# ---------------------------------------------------------------------------- # +# i don't wanna minimise windows +windowrule = ignore_minimise + # ---------------------------------------------------------------------------- # # terminal - blur -windowrule=focused_opacity:0.95,unfocused_opacity:0.95,appid:^(foot|alacritty)$ +windowrule = appid:^(foot|Alacritty)$, focused_opacity:0.95, unfocused_opacity:0.95