diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | config/hypr/UserConfigs/00-Readme | 4 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/00-Readme | 4 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/RofiBeats.sh | 6 | ||||
| -rwxr-xr-x | config/hypr/scripts/RofiEmoji.sh | 4 | ||||
| -rwxr-xr-x | copy.sh | 2 | ||||
| -rwxr-xr-x | upgrade.sh | 34 |
7 files changed, 28 insertions, 28 deletions
@@ -94,7 +94,7 @@ curl -sL https://raw.githubusercontent.com/JaKooLit/Hyprland-Dots/main/Distro-Hy ### 💥 Copying / Installation / Update instructions 💥 - [`MORE INFO HERE`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Install_&_Update) > [!Note] -> The auto copy script "copy.sh" will create backups of intended folders to be copied. However, still a good idea to manually backup just incase script failed to backup! +> The auto copy script "copy.sh" will create backups of intended directories to be copied. However, still a good idea to manually backup just incase script failed to backup! - clone this repo by using git. Change directory, make executable and run the script > to download from Master branch diff --git a/config/hypr/UserConfigs/00-Readme b/config/hypr/UserConfigs/00-Readme index 1a20de3c..e989d2bb 100644 --- a/config/hypr/UserConfigs/00-Readme +++ b/config/hypr/UserConfigs/00-Readme @@ -2,9 +2,9 @@ KooL's Hyprland-Dots -1.) Suggest not to rename any files in this folder. As this is connected and being sourced from hyprland.conf in ~/.config/hypr +1.) Suggest not to rename any files in this directory. As this is connected and being sourced from hyprland.conf in ~/.config/hypr -2.) This folder, along with UserScripts folder will NOT be touch when running upgrade.sh +2.) This directory, along with UserScripts directory will NOT be touch when running upgrade.sh 3.) However, if hyprland has a big change in settings, i.e., blur section is moved into another group, you should managed the change yourself. diff --git a/config/hypr/UserScripts/00-Readme b/config/hypr/UserScripts/00-Readme index 7dcd9881..091bac85 100755 --- a/config/hypr/UserScripts/00-Readme +++ b/config/hypr/UserScripts/00-Readme @@ -1,5 +1,5 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # # Place your new scripts here. -# If you need to edit a script from main script (~/.config/hypr/scripts), copy it on this folder, and edit. -# Make sure to update as well the keybinds in ~/.config/hypr/UserConfigs folder if any script is linked to it
\ No newline at end of file +# If you need to edit a script from main script (~/.config/hypr/scripts), copy it on this directory, and edit. +# Make sure to update as well the keybinds in ~/.config/hypr/UserConfigs directory if any script is linked to it
\ No newline at end of file diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 4587e720..b134c8a2 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -106,16 +106,16 @@ fi # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle Play from Music Folder" | rofi -dmenu -config $rofi_theme_1) +user_choice=$(printf "Play from Online Stations\nPlay from Music directory\nShuffle Play from Music directory" | rofi -dmenu -config $rofi_theme_1) case "$user_choice" in - "Play from Music Folder") + "Play from Music directory") play_local_music ;; "Play from Online Stations") play_online_music ;; - "Shuffle Play from Music Folder") + "Shuffle Play from Music directory") shuffle_local_music ;; *) diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh index da9da61f..4570831e 100755 --- a/config/hypr/scripts/RofiEmoji.sh +++ b/config/hypr/scripts/RofiEmoji.sh @@ -1192,8 +1192,8 @@ exit 🖍️ crayon drawing creativity 📝 memo write documents stationery pencil paper writing legal exam quiz test study compose 💼 briefcase business documents work law legal job career -📁 file folder documents business office -📂 open file folder documents load +📁 file directory documents business office +📂 open file directory documents load 🗂️ card index dividers organizing business stationery 📅 calendar calendar schedule 📆 tear off calendar schedule date planning @@ -83,7 +83,7 @@ print_color() { # Set the name of the log file to include the current date and time LOG="Copy-Logs/install-$(date +%d-%H%M%S)_dotfiles.log" -# update home folders +# update home directories xdg-user-dirs-update 2>&1 | tee -a "$LOG" || true # setting up for nvidia @@ -133,39 +133,39 @@ if version_gt "$latest_version" "$stored_version"; then read -r answer if [[ "$answer" =~ ^[Yy]$ ]]; then # Loop through directories for comparison - for source_folder in "${!directories[@]}"; do - target_folder="${directories[$source_folder]}" - echo "$YELLOW Comparing directories: $source_folder and $target_folder" $RESET - # Compare source and target folders - comparison=$(compare_directories "$source_folder" "$target_folder") + for source_directory in "${!directories[@]}"; do + target_directory="${directories[$source_directory]}" + echo "$YELLOW Comparing directories: $source_directory and $target_directory" $RESET + # Compare source and target directories + comparison=$(compare_directories "$source_directory" "$target_directory") if [ -n "$comparison" ]; then - echo "$NOTE Here are difference of $source_folder and $target_folder:" + echo "$NOTE Here are difference of $source_directory and $target_directory:" echo "$comparison" printf "\n%.0s" {1..2} # Prompt user for action - echo "$CAT Do you want to copy files and folders from $source_folder to $target_folder? (Y/N)" + echo "$CAT Do you want to copy files and directories from $source_directory to $target_directory? (Y/N)" read -r answer if [[ "$answer" =~ ^[Yy]$ ]]; then - # Creating backup of the target folder - create_backup "$target_folder" + # Creating backup of the target directory + create_backup "$target_directory" printf "\n%.0s" {1..2} - # Copy differences from source folder to target folder - rsync -av --delete ${exclusions[$source_folder]} "$source_folder" "$target_folder" - echo "$NOTE Differences of "$target_folder" copied successfully." 2>&1 | tee -a "$LOG" + # Copy differences from source directory to target directory + rsync -av --delete ${exclusions[$source_directory]} "$source_directory" "$target_directory" + echo "$NOTE Differences of "$target_directory" copied successfully." 2>&1 | tee -a "$LOG" printf "\n%.0s" {1..2} else - echo "$NOTE No changes were made for $target_folder" 2>&1 | tee -a "$LOG" + echo "$NOTE No changes were made for $target_directory" 2>&1 | tee -a "$LOG" fi else - echo "$OK No differences found between $source_folder and $target_folder" 2>&1 | tee -a "$LOG" + echo "$OK No differences found between $source_directory and $target_directory" 2>&1 | tee -a "$LOG" fi done printf "\n%.0s" {1..2} - echo "$NOTE Files or Folders updated successfully to version $latest_version" 2>&1 | tee -a "$LOG" + echo "$NOTE Files or directories updated successfully to version $latest_version" 2>&1 | tee -a "$LOG" # Set some files as executable chmod +x "$HOME/.config/hypr/scripts/"* 2>&1 | tee -a "$LOG" @@ -173,7 +173,7 @@ if version_gt "$latest_version" "$stored_version"; then # Set executable for initial-boot.sh chmod +x "$HOME/.config/hypr/initial-boot.sh" 2>&1 | tee -a "$LOG" else - echo "$MAGENTA Upgrade declined. No files or folders changed" 2>&1 | tee -a "$LOG" + echo "$MAGENTA Upgrade declined. No files or directories changed" 2>&1 | tee -a "$LOG" fi else echo "$OK 👌 No upgrade found. The installed version ${MAGENTA}($stored_version)${RESET} is up to date with the KooL Hyprland-Dots version ${YELLOW}($latest_version)${RESET}" 2>&1 | tee -a "$LOG" @@ -181,7 +181,7 @@ fi printf "\n%.0s" {1..3} echo "$(tput bold)$(tput setaf 3)ATTENTION!!!! VERY IMPORTANT NOTICE!!!! $(tput sgr0)" -echo "$(tput bold)$(tput setaf 7)If you updated waybar folder, and you have your own waybar layout and styles $(tput sgr0)" +echo "$(tput bold)$(tput setaf 7)If you updated waybar directory, and you have your own waybar layout and styles $(tput sgr0)" echo "$(tput bold)$(tput setaf 7)Copy those files from the created backup ~/.config/waybar-b4-upgrade $(tput sgr0)" echo "$(tput bold)$(tput setaf 7)Make sure to set your waybar and style before logout or reboot $(tput sgr0)" echo "$(tput bold)$(tput setaf 7)SUPER CTRL B for Waybar Styles and SUPER ALT B for Waybar Layout $(tput sgr0)" |
