hyprland.nix: Added mocha mauve colors, and added some default config

This commit is contained in:
uzy lol 2024-12-28 14:28:18 -08:00
parent 745a8468c3
commit 3c4ac56b7e

View File

@ -31,17 +31,104 @@
xwayland.enable = true;
settings = {
# Define Catppuccin Mocha Mauve colors
"$rosewater" = "rgb(f5e0dc)";
"$rosewaterAlpha" = "f5e0dc";
"$flamingo" = "rgb(f2cdcd)";
"$flamingoAlpha" = "f2cdcd";
"$pink" = "rgb(f5c2e7)";
"$pinkAlpha" = "f5c2e7";
"$mauve" = "rgb(cba6f7)";
"$mauveAlpha" = "cba6f7";
"$red" = "rgb(f38ba8)";
"$redAlpha" = "f38ba8";
"$maroon" = "rgb(eba0ac)";
"$maroonAlpha" = "eba0ac";
"$peach" = "rgb(fab387)";
"$peachAlpha" = "fab387";
"$yellow" = "rgb(f9e2af)";
"$yellowAlpha" = "f9e2af";
"$green" = "rgb(a6e3a1)";
"$greenAlpha" = "a6e3a1";
"$teal" = "rgb(94e2d5)";
"$tealAlpha" = "94e2d5";
"$sky" = "rgb(89dceb)";
"$skyAlpha" = "89dceb";
"$sapphire" = "rgb(74c7ec)";
"$sapphireAlpha" = "74c7ec";
"$blue" = "rgb(89b4fa)";
"$blueAlpha" = "89b4fa";
"$lavender" = "rgb(b4befe)";
"$lavenderAlpha" = "b4befe";
"$text" = "rgb(cdd6f4)";
"$textAlpha" = "cdd6f4";
"$subtext1" = "rgb(bac2de)";
"$subtext1Alpha" = "bac2de";
"$subtext0" = "rgb(a6adc8)";
"$subtext0Alpha" = "a6adc8";
"$overlay2" = "rgb(9399b2)";
"$overlay2Alpha" = "9399b2";
"$overlay1" = "rgb(7f849c)";
"$overlay1Alpha" = "7f849c";
"$overlay0" = "rgb(6c7086)";
"$overlay0Alpha" = "6c7086";
"$surface2" = "rgb(585b70)";
"$surface2Alpha" = "585b70";
"$surface1" = "rgb(45475a)";
"$surface1Alpha" = "45475a";
"$surface0" = "rgb(313244)";
"$surface0Alpha" = "313244";
"$base" = "rgb(1e1e2e)";
"$baseAlpha" = "1e1e2e";
"$mantle" = "rgb(181825)";
"$mantleAlpha" = "181825";
"$crust" = "rgb(11111b)";
"$crustAlpha" = "11111b";
# ------------------------------ #
"$mod" = "SUPER";
"$terminal" = "kitty";
"$files" = "dolphin";
"$menu" = "rofi -show run";
bind =
[
"$mod, Return, exec, kitty"
"$mod, SPACE, exec, walker"
"$mod, E, exec, dolphin"
"$mod, Return, exec, $terminal"
"$mod, SPACE, exec, $menu"
"$mod, E, exec, $files"
"$mod SHIFT, V, togglefloating,"
"$mod SHIFT, Q, killactive,"
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
# Scroll through existing workspaces with mod + scroll
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
]
++ (
# workspaces
@ -60,6 +147,8 @@
bindm = [
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
];
bindel = [
@ -70,18 +159,47 @@
",XF86MonBrightnessDown, exec, brightnessctl s 2%-"
];
bindl = {
", XF86AudioNext, exec, playerctl next"
", XF86AudioPause, exec, playerctl play-pause"
", XF86AudioPlay, exec, playerctl play-pause"
", XF86AudioPrev, exec, playerctl previous"
};
input = {
kb_layout = us;
touchpad = {
natural_scroll = true;
scroll_factor = 0.2;
scroll_factor = 0.4;
};
};
general = {
resize_on_border = true;
gaps_in = 5;
gaps_out = 5;
border_size = 2;
"col.acive_border" = "rgba($mauveAlphaee)";
"col.inactive_border" = "rgba($overlay1Alphaee)";
};
decoration = {
rounding = 5;
blur = {
enabled = true;
size = 3;
passes = 1;
vibrancy = 0.1696;
};
};
gestures = {
workspace_swipe = true;
workspace_swipe_fingers = 3;
};
};