dotfiles.nix/overlays/colors.nix

11 lines
237 B
Nix
Raw Normal View History

2022-11-20 22:07:02 +00:00
_final: prev: {
2022-01-23 01:32:58 +00:00
lib = prev.lib // {
colors = {
2022-02-12 07:20:19 +00:00
tokyonight = import ./colors/tokyonight.nix;
2022-01-23 01:32:58 +00:00
};
};
is-dark-mode = prev.writeShellScriptBin "is-dark-mode" ''
defaults read -g AppleInterfaceStyle &>/dev/null
'';
}