summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-08-18 18:46:52 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-08-18 18:46:52 +0700
commit8154dc023f9d2a0f657b5f2e8e94d59eb7e05f41 (patch)
tree6ab707cd8ebd00c334788ce6987c0529a6cb1787 /zshrc
parent23ef44ef1a033a3414934f0b3b46fe8ae5805932 (diff)
wallust+matugen. Normal color theme for the system
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc/.zshrc28
1 files changed, 25 insertions, 3 deletions
diff --git a/zshrc/.zshrc b/zshrc/.zshrc
index be47620..13469c7 100644
--- a/zshrc/.zshrc
+++ b/zshrc/.zshrc
@@ -112,8 +112,30 @@ alias ls="eza -lha --icons"
alias ll="eza -lh --icons"
alias la="eza -lha --icons"
alias tree="eza --tree --icons"
-eval "$(starship init zsh)"
-
-
+# In your shell startup file
+wallust() {
+ command wallust run "$@"
+ # Regenerate btop theme after wallust runs
+ 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)"