diff options
| author | Ja.KooLit <ejhay.games@gmail.com> | 2023-12-29 00:50:22 +0900 |
|---|---|---|
| committer | Ja.KooLit <ejhay.games@gmail.com> | 2023-12-29 00:50:22 +0900 |
| commit | 5fbd31f6b74092b2a253de80e386afe9bc397a80 (patch) | |
| tree | d08252c5eb6bde87d5af9b4a14266efdcd29cc0d | |
| parent | f0771edf369d3ea51e3322acb9a5baa456f732b1 (diff) | |
updated copy.sh
| -rwxr-xr-x | copy.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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" |
