docs : better documentation and uploading screenshot.

This commit is contained in:
SeraphimeZelel
2025-09-07 01:19:15 +07:00
parent aa093592e7
commit f583c4a3e4
88 changed files with 39362 additions and 167 deletions

View File

@@ -13,5 +13,4 @@ sed -i "s|^gradient_color_1 = '.*'|gradient_color_1 = '$COLOR1'|" "$CAVA_CONFIG"
sed -i "s|^gradient_color_2 = '.*'|gradient_color_2 = '$COLOR2'|" "$CAVA_CONFIG"
# Auto-Restart CAVA (if it's running)
killall -USR1 cava
killall -USR1 cava

View File

@@ -3,12 +3,12 @@
# Path
WALCSS="$HOME/.cache/wal/colors.css"
BDCSS="$HOME/.config/BetterDiscord/data/stable/custom.css"
TEMPLATE="$HOME/.config/bd-template.css"
HEADER="$HOME/.config/bd-header.css"
TEMPLATE="$HOME/.config/BetterDiscord/bd-template.css"
HEADER="$HOME/.config/BetterDiscord/bd-header.css"
# Overwrite Better Discord Custom CSS using pywal color palette
cat "$HEADER" > "$BDCSS"
echo "" >> "$BDCSS"
cat "$WALCSS" >> "$BDCSS"
echo "" >> "$BDCSS"
cat "$TEMPLATE" >> "$BDCSS"
cat "$TEMPLATE" >> "$BDCSS"

34
.script/fastfetch_auto.sh Executable file
View File

@@ -0,0 +1,34 @@
#!/bin/bash
# ==== Fastfetch Auto ====
CFG="$HOME/.config/fastfetch/config.jsonc"
FLAG="$HOME/.config/fastfetch/.reload_flag"
clear
tput civis # hide cursor
# Make sure cursor comes back if script exits
cleanup() {
tput cnorm
clear
}
trap cleanup INT TERM EXIT
fastfetch
while true; do
# check keyboard input (1 char, timeout 1s)
if read -r -n 1 -t 1 key; then
if [[ $key == "q" ]]; then
break
fi
fi
# check config or flag file
if [ -f "$FLAG" ] || [ "$CFG" -nt "$CFG" ]; then
clear
fastfetch
rm -f "$FLAG"
fi
done