added new fetch and fetchconf commands, to customize fastfetch

This commit is contained in:
2026-06-02 21:40:04 +02:00
parent 8f0fdffcad
commit cd1e8a11f9
90 changed files with 4747 additions and 191 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
SRC_DIR="$HOME/.config/sdgos/fastfetch/gen"
CONF_DIR="$HOME/.config/sdgos/fastfetch/conf"
LOGO=$(cat ~/.config/fetch.state | cut -d: -f1)
CONF=$(cat ~/.config/fetch.state | cut -d: -f2)
#echo "logo is $SRC_DIR/$LOGO, conf is $CONF_DIR/$CONF"
if [ "$LOGO" == "none" ]; then
fastfetch -l none -c $CONF_DIR/$CONF
else
fastfetch -l $SRC_DIR/$LOGO -c $CONF_DIR/$CONF
fi