dotfiles.nix/overlays/colors.nix

9 lines
227 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 // {
2023-08-23 00:50:29 +00:00
colors = { 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
'';
}