diff options
-rw-r--r-- | linux.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,9 @@ let solarized-xresources = ./xresources; - theme = builtins.getEnv "XTHEME"; + themeVar = builtins.getEnv "XTHEME"; + defaultTheme = "light"; + theme = if themeVar == "" then defaultTheme else themeVar; colors = { "dark" = { background = "#292b2e"; |