From 94a79a91329b82271466b9e244c89b551c21fd3c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 12 Mar 2025 12:15:24 +0900 Subject: updated --- config/hypr/UserConfigs/Startup_Apps.conf | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index e5fa2bae..aa873f82 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -37,8 +37,6 @@ exec-once = $UserScripts/RainbowBorders.sh # Starting hypridle to start hyprlock exec-once = hypridle -# Start pyprland daemon -exec-once = pypr & # Here are list of features available but disabled by default # exec-once = swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper -- cgit v1.2.3 From 98d197e4e7b14b9800ed21a50003a015bd0c271e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 12 Mar 2025 12:16:44 +0900 Subject: da f --- config/hypr/UserConfigs/UserKeybinds.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 447bcaef..3358e07a 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -37,6 +37,15 @@ bind = $mainMod SHIFT, F, fullscreen # whole full screen bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen bind = $mainMod, SPACE, togglefloating, #Float Mode bind = $mainMod ALT, SPACE, exec, hyprctl dispatch workspaceopt allfloat #All Float Mode +bind = $mainMod SHIFT, Return, exec, [float; move 15% 5%; size 70% 60%] $term # Dropdown terminal + +# Desktop zooming or magnifier +bind = $mainMod ALT, mouse_down, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')" +bind = $mainMod ALT, mouse_up, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')" + +## NOTES for ja (Hyprland version 0.39 (Ubuntu 24.04)) +#bind = $mainMod ALT, mouse_down, exec, hyprctl keyword misc:cursor_zoom_factor "$(hyprctl getoption misc:cursor_zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')" +#bind = $mainMod ALT, mouse_up, exec, hyprctl keyword misc:cursor_zoom_factor "$(hyprctl getoption misc:cursor_zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')" # Waybar / Bar related bind = $mainMod CTRL ALT, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar @@ -55,10 +64,6 @@ bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zs bindln = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) -# pyprland (This is not available in Debian and Ubuntu) -bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal not avail Debian and Ubuntu -bind = $mainMod, Z, exec, pypr zoom # Toggle Desktop Zoom - # For passthrough keyboard into a VM # bind = $mainMod ALT, P, submap, passthru -- cgit v1.2.3 From 9ebbda0bb06c17dfd63d51d46e638beba244eac1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 12 Mar 2025 23:23:28 +0900 Subject: increased and center the YAD sddm settings background --- config/hypr/UserConfigs/WindowRules.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 3eafedbe..67592fee 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -142,7 +142,8 @@ windowrulev2 = center, title:^(Add Folder to Workspace)$ windowrulev2 = float, initialTitle:(Open Files) windowrulev2 = size 70% 60%, initialTitle:(Open Files) windowrulev2 = float, title:^(SDDM Background)$ #KooL's Dots YAD for setting SDDM background -windowrulev2 = size 15% 10%, title:^(SDDM Background)$ #KooL's Dots YAD for setting SDDM background +windowrulev2 = center, title:^(SDDM Background)$ #KooL's Dots YAD for setting SDDM background +windowrulev2 = size 16% 12%, title:^(SDDM Background)$ #KooL's Dots YAD for setting SDDM background # OPACITY windowrulev2 = opacity 0.9 0.7, tag:browser* -- cgit v1.2.3 From 6eb016b046957cdd8d7e559946c140170557f1bc Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Mar 2025 19:29:19 +0900 Subject: updated ENVariables.conf --- config/hypr/UserConfigs/ENVariables.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 3ab9e94e..9df5b424 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -1,10 +1,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # # Environment variables. See https://wiki.hyprland.org/Configuring/Environment-variables/ -# Set your defaults here -#env = EDITOR,vim #default editor -# NOTE: v2.3.13 - this is moved to ~/.config/hypr/UserConfigs/01-UserDefaults.conf -# This line will be removed in v2.3.14 +# Set your defaults editor through ENV in ~/.config/hypr/UserConfigs/01-UserDefaults.conf # environment-variables # Toolkit Backend Variables -- cgit v1.2.3 From 3d952b18971b9e234530abc3734e6a13ef225fe0 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Mar 2025 20:39:08 +0900 Subject: updated windowrules.conf --- config/hypr/UserConfigs/WindowRules.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 67592fee..d15d4d00 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -13,6 +13,7 @@ windowrulev2 = tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$ windowrulev2 = tag +browser, class:^([Tt]horium-browser|[Cc]achy-browser)$ windowrulev2 = tag +browser, class:^(zen-alpha|zen)$ windowrulev2 = tag +notif, class:^(swaync-control-center|swaync-notification-window|swaync-client|class)$ +windowrulev2 = tag +KooL_Cheat, title:^(KooL Quick Cheat Sheet)$ windowrulev2 = tag +KooL_Settings, title:^(KooL Hyprland Settings)$ windowrulev2 = tag +KooL-Settings, class:^(nwg-displays|nwg-look)$ @@ -81,7 +82,7 @@ windowrulev2 = tag +viewer, class:^(eog|org.gnome.Loupe)$ # image viewer # POSITION # windowrulev2 = center,floating:1 # warning, it cause even the menu to float and center. -windowrulev2 = center, title:^(KooL Quick Cheat Sheet)$ +windowrulev2 = center, tag:KooL_Cheat* windowrulev2 = center, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) windowrulev2 = center, title:^(ROG Control)$ windowrulev2 = center, tag:KooL-Settings* @@ -113,7 +114,7 @@ windowrulev2 = workspace 6 silent, class:^(.virt-manager-wrapped)$ windowrulev2 = workspace 9 silent, tag:multimedia* # FLOAT -windowrulev2 = float, title:^(KooL Quick Cheat Sheet)$ +windowrulev2 = float, tag:KooL_Cheat* windowrulev2 = float, tag:wallpaper* windowrulev2 = float, tag:settings* windowrulev2 = float, tag:viewer* @@ -163,7 +164,7 @@ windowrulev2 = opacity 0.95 0.75, title:^(Picture-in-Picture)$ # SIZE -windowrulev2 = size 65% 90%, title:^(KooL Quick Cheat Sheet)$ +windowrulev2 = size 65% 90%, tag:KooL_Cheat* windowrulev2 = size 70% 70%, tag:wallpaper* windowrulev2 = size 70% 70%, tag:settings* windowrulev2 = size 60% 70%, class:^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$ @@ -200,4 +201,4 @@ layerrule = ignorezero, notifications #layerrule = ignorezero, #layerrule = ignorezero, overview -#layerrule = blur, overview +#layerrule = blur, overview \ No newline at end of file -- cgit v1.2.3 From 28b889d4d121d05525b6dbda420f32cbabd63428 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Mar 2025 23:22:23 +0900 Subject: replaced folders//folder with directories/directory --- README.md | 2 +- config/hypr/UserConfigs/00-Readme | 4 ++-- config/hypr/UserScripts/00-Readme | 4 ++-- config/hypr/UserScripts/RofiBeats.sh | 6 +++--- config/hypr/scripts/RofiEmoji.sh | 4 ++-- copy.sh | 2 +- upgrade.sh | 34 +++++++++++++++++----------------- 7 files changed, 28 insertions(+), 28 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/README.md b/README.md index 65dceaac..42430242 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/copy.sh b/copy.sh index ac834ec0..54f6109b 100755 --- a/copy.sh +++ b/copy.sh @@ -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 diff --git a/upgrade.sh b/upgrade.sh index 0039cee6..034d7a2c 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -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)" -- cgit v1.2.3