Great work You can also add this to your .bash_profile given that you have the terminal themes you can get theme from https://github.com/tomislav/osx-terminal.app-colors-solarized and :) your good to go day and night
h=$((date +"%H")) if [ "$h" -ge 5 ] && [ "$h" -le 17 ]; then
date +"%H"
osascript <<'END' tell application "Terminal" set current settings of tabs of windows to settings set "Solarized Light" end tell END
else
osascript <<'END' tell application "Terminal" set current settings of tabs of windows to settings set "Solarized Dark" end tell END
Great work
You can also add this to your .bash_profile given that you have the terminal themes
you can get theme from https://github.com/tomislav/osx-terminal.app-colors-solarized
and :) your good to go day and night
h=$((
date +"%H"
))if [ "$h" -ge 5 ] && [ "$h" -le 17 ]; then
osascript <<'END'
tell application "Terminal"
set current settings of tabs of windows to settings set "Solarized Light"
end tell
END
else
osascript <<'END'
tell application "Terminal"
set current settings of tabs of windows to settings set "Solarized Dark"
end tell
END
fi