[Setup] Improve script
This commit is contained in:
parent
212296a7d5
commit
651030fd75
12
setup
12
setup
@ -53,15 +53,22 @@ echo "=> Moving configs to correct destinations"
|
||||
killall swaybg
|
||||
cp -r ./config/fish ~/.config/
|
||||
cp -r ./config/hypr ~/.config/
|
||||
rm -rf ~/.config/rofi/
|
||||
cp -r ./config/rofi ~/.config/
|
||||
|
||||
# Depending on platform, remove one or the other config and rename remaining one
|
||||
if [[ "$platform" == "d" ]]; then
|
||||
echo "Running on desktop"
|
||||
mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf
|
||||
rm ~/.config/hypr/hyprland_*
|
||||
echo "Running on desktop"
|
||||
mv ~/.config/rofi/config_desktop.rasi ~/.config/rofi/config.rasi
|
||||
rm ~/.config/rofi/config_*
|
||||
else
|
||||
echo "Running on laptop"
|
||||
mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf
|
||||
rm ~/.config/hypr/hyprland_*
|
||||
mv ~/.config/rofi/config_laptop.rasi ~/.config/rofi/config.rasi
|
||||
rm ~/.config/rofi/config_*
|
||||
fi
|
||||
|
||||
cp -r ./config/kitty ~/.config/
|
||||
@ -73,9 +80,6 @@ cp -r ./config/wlogout/ ~/.config/
|
||||
cp -r ./config/yazi ~/.config/
|
||||
cp -r ./config/zathura ~/.config/
|
||||
|
||||
echo "
|
||||
=> Bundling Astal projects
|
||||
"
|
||||
|
||||
echo "
|
||||
=> Installing yazi plugins
|
||||
|
Loading…
x
Reference in New Issue
Block a user