aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-05-24 08:31:13 +0900
committerGitHub <noreply@github.com>2024-05-24 08:31:13 +0900
commita5a45841fa0051a002e104ca27c4c839af9fcd3d (patch)
tree1569341032c34044487e97acaa7fc688d1381385 /copy.sh
parenta31f6e723143c711c12a9e329f33d77ec079994a (diff)
Update copy.sh
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/copy.sh b/copy.sh
index e91e8f07..90c8a078 100755
--- a/copy.sh
+++ b/copy.sh
@@ -248,15 +248,15 @@ chmod +x ~/.config/hypr/UserScripts/* 2>&1 | tee -a "$LOG"
chmod +x ~/.config/hypr/initial-boot.sh 2>&1 | tee -a "$LOG"
printf "\n%.0s" {1..2}
-# Detect machine type and set Waybar configurations accordingly, logging the output
+# Detect machine type and set Waybar configurations accordingly
if hostnamectl | grep -q 'Chassis: desktop'; then
# Configurations for a desktop
- ln -sf $waybar_config "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG"
+ ln -sf "$waybar_config" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG"
rm -r "$HOME/.config/waybar/configs/[TOP] Default Laptop" "$HOME/.config/waybar/configs/[BOT] Default Laptop" 2>&1 | tee -a "$LOG"
rm -r "$HOME/.config/waybar/configs/[TOP] Default Laptop_v2" "$HOME/.config/waybar/configs/[TOP] Default Laptop_v3" 2>&1 | tee -a "$LOG"
else
# Configurations for a laptop or any system other than desktop
- ln -sf $waybar_config_laptop "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG"
+ ln -sf "$waybar_config_laptop" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG"
rm -r "$HOME/.config/waybar/configs/[TOP] Default" "$HOME/.config/waybar/configs/[BOT] Default" 2>&1 | tee -a "$LOG"
rm -r "$HOME/.config/waybar/configs/[TOP] Default_v2" "$HOME/.config/waybar/configs/[TOP] Default_v3" 2>&1 | tee -a "$LOG"
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage