[Build] Do full build
This commit is contained in:
13
setup
13
setup
@@ -26,7 +26,9 @@ echo "
|
||||
|
||||
# Read platform to install on (only if no platform file present in ~/.config/)
|
||||
platform=""
|
||||
if [ -f "~/.config/platform" ]; then
|
||||
if [[ -f ~/.config/platform ]]; then
|
||||
echo "Config type already selected, skipping"
|
||||
else
|
||||
read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform
|
||||
echo "$platform" > ~/.config/platform
|
||||
fi
|
||||
@@ -44,14 +46,15 @@ fi
|
||||
echo "
|
||||
=> Moving configs to correct destinations
|
||||
"
|
||||
killall swaybg
|
||||
cp -r ./config/fish ~/.config/
|
||||
cp -r ./config/hypr ~/.config/
|
||||
|
||||
# Depending on platform, remove one or the other config and rename remaining one
|
||||
if [ $platform == "d" ]; then
|
||||
if [[ "$platform" == "d" ]]; then
|
||||
mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf
|
||||
rm ~/.config/hypr/hyprland_*
|
||||
else then
|
||||
else
|
||||
mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf
|
||||
rm ~/.config/hypr/hyprland_*
|
||||
fi
|
||||
@@ -74,13 +77,13 @@ echo "
|
||||
=> Installing GTK Theme
|
||||
"
|
||||
sudo rm -rf /usr/share/themes/Adaptive-Theme/
|
||||
sudo mkdir /usr/share/themes/
|
||||
sudo mkdir /usr/share/themes/Adaptive-Theme/
|
||||
sudo cp -r ./gtk-theme/dist/* /usr/share/themes/Adaptive-Theme/
|
||||
|
||||
echo "
|
||||
=> Installing System Configs
|
||||
"
|
||||
sudo echo "$(cat ./system/environment)" > /etc/environment
|
||||
sudo cp ./system/environment /etc/environment
|
||||
|
||||
echo "
|
||||
|
||||
|
Reference in New Issue
Block a user