diff options
-rw-r--r-- | home.nix | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -109,13 +109,19 @@ "fugitive" ]; settings = { - background = "light"; ignorecase = true; expandtab = true; history = 1000; tabstop = 4; }; extraConfig = '' + " Auto-switch theme + let hour = strftime("%H") + if 6 <= hour && hour < 18 + set background=light + else + set background=dark + endif colorscheme solarized filetype plugin indent on set cuc cul " Crosshair |