added wip mangowc config
This commit is contained in:
parent
68cf02e366
commit
fb2e2ee66b
11 changed files with 262 additions and 51 deletions
11
homes/modules/themeing/wallust/templates/mango-template.conf
Normal file
11
homes/modules/themeing/wallust/templates/mango-template.conf
Normal 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
|
||||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
15
homes/modules/wm/mango/default.nix
Normal file
15
homes/modules/wm/mango/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.mango.hmModules.mango
|
||||
];
|
||||
|
||||
wayland.windowManager.mango = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
xdg.configFile."mango" = {
|
||||
recursive = true;
|
||||
source = ./mango;
|
||||
};
|
||||
}
|
||||
103
homes/modules/wm/mango/mango/config.conf
Normal file
103
homes/modules/wm/mango/mango/config.conf
Normal 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
|
||||
3
homes/modules/wm/mango/mango/windowrules.conf
Normal file
3
homes/modules/wm/mango/mango/windowrules.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# ---------------------------------------------------------------------------- #
|
||||
# foot - blur
|
||||
windowrule = appid:^(foot)$, focused_opacity:0.95, unfocused_opacity:0.95
|
||||
Loading…
Add table
Add a link
Reference in a new issue