Skip to content

Commit

Permalink
Unify dark mode better
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Apr 25, 2024
1 parent 5dcc04c commit 2f5e7f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion home/cinnamon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ in {

dark-mode = mkOption {
type = types.bool;
default = true;
default = config.me.is-dark-theme;
};
};
config = let
Expand Down
4 changes: 1 addition & 3 deletions home/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ in {
# custom properties
me =
{
dark-mode = true;
font-name = "JetBrains Mono";
font-style = "Semibold";
font-size =
Expand All @@ -100,14 +99,13 @@ in {
browser = "brave";
terminal = "alacritty";
};
is-dark-theme = true;
is-dark-theme = false;
}
// (
if isLinux
then {
wm.cinnamon = {
enable = true;
dark-mode = true;
};
wm.bspwm.enable = true;
}
Expand Down

0 comments on commit 2f5e7f7

Please sign in to comment.