update hyrrokkin theme and add startx

This commit is contained in:
2019-06-22 04:35:41 -04:00
parent fc6cc92756
commit 7af7933c29

View File

@@ -1,3 +1,6 @@
# start the x server if we're on tty0 and nothing is running
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
# make sure antigen exists # make sure antigen exists
if [[ ! -a ~/.antigen.zsh ]]; then if [[ ! -a ~/.antigen.zsh ]]; then
wget https://git.io/antigen -O ~/.antigen.zsh wget https://git.io/antigen -O ~/.antigen.zsh
@@ -5,8 +8,16 @@ fi
# powerlevel9k config # powerlevel9k config
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir virtualenv vcs) POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(status context dir virtualenv vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status battery root_indicator background_jobs) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(root_indicator background_jobs)
POWERLEVEL9K_STATUS_OK=false
POWERLEVEL9K_VIRTUALENV_BACKGROUND=028
# Host-specific configuration
if [[ $HOST -eq 'hyrrokkin' ]]; then
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=051
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=000
fi
# load in antigen # load in antigen
source ~/.antigen.zsh source ~/.antigen.zsh