Adapting theme.css
This commit is contained in:
+7
-9
@@ -1371,17 +1371,15 @@ This is top file of this level which contains just an import statement for all r
|
||||
This file sets up Kitty terminal
|
||||
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/kitty.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
kittyConf = "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
||||
in
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# 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
|
||||
programs.kitty.enable = true;
|
||||
# Use `.source` for store path files (flake-safe)
|
||||
xdg.configFile."kitty/kitty.conf".source = kittyConf;
|
||||
# Optional: if you have a theme
|
||||
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user