commit 402aec2d4b73eaab912c002830f66858a72592e5 parent b00dd4185ccf1cace615363e4952241d51bfc761 Author: Alex Balgavy <EMAIL> Date: Mon, 12 Aug 2019 13:17:33 +0200 vim: dark by default, even if osascript fails Former-commit-id: 612dc8e967a284d4922b3faae5d88be82660150a Diffstat:
M | vim/vimrc | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc @@ -238,10 +238,10 @@ if has('termguicolors') set termguicolors endif -if system("osascript -e 'tell application \"System Events\" to tell appearance preferences to return (get dark mode as text)'") == "true\n" - colorscheme junipero -else +if system("osascript -e 'tell application \"System Events\" to tell appearance preferences to return (get dark mode as text)'") == "false\n" colorscheme jokull +else + colorscheme junipero endif " where to find tags files