Add fastfetch config

Check on config file

Add migration
This commit is contained in:
Luca Pattocchio
2024-08-22 18:32:47 +02:00
parent 54c8a75cf9
commit 700bbdda8e
3 changed files with 161 additions and 0 deletions

View File

@@ -2,3 +2,10 @@
sudo add-apt-repository -y ppa:zhangsongcui3371/fastfetch
sudo apt update -y
sudo apt install -y fastfetch
# Only attempt to set configuration if fastfetch is not already set
if [ ! -f "$HOME/.config/fastfetch/config.jsonc" ]; then
# Use Omakub fastfetch config
mkdir -p ~/.config/fastfetch
cp ~/.local/share/omakub/configs/fastfetch.jsonc ~/.config/fastfetch/config.jsonc
fi