From 651030fd753934b0d9413a7f4dc6e65f9fbc4078 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Sat, 26 Apr 2025 12:09:55 +0200 Subject: [PATCH] [Setup] Improve script --- setup | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/setup b/setup index 9f77b42..39ec46c 100755 --- a/setup +++ b/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