commit 5dfe6d34f723c4ab741845aee366d3ccad600cb3
parent 4a06142710eddaf4c3a83d6225a28308b6d55433
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 1 Aug 2019 18:17:48 +0200
commonprofile: get rid of THEME
Former-commit-id: d8b4157e33590a7574ef628afc75dac1a317e9f9
Diffstat:
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/shell/commonprofile b/shell/commonprofile
@@ -8,19 +8,12 @@
export \
PATH GOPATH \
- DOTFILES MUSIC_DIR THEME \
+ DOTFILES MUSIC_DIR \
EDITOR HOMEBREW_EDITOR \
VIRTUALENVWRAPPER_PYTHON PIP_REQUIRE_VIRTUALENV WORKON_HOME VIRTUALENVWRAPPER_SCRIPT\
CASK_REPO \
SHELLCHECK_OPTS
-# Set the general theme
-if [ $(osascript -e 'tell app "System Events" to tell appearance preferences to get dark mode') = 'true' ]; then
- THEME="DARK"
-else
- THEME="LIGHT"
-fi
-
# Add API keys and stuff
if [ -f "$HOME/.secret_env_variables" ]; then
source "$HOME/.secret_env_variables"