feat: add stylix theme

Break Changes:
- May need reconfigure fcitx5 input method
This commit is contained in:
danny 2025-08-20 22:32:44 +08:00
parent ca73fac1f6
commit d1913a50ae
30 changed files with 621 additions and 531 deletions

View file

@ -133,18 +133,11 @@ in
force_default_wallpaper = 0;
};
}
// (import ./hypr/window.nix)
// (import ./hypr/window.nix { inherit lib; })
// (import ./hypr/windowrule.nix)
// (import ./hypr/input.nix);
};
# === gamemode === #
systemd.user.services.gamemode = lib.mkIf osConfig.programs.gamemode.enable {
Service = {
ExecStart = "${pkgs.gamemode}/bin/gamemoded -r";
};
};
# === Swww === #
services.swww = {
enable = true;
@ -254,7 +247,7 @@ in
};
# INPUT FIELD
input-field = [
input-field = lib.mkForce [
{
monitor = "${mainMonitor}";
size = "290, 60";
@ -370,7 +363,7 @@ in
control-center-margin-right = 20;
control-center-margin-top = 20;
control-center-width = 500;
fit-to-screen = false;
fit-to-screen = true;
hide-on-action = true;
hide-on-clear = true;
image-visibility = "when-available";
@ -400,9 +393,9 @@ in
@define-color textc #212121;
* {
font-family: JetBrainsMonoNerdFontMono;
font-family: ${osConfig.stylix.fonts.sansSerif.name};
font-size: ${toString osConfig.stylix.fonts.sizes.desktop}pt;
font-weight: bold;
font-size: 15px;
border-width: 3px;
border-color: #ebdbb2;
}
@ -415,7 +408,7 @@ in
.notification-row {
outline: none;
margin: 20px;
margin: 5px;
padding: 0;
}