File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ vim_themes=(base16-gruvbox-light-soft base16-ashes)
8
8
vim_bg=(light dark)
9
9
bat_themes=(OneHalfLight default)
10
10
kitten_themes=(" Solarized Light" Ayu)
11
+ sublime_themes=(" gruvbox (Light) (Medium) NDC.sublime-color-scheme" " gruvbox (Dark) (Medium) NDC.sublime-color-scheme" )
11
12
12
13
if [[ " ${new_mode} " == " light" ]]; then
13
14
theme_index=0
@@ -27,3 +28,6 @@ sed -i -r "/^set background=/c set background=${vim_bg[$theme_index]}" ~/.vimrc
27
28
28
29
# bat --list-themes to see what's available
29
30
sed -i -r " /^--theme/c --theme ${bat_themes[$theme_index]} " ~ /.config/bat/config
31
+
32
+ # sublime text -- use the switch command
33
+ subl --background --command " select_color_scheme {\" name\" : \" ${sublime_themes[$theme_index]} \" }"
You can’t perform that action at this time.
0 commit comments