commit 2b067a2629360a597a8797c594f3051414809b7c
parent cc3fa2df2d34dd3d0e37507e7e4a97e0ee4d1d28
Author: Alex Balgavy <EMAIL>
Date: Sat, 7 Sep 2019 15:59:00 -0400
vim: also check with gnome-terminal for colorscheme setting
Former-commit-id: 7983352baf152e11f06c7310d02566c9fd21f7e9
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -239,6 +239,8 @@ endif
if system("osascript -e 'tell application \"System Events\" to tell appearance preferences to return (get dark mode as text)'") == "false\n"
colorscheme jokull
+elseif system("gsettings get org.gnome.Terminal.Legacy.Settings theme-variant") == "'light'\n"
+ colorscheme jokull
else
colorscheme junipero
endif