mirror of
https://github.com/aljazceru/omakub.git
synced 2026-01-02 20:14:26 +01:00
Add fastfetch config
Check on config file Add migration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user