Updated to avoid IFD
This commit is contained in:
		
							parent
							
								
									f41904260b
								
							
						
					
					
						commit
						379f8ae23e
					
				
					 4 changed files with 11 additions and 5 deletions
				
			
		|  | @ -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"];}; | ||||
|  |  | |||
|  | @ -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 = [ | ||||
|         { | ||||
|  |  | |||
|  | @ -1,3 +1,5 @@ | |||
| @import "./catppuccin.css"; | ||||
| 
 | ||||
| * { | ||||
|     border: none; | ||||
|     font-family: Hack Nerd Font, sans-serif; | ||||
|  |  | |||
|  | @ -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"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue