blob: 589c3a375b566be3e532a5cc56f98ad59d7f9131 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME=""
# Plguins
plugins=(
git
fzf
zsh-autosuggestions
zsh-syntax-highlighting
)
# oh-my-zsh setting
source $ZSH/oh-my-zsh.sh
# Autosuggest config
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
# Aliases
alias open='xdg-open'
alias ls="eza -lha --icons"
alias ll="eza -lh --icons"
alias la="eza -lha --icons"
alias tree="eza --tree --icons"
# Theme
wallust() {
command wallust run "$@"
cat > ~/.config/btop/themes/wallust.theme << EOF
main_bg="#$(grep -m1 '^color0' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
main_fg="#$(grep -m1 '^color15' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
title_bg="#$(grep -m1 '^color0' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
title_fg="#$(grep -m1 '^color15' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
highlight_bg="#$(grep -m1 '^color1' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
highlight_fg="#$(grep -m1 '^color15' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
progress_fg="#$(grep -m1 '^color2' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
progress_bg="#$(grep -m1 '^color0' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
graph_bg="#$(grep -m1 '^color0' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
graph_fg="#$(grep -m1 '^color1' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
box_bg="#$(grep -m1 '^color0' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
box_fg="#$(grep -m1 '^color7' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
misc_fg="#$(grep -m1 '^color7' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
selected_fg="#$(grep -m1 '^color0' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
selected_bg="#$(grep -m1 '^color4' ~/.cache/wallust/colors.sh | grep -oE '#[0-9a-fA-F]{6}')"
EOF
}
# Walllust installation
export PATH="$HOME/.cargo/bin:$PATH"
# Swing Music installation
export PATH="/home/seraphim/.local/bin:$PATH"
eval "$(starship init zsh)"
|