Updated to avoid IFD
This commit is contained in:
parent
f41904260b
commit
379f8ae23e
|
@ -16,7 +16,11 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
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 = {
|
font = {
|
||||||
size = 12;
|
size = 12;
|
||||||
package = pkgs.nerdfonts.override {fonts = ["Hack"];};
|
package = pkgs.nerdfonts.override {fonts = ["Hack"];};
|
||||||
|
|
|
@ -20,13 +20,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
xdg.configFile."waybar/catppuccin.css".source = "${pkgs.aa.catppuccin-waybar}/catppuccin.css";
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
|
||||||
style =
|
style = builtins.readFile ./waybar_style.css;
|
||||||
builtins.readFile "${pkgs.aa.catppuccin-waybar}/catppuccin.css"
|
|
||||||
+ builtins.readFile ./waybar_style.css;
|
|
||||||
|
|
||||||
settings = [
|
settings = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "./catppuccin.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
font-family: Hack Nerd Font, sans-serif;
|
font-family: Hack Nerd Font, sans-serif;
|
||||||
|
|
|
@ -21,7 +21,7 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
widgets = ["title" "dnd" "notifications" "mpris"];
|
widgets = ["title" "dnd" "notifications" "mpris"];
|
||||||
};
|
};
|
||||||
style = builtins.readFile "${pkgs.aa.catppuccin-swaync}/catppuccin.css";
|
style = "${pkgs.aa.catppuccin-swaync}/catppuccin.css";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue