Always set config

This commit is contained in:
David Heinemeier Hansson
2025-05-18 21:04:06 +02:00
parent 73fb9eaf46
commit 3cff8cc594

View File

@@ -1,9 +1,7 @@
# This script installs btop, a resource monitor that shows usage and stats for processor, memory, disks, network and processes.
sudo apt install -y btop
# Only attempt to set configuration if btop is not already set
if [ ! -f "$HOME/.config/btop/btop.conf" ]; then
# Use Omakub btop config
mkdir -p ~/.config/btop
cp ~/.local/share/omakub/configs/btop.conf ~/.config/btop/btop.conf
fi
# Use Omakub btop config
mkdir -p ~/.config/btop
cp ~/.local/share/omakub/configs/btop.conf ~/.config/btop/btop.conf