60 current 2024-02-29 23:51:14 24.05.20240228.9099616 6.6.18 *

This commit is contained in:
zackartz 2024-02-29 23:51:18 -05:00
parent 31df0780a4
commit 9320710c4a
5 changed files with 33 additions and 7 deletions

21
core/theme.nix Normal file
View file

@ -0,0 +1,21 @@
{...}: {
x = c: "#${c}";
colors = rec {
"base" = "f191724";
"surface" = "f1f1d2e";
"overlay" = "f26233a";
"muted" = "f6e6a86";
"subtle" = "f6e6a86";
"text" = "ffe0def4";
"love" = "ffeb6f92";
"gold" = "fff6c177";
"rose" = "ffebbcba";
"pine" = "ff31748f";
"foam" = "ff9ccfd8";
"iris" = "ffc4a7e7";
"highlightlow" = "ff21202e";
"highlightmed" = "ff403d52";
"highlighthigh" = "ff524f67";
};
}

View file

@ -140,7 +140,10 @@
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {inherit inputs;};
users = { users = {
"zack" = import ../../modules/home-manager; "zack" = {
imports = [../../modules/home-manager];
_module.args.theme = import ../../core/theme.nix;
};
}; };
}; };

View file

@ -57,6 +57,7 @@
pkgs.wofi pkgs.wofi
pkgs.alejandra pkgs.alejandra
pkgs.dconf pkgs.dconf
pkgs.wl-clipboard
# # You can also create simple shell scripts directly inside your # # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your # # configuration. For example, this adds a command 'my-hello' to your

View file

@ -30,10 +30,7 @@ in {
"${mod},M,exit" "${mod},M,exit"
"${mod},P,pseudo" "${mod},P,pseudo"
"${mod},H,movefocus,l" "${mod},J,togglesplit,d"
"${mod},L,movefocus,r"
"${mod},K,movefocus,u"
"${mod},J,movefocus,d"
"${mod},T,togglegroup," # group focused window "${mod},T,togglegroup," # group focused window
"${modshift},G,changegroupactive," # switch within the active group "${modshift},G,changegroupactive," # switch within the active group

View file

@ -1,6 +1,6 @@
# home.nix # home.nix
{ {theme, ...}: {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = with theme.colors; {
exec-once = [ exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
]; ];
@ -15,6 +15,10 @@
# whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
apply_sens_to_raw = 0; apply_sens_to_raw = 0;
# active border color
# "col.active_border" = "rgb(${rose}) rgb(${pine}) rgb(${love}) rgb(${iris}) 90deg";
# "col.inactive_border" = "rgb(${muted})";
}; };
input = { input = {