Fix the original spot for themes if someone hadnt run this yet

This commit is contained in:
David Heinemeier Hansson
2025-05-20 12:39:14 +02:00
parent 3dd093cafb
commit bc18827e73

View File

@@ -3,7 +3,7 @@ cp ~/.local/share/omakub/configs/alacritty/btop.toml ~/.config/alacritty/btop.to
# 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
mkdir -p ~/.config/btop/themes
cp ~/.local/share/omakub/configs/btop.conf ~/.config/btop/btop.conf
fi
@@ -18,4 +18,5 @@ if [ -n "$THEME" ] && [ "$THEME" != ">>-skip" ]; then
else
sed -i "s/color_theme = \".*\"/color_theme = \"Default\"/g" ~/.config/btop/btop.conf
fi
fi
fi