added wip mangowc config

This commit is contained in:
foxora 2026-02-22 18:31:08 +00:00
parent 68cf02e366
commit fb2e2ee66b
11 changed files with 262 additions and 51 deletions

View file

@ -0,0 +1,11 @@
# background color of the root window
rootcolor=0x{ color12 | strip }ff
# inactive window border
bordercolor=0x{ color14 | strip }ff
# active window border
focuscolor=0x{ color0 | strip }ff
# urgent / alerted window border
urgentcolor=0x{ color10 | strip }ff

View file

@ -16,6 +16,9 @@ equicord.target = "~/.config/Equicord/themes/base16-colors.css"
hyprland.template = "hyprland-template.conf"
hyprland.target = "~/.config/hypr/colors.conf"
mango.template = "mango-template.conf"
mango.target = "~/.config/mango/colors.conf"
foot.template = "foot-template.ini"
foot.target = "~/.config/foot/theme.ini"

View file

@ -130,6 +130,13 @@
"alt, tab, exec, pkill -x rofi || rofi -modi window -show window -show-icons"
"$mod, v, exec, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy"
# manage windows / session
"$mod+alt, c, killactive"
"$mod, f, fullscreen"
"$mod, x, togglefloating"
"$mod, i, togglesplit"
"$mod+Alt, Delete, exit" # exit hyprland
# screenshots
# todo: add active monitor
"$mod, s, exec, grim -g \"\$(slurp -d)\" - | wl-copy" # region
@ -152,13 +159,6 @@
"Shift_R, XF86AudioPlay, exec, playerctl shuffle toggle"
"Shift_R, XF86AudioNext, exec, playerctl loop track"
# manage windows / session
"$mod+alt, c, killactive"
"$mod, f, fullscreen"
"$mod, x, togglefloating"
"$mod, i, togglesplit"
"$mod+Alt, Delete, exit" # exit hyprland
# move focus
"$mod, h, movefocus, l"
"$mod, j, movefocus, d"

View file

@ -0,0 +1,15 @@
{ inputs, ... }:
{
imports = [
inputs.mango.hmModules.mango
];
wayland.windowManager.mango = {
enable = true;
};
xdg.configFile."mango" = {
recursive = true;
source = ./mango;
};
}

View file

@ -0,0 +1,103 @@
################################################################################
##### Monitors /////////////////////////////////////////////////////////////////
################################################################################
# note: display stream compression pending for open source
# amd gpu driver and my monitor (VG279QM) only supports DP 1.2
# so no >240hz atm
# main monitor
monitorrule = name:DP-2,width:1920,height:1080,refresh:240,x:0,y:0
# second monitor
monitorrule = name:DP-3,width:1920,height:1080,refresh:144,x:1920,y:0
# third monitor (drawing tablet)
monitorrule = name:HDMI-A-2,width:2560,height:1440,refresh:60,x:3840,y:0
# tv
monitorrule = name:HDMI-A-1,width:1920,height:1080,refresh:60,x:-1920,y:0
################################################################################
##### Startup //////////////////////////////////////////////////////////////////
################################################################################
exec-once = waybar
exec-once = awww-daemon
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = wl-clip-persist --clipboard regular
exec-once = playerctld daemon
################################################################################
##### Themeing /////////////////////////////////////////////////////////////////
################################################################################
borderpx = 2
gappih = 5 # inner gap horizontal
gappiv = 5 # inner gap vertical
gappoh = 10 # outer gap horizontal
gappov = 10 # outer gap horizontal
border_radius = 8
focused_opacity = 1.0
unfocused_opacity = 1.0
cursor_size = 24
cursor_theme = "Bunny (Icy) and Strawberries"
################################################################################
##### Input ////////////////////////////////////////////////////////////////////
################################################################################
# keyboard stuff
repeat_rate = 50
repeat_delay = 300
# mouse stuff
accel_profile = 0
################################################################################
##### Keybinds /////////////////////////////////////////////////////////////////
################################################################################
# applications
bind = SUPER, t, spawn, foot
bind = SUPER, e, spawn, foot -e yazi
bind = SUPER, r, spawn, zen-twilight
# rofi
bind = SUPER, d, spawn_shell, pkill -x rofi || rofi -show drun -show-icons
bind = SUPER, v, spawn_shell, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = ALT, TAB, spawn_shell, pkill -x rofi || rofi -modi window -show window -show-icons
# manage windows / session
bind = SUPER+ALT, c, killclient
bind = SUPER, f, togglefullscreen
bind = SUPER+ALT, f, togglefakefullscreen
bind = SUPER, x, togglefloating
# screenshots
# grim - | wl-copy
bind = SUPER, s, spawn, grim -g \"\$(slurp -d)\" - | wl-copy
bind = SUPER+ALT, s, spawn, grim -g \"\$(slurp -o)\" - | wl-copy
bind = SUPER+CTRL, s, spawn, grim - | wl-copy
################################################################################
##### Miscellaneous ////////////////////////////////////////////////////////////
################################################################################
# focus follows mouse cursor
sloppyfocus = 1
# automatically focus windows when they request activiation
focus_on_activate = 1
# scroll speed
axis_scroll_factor = 1.0
################################################################################
##### Imports //////////////////////////////////////////////////////////////////
################################################################################
# colors generated from palette generator
source = ./colors.conf

View file

@ -0,0 +1,3 @@
# ---------------------------------------------------------------------------- #
# foot - blur
windowrule = appid:^(foot)$, focused_opacity:0.95, unfocused_opacity:0.95