Updated to avoid IFD

This commit is contained in:
alejandro-angulo 2024-08-17 22:28:50 -07:00
parent f41904260b
commit 379f8ae23e
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 11 additions and 5 deletions

View file

@ -16,7 +16,11 @@ in {
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
catppuccin.enable = true;
# Set theme with `extraConfig` instead of `theme` to avoid IFD.
# See here: https://github.com/nix-community/home-manager/issues/5110
extraConfig = ''
include ${pkgs.kitty-themes}/share/kitty-themes/themes/Catppuccin-Mocha.conf
'';
font = {
size = 12;
package = pkgs.nerdfonts.override {fonts = ["Hack"];};

View file

@ -20,13 +20,13 @@ in {
};
config = mkIf cfg.enable {
xdg.configFile."waybar/catppuccin.css".source = "${pkgs.aa.catppuccin-waybar}/catppuccin.css";
programs.waybar = {
enable = true;
systemd.enable = true;
style =
builtins.readFile "${pkgs.aa.catppuccin-waybar}/catppuccin.css"
+ builtins.readFile ./waybar_style.css;
style = builtins.readFile ./waybar_style.css;
settings = [
{

View file

@ -1,3 +1,5 @@
@import "./catppuccin.css";
* {
border: none;
font-family: Hack Nerd Font, sans-serif;

View file

@ -21,7 +21,7 @@ in {
settings = {
widgets = ["title" "dnd" "notifications" "mpris"];
};
style = builtins.readFile "${pkgs.aa.catppuccin-swaync}/catppuccin.css";
style = "${pkgs.aa.catppuccin-swaync}/catppuccin.css";
};
};
}