This commit is contained in:
iFargle 2024-01-05 11:12:52 +09:00
parent f6408981f8
commit 8cdffb62e9
2 changed files with 32 additions and 33 deletions
home-manager/common/desktops/hyprland/themes/stylix
nixos/common/desktops/hyprland

View file

@ -7,14 +7,14 @@
background-image: none; background-image: none;
} }
window { window {
background-color: #${config.lib.stylix.colors.base05}; background-color: #${config.lib.stylix.colors.base00};
} }
button { button {
color: #${config.lib.stylix.colors.base04}; color: #${config.lib.stylix.colors.base04};
font-size: 0px; font-size: 0px;
border-radius: 5000px; border-radius: 5000px;
margin: 25px; margin: 25px;
background-color: #${config.lib.stylix.colors.base01}; background-color: #${config.lib.stylix.colors.base06};
border-style: solid; border-style: solid;
border-width: 3px; border-width: 3px;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -23,7 +23,7 @@
} }
button:active, button:hover { button:active, button:hover {
background-color: #${config.lib.stylix.colors.base00}; background-color: #${config.lib.stylix.colors.base05};
outline-style: none; outline-style: none;
} }

View file

@ -9,36 +9,36 @@
imports = [ inputs.stylix.nixosModules.stylix ]; imports = [ inputs.stylix.nixosModules.stylix ];
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/stylix/wallpaper2.jpg; image = /etc/nixos/git/wallpapers/stylix/wallpaper2.jpg;
targets = { targets = {
plymouth.enable = false; plymouth.enable = false;
};
autoEnable = true;
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
fonts = {
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
}; };
autoEnable = true;
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
fonts = {
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sansSerif = { sansSerif = {
package = pkgs.dejavu_fonts; package = pkgs.dejavu_fonts;
name = "DejaVu Sans"; name = "DejaVu Sans";
}; };
monospace = { monospace = {
package = pkgs.dejavu_fonts; package = pkgs.dejavu_fonts;
name = "DejaVu Sans Mono"; name = "DejaVu Sans Mono";
}; };
emoji = { emoji = {
package = pkgs.noto-fonts-emoji; package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji"; name = "Noto Color Emoji";
};
}; };
}; };
};
services.xserver.videoDrivers = [ ] ++ lib.optional (builtins.isString gpu) gpu; services.xserver.videoDrivers = [ ] ++ lib.optional (builtins.isString gpu) gpu;
@ -89,12 +89,11 @@
# system sleeps before entering hibernate when # system sleeps before entering hibernate when
# using suspend-then-hibernate # using suspend-then-hibernate
systemd.sleep.extraConfig = '' systemd.sleep.extraConfig = ''
AllowSuspend = yes AllowSuspend=yes
AllowHibernate = yes AllowHibernate=yes
AllowSuspendThenhibernate = yes AllowSuspendThenhibernate=yes
AllowHybridSleep = yes AllowHybridSleep=yes
HibernateDelaySec=600
HibernateDelaySec = 600
''; '';
# XDG portal # XDG portal