aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-12-29 00:50:22 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-12-29 00:50:22 +0900
commit5fbd31f6b74092b2a253de80e386afe9bc397a80 (patch)
treed08252c5eb6bde87d5af9b4a14266efdcd29cc0d
parentf0771edf369d3ea51e3322acb9a5baa456f732b1 (diff)
updated copy.sh
-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