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/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)$ 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 <", "none": "", diff --git a/config/waybar/style/[Black & White] Monochrome.css b/config/waybar/style/[Black & White] Monochrome.css index bdcb7132..ea82bcad 100644 --- a/config/waybar/style/[Black & White] Monochrome.css +++ b/config/waybar/style/[Black & White] Monochrome.css @@ -158,7 +158,6 @@ tooltip label{ #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Catppuccin] Latte.css b/config/waybar/style/[Catppuccin] Latte.css index ac9b186c..5b2ed50d 100644 --- a/config/waybar/style/[Catppuccin] Latte.css +++ b/config/waybar/style/[Catppuccin] Latte.css @@ -130,7 +130,6 @@ window#waybar.empty #window { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #backlight { diff --git a/config/waybar/style/[Catppuccin] Mocha.css b/config/waybar/style/[Catppuccin] Mocha.css index 71d293e9..3e4ef6f7 100644 --- a/config/waybar/style/[Catppuccin] Mocha.css +++ b/config/waybar/style/[Catppuccin] Mocha.css @@ -149,7 +149,6 @@ window#waybar.empty #window { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #bluetooth, diff --git a/config/waybar/style/[Colored] Chroma Glow.css b/config/waybar/style/[Colored] Chroma Glow.css index 6501c23a..084f3b60 100644 --- a/config/waybar/style/[Colored] Chroma Glow.css +++ b/config/waybar/style/[Colored] Chroma Glow.css @@ -269,7 +269,6 @@ label:focus { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #mpd { diff --git a/config/waybar/style/[Colored] Translucent.css b/config/waybar/style/[Colored] Translucent.css index c4c8d3bd..8fc34966 100644 --- a/config/waybar/style/[Colored] Translucent.css +++ b/config/waybar/style/[Colored] Translucent.css @@ -293,7 +293,6 @@ label:focus { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #mpd { diff --git a/config/waybar/style/[Colorful] Aurora Blossom.css b/config/waybar/style/[Colorful] Aurora Blossom.css index d9342bcc..7945138a 100644 --- a/config/waybar/style/[Colorful] Aurora Blossom.css +++ b/config/waybar/style/[Colorful] Aurora Blossom.css @@ -150,7 +150,6 @@ tooltip label{ #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Colorful] Aurora.css b/config/waybar/style/[Colorful] Aurora.css index 0181ebc9..faf38b1a 100644 --- a/config/waybar/style/[Colorful] Aurora.css +++ b/config/waybar/style/[Colorful] Aurora.css @@ -157,7 +157,6 @@ tooltip label{ #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Colorful] Rainbow Spectrum.css b/config/waybar/style/[Colorful] Rainbow Spectrum.css index 77f6aaee..b1bed19f 100644 --- a/config/waybar/style/[Colorful] Rainbow Spectrum.css +++ b/config/waybar/style/[Colorful] Rainbow Spectrum.css @@ -246,7 +246,6 @@ tooltip label{ #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #bluetooth { diff --git a/config/waybar/style/[Dark] Golden Noir.css b/config/waybar/style/[Dark] Golden Noir.css index 6063dc4c..b3b4d515 100644 --- a/config/waybar/style/[Dark] Golden Noir.css +++ b/config/waybar/style/[Dark] Golden Noir.css @@ -176,7 +176,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Dark] Half-Moon.css b/config/waybar/style/[Dark] Half-Moon.css index a41a3267..e06b1ac3 100644 --- a/config/waybar/style/[Dark] Half-Moon.css +++ b/config/waybar/style/[Dark] Half-Moon.css @@ -138,7 +138,6 @@ color: #F3F4F5; #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #bluetooth { diff --git a/config/waybar/style/[Dark] Latte-Wallust combined.css b/config/waybar/style/[Dark] Latte-Wallust combined.css index 937e23bc..775fcb51 100644 --- a/config/waybar/style/[Dark] Latte-Wallust combined.css +++ b/config/waybar/style/[Dark] Latte-Wallust combined.css @@ -353,7 +353,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #clock { diff --git a/config/waybar/style/[Dark] Purpl.css b/config/waybar/style/[Dark] Purpl.css index 3121d4f3..f018a5d8 100644 --- a/config/waybar/style/[Dark] Purpl.css +++ b/config/waybar/style/[Dark] Purpl.css @@ -174,7 +174,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Dark] Wallust Obsidian Edge.css b/config/waybar/style/[Dark] Wallust Obsidian Edge.css index 5382e90c..5af9a161 100644 --- a/config/waybar/style/[Dark] Wallust Obsidian Edge.css +++ b/config/waybar/style/[Dark] Wallust Obsidian Edge.css @@ -179,7 +179,6 @@ tooltip label { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Extra] Crimson.css b/config/waybar/style/[Extra] Crimson.css index dfc4e788..fe8a2fab 100644 --- a/config/waybar/style/[Extra] Crimson.css +++ b/config/waybar/style/[Extra] Crimson.css @@ -170,7 +170,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Extra] Mauve.css b/config/waybar/style/[Extra] Mauve.css index e4ad7808..e3c1fa9f 100644 --- a/config/waybar/style/[Extra] Mauve.css +++ b/config/waybar/style/[Extra] Mauve.css @@ -188,7 +188,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Extra] Rose Pine.css b/config/waybar/style/[Extra] Rose Pine.css index 0ab84867..1266f0f6 100644 --- a/config/waybar/style/[Extra] Rose Pine.css +++ b/config/waybar/style/[Extra] Rose Pine.css @@ -170,7 +170,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #backlight { diff --git a/config/waybar/style/[Extra] Simple Pink.css b/config/waybar/style/[Extra] Simple Pink.css index 0fa389f8..64b44378 100644 --- a/config/waybar/style/[Extra] Simple Pink.css +++ b/config/waybar/style/[Extra] Simple Pink.css @@ -181,7 +181,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Light] Monochrome Contrast.css b/config/waybar/style/[Light] Monochrome Contrast.css index 61acc9ae..0567a54e 100644 --- a/config/waybar/style/[Light] Monochrome Contrast.css +++ b/config/waybar/style/[Light] Monochrome Contrast.css @@ -162,7 +162,6 @@ tooltip label{ #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Light] Obsidian Glow.css b/config/waybar/style/[Light] Obsidian Glow.css index a61b6caa..efa2d04e 100644 --- a/config/waybar/style/[Light] Obsidian Glow.css +++ b/config/waybar/style/[Light] Obsidian Glow.css @@ -146,7 +146,6 @@ tooltip label { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Retro] Simple Style.css b/config/waybar/style/[Retro] Simple Style.css index 25e944e6..cbb96770 100644 --- a/config/waybar/style/[Retro] Simple Style.css +++ b/config/waybar/style/[Retro] Simple Style.css @@ -106,7 +106,6 @@ window#waybar { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.critical, diff --git a/config/waybar/style/[Transparent] Crystal Clear.css b/config/waybar/style/[Transparent] Crystal Clear.css index 5a4a8c3c..580105b5 100644 --- a/config/waybar/style/[Transparent] Crystal Clear.css +++ b/config/waybar/style/[Transparent] Crystal Clear.css @@ -132,7 +132,6 @@ window#waybar.empty #window { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #taskbar button:hover { diff --git a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css index 2dcffb1c..b5de0776 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css @@ -175,7 +175,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #custom-cava_mviz{ diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css index d1e74805..f34ff26b 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -230,7 +230,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.good { diff --git a/config/waybar/style/[Wallust Transparent] Crystal Clear.css b/config/waybar/style/[Wallust Transparent] Crystal Clear.css index c332170c..3e60ee2d 100644 --- a/config/waybar/style/[Wallust Transparent] Crystal Clear.css +++ b/config/waybar/style/[Wallust Transparent] Crystal Clear.css @@ -156,7 +156,6 @@ window#waybar.empty #window { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Wallust] Box type.css b/config/waybar/style/[Wallust] Box type.css index d5987a02..0473a533 100644 --- a/config/waybar/style/[Wallust] Box type.css +++ b/config/waybar/style/[Wallust] Box type.css @@ -146,7 +146,6 @@ window#waybar.empty #window { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #network { diff --git a/config/waybar/style/[Wallust] Chroma Edge.css b/config/waybar/style/[Wallust] Chroma Edge.css index 9778b811..162baf8f 100644 --- a/config/waybar/style/[Wallust] Chroma Edge.css +++ b/config/waybar/style/[Wallust] Chroma Edge.css @@ -316,7 +316,6 @@ label:focus { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #temperature { diff --git a/config/waybar/style/[Wallust] Chroma Fusion.css b/config/waybar/style/[Wallust] Chroma Fusion.css index 4400bb33..d56d90ae 100644 --- a/config/waybar/style/[Wallust] Chroma Fusion.css +++ b/config/waybar/style/[Wallust] Chroma Fusion.css @@ -176,7 +176,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #workspaces { diff --git a/config/waybar/style/[Wallust] Chroma Tally.css b/config/waybar/style/[Wallust] Chroma Tally.css index 1d162b91..5b4ad430 100644 --- a/config/waybar/style/[Wallust] Chroma Tally.css +++ b/config/waybar/style/[Wallust] Chroma Tally.css @@ -215,7 +215,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #tray { diff --git a/config/waybar/style/[Wallust] Colored.css b/config/waybar/style/[Wallust] Colored.css index bcd05653..9fb2465b 100644 --- a/config/waybar/style/[Wallust] Colored.css +++ b/config/waybar/style/[Wallust] Colored.css @@ -172,7 +172,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Wallust] Simple.css b/config/waybar/style/[Wallust] Simple.css index 188dfd39..ace97257 100644 --- a/config/waybar/style/[Wallust] Simple.css +++ b/config/waybar/style/[Wallust] Simple.css @@ -169,7 +169,6 @@ tooltip { #custom-hypridle.notactive, #idle_inhibitor.activated { color: #39FF14; - font-size: 100%; } #pulseaudio.muted { 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"