Adapting theme.css
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
{ pkgs, flakeRoot, ... }:
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
|
||||
polarity = "dark";
|
||||
targets = {
|
||||
gtk.enable = true;
|
||||
# kde.enable = false;
|
||||
# gnome.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Stylix GTK target
|
||||
stylix.targets.gtk.enable = true;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{ config, pkgs, user, ... }:
|
||||
{
|
||||
environment.sessionVariables = {
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XCURSOR_SIZE = "24";
|
||||
GTK_ENABLE_DARK_MODE = "1";
|
||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
GTK_ICON_THEME = "Papirus-Dark";
|
||||
# Use this instead of GTK_APPLICATION_PREFER_DARK_THEME for newer GTK apps:
|
||||
GTK_THEME_VARIANT = "dark";
|
||||
# For Qt apps (if any):
|
||||
QT_STYLE_OVERRIDE = "gtk2";
|
||||
# For Zen Browser (Firefox fork):
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/glib-2.0/schemas";
|
||||
};
|
||||
|
||||
# Add other session-wide variables here (e.g., QT_QPA_PLATFORM, SDL_VIDEODRIVER)
|
||||
}
|
||||
@@ -1,16 +1,15 @@
|
||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||
let
|
||||
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
||||
in
|
||||
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Copy the actual kitty.conf (not a symlink)
|
||||
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
||||
(builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf")
|
||||
];
|
||||
# Copy the main kitty.conf
|
||||
xdg.configFile."kitty/kitty.conf".text = builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
||||
|
||||
# Copy the Stylix-generated Catppuccin Mocha theme
|
||||
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{ pkgs, flakeRoot, ... }:
|
||||
|
||||
{
|
||||
programs.stylix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Stylix GTK target
|
||||
stylix.targets.gtk.enable = true;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
nix.settings = {
|
||||
extra-experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Example for terminal (NVF = Neovim/terminal flavor)
|
||||
stylix.targets.nvf.enable = true;
|
||||
# Optional: feh wallpaper integration
|
||||
stylix.targets.feh.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user