From ca7d25bfb4174e11da3def6a42cf828a704ef85d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 17 Sep 2024 00:21:34 +0900 Subject: simplified quickedit; some formatting tweak --- config/hypr/UserConfigs/UserDecorAnimations.conf | 13 ++-- config/hypr/UserScripts/QuickEdit.sh | 89 ++++++++++-------------- 2 files changed, 45 insertions(+), 57 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/UserDecorAnimations.conf b/config/hypr/UserConfigs/UserDecorAnimations.conf index 88224473..ef43fd6e 100644 --- a/config/hypr/UserConfigs/UserDecorAnimations.conf +++ b/config/hypr/UserConfigs/UserDecorAnimations.conf @@ -22,16 +22,17 @@ decoration { drop_shadow = true shadow_range = 6 shadow_render_power = 1 + col.shadow = $color12 col.shadow_inactive = 0x50000000 blur { - enabled = true - size = 6 - passes = 2 - ignore_opacity = true - new_optimizations = true - special = true + enabled = true + size = 6 + passes = 2 + ignore_opacity = true + new_optimizations = true + special = true } } diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh index 6320218b..c8168ca3 100755 --- a/config/hypr/UserScripts/QuickEdit.sh +++ b/config/hypr/UserScripts/QuickEdit.sh @@ -1,66 +1,53 @@ #!/bin/bash -# Rofi menu for Quick Edit / View of Settings (SUPER E) +# Rofi menu for Quick Edit/View of Settings (SUPER E) -# define your preferred text editor and terminal to use -editor=${EDITOR:-nano} +# Define preferred text editor and terminal +edit=${EDITOR:-nano} tty=kitty +# Paths to configuration directories configs="$HOME/.config/hypr/configs" UserConfigs="$HOME/.config/hypr/UserConfigs" -menu(){ - printf "1. edit Env-variables\n" - printf "2. edit Window-Rules\n" - printf "3. edit Startup_Apps\n" - printf "4. edit User-Keybinds\n" - printf "5. edit Monitors\n" - printf "6. edit Laptop-Keybinds\n" - printf "7. edit User-Settings\n" - printf "8. edit Decorations & Animations\n" - printf "9. edit Workspace-Rules\n" - printf "10. edit Default-Settings\n" - printf "11. edit Default-Keybinds\n" +# Function to display the menu options +menu() { + cat < Date: Tue, 17 Sep 2024 08:24:23 +0900 Subject: bump to v2.3.6-D development --- config/hypr/v2.3.6 | 5 ----- config/hypr/v2.3.6-D | 5 +++++ config/waybar/Modules | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 config/hypr/v2.3.6 create mode 100644 config/hypr/v2.3.6-D (limited to 'config/hypr') diff --git a/config/hypr/v2.3.6 b/config/hypr/v2.3.6 deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.3.6 +++ /dev/null @@ -1,5 +0,0 @@ -### https://github.com/JaKooLit ### -## https://github.com/JaKooLit/Hyprland-Dots -## This is to have a reference of which version would be - -## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/hypr/v2.3.6-D b/config/hypr/v2.3.6-D new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.3.6-D @@ -0,0 +1,5 @@ +### https://github.com/JaKooLit ### +## https://github.com/JaKooLit/Hyprland-Dots +## This is to have a reference of which version would be + +## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/waybar/Modules b/config/waybar/Modules index e825e53b..933f8a8d 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -539,7 +539,7 @@ "custom/swaync": { "tooltip": true, "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb", - "format": "{} {icon}", + "format": "{}{icon}", "format-icons": { "notification": "", "none": "", -- cgit v1.2.3 From 51e38a67c423d5cb6eabb8fe9f45e296d3a5a49a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 17 Sep 2024 09:31:37 +0900 Subject: updated WindorRules.conf --- config/hypr/UserConfigs/WindowRules.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 869162da..26b7a7c2 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -49,7 +49,8 @@ windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress) windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files) windowrulev2 = float, class:(xdg-desktop-portal-gtk) windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) -windowrulev2 = float, class:(codium|codium-url-handler|VSCodium), title:(Add Folder to Workspace) +windowrulev2 = float, class:(codium|codium-url-handler|VSCodium|code-oss), title:(Add Folder to Workspace) +windowrulev2 = float, class:(electron), title:(Add Folder to Workspace) windowrulev2 = float, class:^([Rr]ofi)$ windowrulev2 = float, class:^(eog|org.gnome.Loupe)$ # image viewer windowrulev2 = float, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$ @@ -85,7 +86,7 @@ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.8 0.7, class:^(gedit|org.gnome.TextEditor|mousepad)$ windowrulev2 = opacity 0.9 0.8, class:^(deluge)$ windowrulev2 = opacity 0.8 0.7, class:^(Alacritty|kitty|kitty-dropterm)$ # Terminals -windowrulev2 = opacity 0.9 0.7, class:^(VSCodium|codium-url-handler)$ +windowrulev2 = opacity 0.9 0.7, class:^(VSCodium|codium-url-handler|code-oss)$ windowrulev2 = opacity 0.9 0.8, class:^(nwg-look|qt5ct|qt6ct|[Yy]ad)$ windowrulev2 = opacity 0.9 0.8, title:(Kvantum Manager) windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$ -- cgit v1.2.3 From c7080c15b27bf58dbf36c51e272369d1d0bf7c9c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 17 Sep 2024 09:46:56 +0900 Subject: copy patch --- config/hypr/v2.3.6 | 5 +++++ config/hypr/v2.3.6-D | 5 ----- copy.sh | 39 ++++++++++++++++++++++++++------------- 3 files changed, 31 insertions(+), 18 deletions(-) create mode 100644 config/hypr/v2.3.6 delete mode 100644 config/hypr/v2.3.6-D (limited to 'config/hypr') diff --git a/config/hypr/v2.3.6 b/config/hypr/v2.3.6 new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.3.6 @@ -0,0 +1,5 @@ +### https://github.com/JaKooLit ### +## https://github.com/JaKooLit/Hyprland-Dots +## This is to have a reference of which version would be + +## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/hypr/v2.3.6-D b/config/hypr/v2.3.6-D deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.3.6-D +++ /dev/null @@ -1,5 +0,0 @@ -### https://github.com/JaKooLit ### -## https://github.com/JaKooLit/Hyprland-Dots -## This is to have a reference of which version would be - -## note that this will always be higher than the released versions \ No newline at end of file diff --git a/copy.sh b/copy.sh index 64d8f7e6..45b614f9 100755 --- a/copy.sh +++ b/copy.sh @@ -333,7 +333,7 @@ printf "\n" # Copy Config Files # set -e # Exit immediately if a command exits with a non-zero status. -printf "${NOTE} - copying dotfiles\n" +printf "${NOTE} - Copying dotfiles first part\n" # Function to create a unique backup directory name with month, day, hours, and minutes get_backup_dirname() { @@ -342,9 +342,17 @@ get_backup_dirname() { echo "back-up_${timestamp}" } -for DIR in btop cava hypr Kvantum qt5ct qt6ct swappy wallust wlogout; do +# Check if the config directory exists +if [ ! -d "config" ]; then + echo "${ERROR} - The 'config' directory does not exist." + exit 1 +fi + +for DIR in btop cava hypr Kvantum qt5ct qt6ct swappy wallust wlogout; do DIRPATH=~/.config/"$DIR" - if [ -d "$DIRPATH" ]; then + + # Backup the existing directory if it exists + if [ -d "$DIRPATH" ]; then echo -e "${NOTE} - Config for $DIR found, attempting to back up." BACKUP_DIR=$(get_backup_dirname) @@ -352,23 +360,28 @@ for DIR in btop cava hypr Kvantum qt5ct qt6ct swappy wallust wlogout; do mv "$DIRPATH" "$DIRPATH-backup-$BACKUP_DIR" 2>&1 | tee -a "$LOG" if [ $? -eq 0 ]; then echo -e "${NOTE} - Backed up $DIR to $DIRPATH-backup-$BACKUP_DIR." - - # Copy new config - cp -r config/"$DIR" ~/.config/"$DIR" 2>&1 | tee -a "$LOG" - if [ $? -eq 0 ]; then - echo "${OK} - Copy of config for $DIR completed!" - else - echo "${ERROR} - Failed to copy $DIR." - exit 1 - fi else echo "${ERROR} - Failed to back up $DIR." exit 1 fi fi + + # Copy the new config + if [ -d "config/$DIR" ]; then + cp -r "config/$DIR" ~/.config/"$DIR" 2>&1 | tee -a "$LOG" + if [ $? -eq 0 ]; then + echo "${OK} - Copy of config for $DIR completed!" + else + echo "${ERROR} - Failed to copy $DIR." + exit 1 + fi + else + echo "${ERROR} - Directory config/$DIR does not exist to copy." + exit 1 + fi done -printf "\n%.0s" {1..1} +printf "\n" printf "${NOTE} - copying dotfiles second part\n" -- cgit v1.2.3