aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcopy.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/copy.sh b/copy.sh
index 8b5f454d..62cc73a6 100755
--- a/copy.sh
+++ b/copy.sh
@@ -99,8 +99,8 @@ while true; do
case $confirm in
[yY])
# If the detected layout is correct, update the 'kb_layout=' line in the file
- awk -v layout="$layout" '/kb_layout/ {$0 = " kb_layout=" layout} 1' config/hypr/UserConfigs/Settings.conf > temp.conf
- mv temp.conf config/hypr/UserConfigs/Settings.conf
+ awk -v layout="$layout" '/kb_layout/ {$0 = " kb_layout=" layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf
+ mv temp.conf config/hypr/UserConfigs/UserSettings.conf
break ;;
[nN])
printf "\n%.0s" {1..2}
@@ -112,8 +112,8 @@ while true; do
printf "\n%.0s" {1..2}
read -p "${CAT} - Please enter the correct keyboard layout: " new_layout
# Update the 'kb_layout=' line with the correct layout in the file
- awk -v new_layout="$new_layout" '/kb_layout/ {$0 = " kb_layout=" new_layout} 1' config/hypr/UserConfigs/Settings.conf > temp.conf
- mv temp.conf config/hypr/UserConfigs/Settings.conf
+ awk -v new_layout="$new_layout" '/kb_layout/ {$0 = " kb_layout=" new_layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf
+ mv temp.conf config/hypr/UserConfigs/UserSettings.conf
break ;;
*)
echo "Please enter either 'y' or 'n'." ;;
@@ -253,7 +253,7 @@ else
fi
# symlinks for waybar style
-ln -sf $Waybar_Style "$HOME/.config/waybar/style.css" && \
+ln -sf "$Waybar_Style" "$HOME/.config/waybar/style.css" && \
# initialize pywal to avoid config error on hyprland
wal -i $wallpaper -s -t 2>&1 | tee -a "$LOG"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage