tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
kitty: add light/dark theme using xdg.configFile
wiro.world
1 month ago
850ea3f0
f62c4cb0
verified
This commit was signed with the committer's
known signature
.
wiro.world
SSH Key Fingerprint:
SHA256:SmMcWpNAnL+VAgItSawvXgdPVn7f1rsyAuB/5VNclKY=
+10
1 changed file
expand all
collapse all
unified
split
home-manager
fragments
kitty.nix
+10
home-manager/fragments/kitty.nix
···
1
1
{
2
2
config,
3
3
lib,
4
4
+
pkgs,
4
5
5
6
isDarwin,
6
7
...
···
41
42
shell = "zsh -c fish";
42
43
};
43
44
};
45
45
+
46
46
+
xdg.configFile =
47
47
+
let
48
48
+
kitty-theme = name: "${pkgs.kitty-themes}/share/kitty-themes/themes/${name}.conf";
49
49
+
in
50
50
+
{
51
51
+
"kitty/dark-theme.auto.conf".source = kitty-theme "Alabaster_Dark";
52
52
+
"kitty/light-theme.auto.conf".source = kitty-theme "Alabaster";
53
53
+
};
44
54
};
45
55
}