[Build] Fix up

This commit is contained in:
2025-04-25 16:33:48 +02:00
parent 7f21fb3ee3
commit 9f754b454b
3 changed files with 6 additions and 6 deletions

8
setup
View File

@@ -28,11 +28,12 @@ echo "
platform=""
if [[ -f ~/.config/platform ]]; then
echo "Config type already selected, skipping"
platform=$(cat ~/.config/platform)
else
read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform
echo "$platform" > ~/.config/platform
fi
platform=$(echo "$content" | tr '[:upper:]' '[:lower:]')
platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]')
# Get user preference for regenerating the styling
regen=""
@@ -43,9 +44,7 @@ if [ $regen == "y" ]; then
cd ..
fi
echo "
=> Moving configs to correct destinations
"
echo "=> Moving configs to correct destinations"
killall swaybg
cp -r ./config/fish ~/.config/
cp -r ./config/hypr ~/.config/
@@ -54,6 +53,7 @@ cp -r ./config/hypr ~/.config/
if [[ "$platform" == "d" ]]; then
mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf
rm ~/.config/hypr/hyprland_*
echo "Running on desktop"
else
mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf
rm ~/.config/hypr/hyprland_*