1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-28 05:41:49 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
juan
58d208c204 Update Zsh Home dir to XDG standard 2022-04-16 19:18:52 +08:00
juan
641645f1f2 change accent color from pink 2022-04-16 12:54:15 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,7 @@ exec_always {
#set colour #set colour
#color class border backgr. text indicator child_border #color class border backgr. text indicator child_border
client.focused #87c095 #2a2f33 #bfddb2 #415c6d #d39bb6 client.focused #87c095 #2a2f33 #bfddb2 #415c6d #bfddb2
client.focused_inactive #3f464b #2a2f33 #bfddb2 #415c6d #3f464b client.focused_inactive #3f464b #2a2f33 #bfddb2 #415c6d #3f464b
client.unfocused #3f464b #2a2f33 #bfddb2 #415c6d #3f464b client.unfocused #3f464b #2a2f33 #bfddb2 #415c6d #3f464b
client.urgent #d76e6e #2a2f33 #bfddb2 #415c6d #e68183 client.urgent #d76e6e #2a2f33 #bfddb2 #415c6d #e68183

5
.zshrc
View File

@ -4,14 +4,15 @@ echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' < /etc/os-release )
echo '\033[0;34m @ '$HOST echo '\033[0;34m @ '$HOST
#Install zinit if no zinit is present #Install zinit if no zinit is present
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
if [[ ! -f $ZINIT_HOME/zinit.zsh ]]; then
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f" print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f"
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit" command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit"
command git clone https://github.com/zdharma-continuum/zinit "$HOME/.zinit/bin" && \ command git clone https://github.com/zdharma-continuum/zinit "$HOME/.zinit/bin" && \
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \ print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \
print -P "%F{160}▓▒░ The clone has failed.%f%b" print -P "%F{160}▓▒░ The clone has failed.%f%b"
fi fi
source "$HOME/.zinit/bin/zinit.zsh" source "$ZINIT_HOME/zinit.zsh"
zinit ice lucid wait zinit ice lucid wait
zinit light zdharma-continuum/fast-syntax-highlighting zinit light zdharma-continuum/fast-syntax-highlighting