yep, more dotfiles

kitty: add light/dark theme using xdg.configFile

wiro.world 850ea3f0 f62c4cb0

verified
+10
+10
home-manager/fragments/kitty.nix
··· 1 1 { 2 2 config, 3 3 lib, 4 + pkgs, 4 5 5 6 isDarwin, 6 7 ... ··· 41 42 shell = "zsh -c fish"; 42 43 }; 43 44 }; 45 + 46 + xdg.configFile = 47 + let 48 + kitty-theme = name: "${pkgs.kitty-themes}/share/kitty-themes/themes/${name}.conf"; 49 + in 50 + { 51 + "kitty/dark-theme.auto.conf".source = kitty-theme "Alabaster_Dark"; 52 + "kitty/light-theme.auto.conf".source = kitty-theme "Alabaster"; 53 + }; 44 54 }; 45 55 }