mirror of
https://github.com/KiTTYsh/dotfiles.git
synced 2025-12-09 20:59:16 -05:00
update hyrrokkin theme and add startx
This commit is contained in:
15
zsh/zshrc
15
zsh/zshrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user