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

Compare commits

..

No commits in common. "58d208c20458df8af3f3f4dcb8b19011710ba6ba" and "92797eb03dd911016cb50fb30b7c3a0e8fbe932d" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

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

5
.zshrc
View File

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