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)
88vim_bg=(light dark)
99bat_themes=(OneHalfLight default)
1010kitten_themes=(" Solarized Light" Ayu)
11+ sublime_themes=(" gruvbox (Light) (Medium) NDC.sublime-color-scheme" " gruvbox (Dark) (Medium) NDC.sublime-color-scheme" )
1112
1213if [[ " ${new_mode} " == " light" ]]; then
1314 theme_index=0
@@ -27,3 +28,6 @@ sed -i -r "/^set background=/c set background=${vim_bg[$theme_index]}" ~/.vimrc
2728
2829# bat --list-themes to see what's available
2930sed -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