diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-01-29 20:53:45 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-01-29 20:53:45 -0500 |
| commit | e58ba3cb3741c60642de4b3418760aca27d71bd1 (patch) | |
| tree | cc5884c87a97b0ffc988d5c1894df1825db3e6b1 /copy.sh | |
| parent | 93758d13869917736dcb97d81f0ba8d35c79fa34 (diff) | |
Updated wallpaper and default waybar/style
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/wallpaper_effects/.wallpaper_current
modified: copy.sh
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 38 |
1 files changed, 9 insertions, 29 deletions
@@ -31,9 +31,10 @@ clear wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_current -waybar_style="$HOME/.config/waybar/style/[Extra] Neon Circuit.css" -waybar_config="$HOME/.config/waybar/configs/[TOP] Default" -waybar_config_laptop="$HOME/.config/waybar/configs/[TOP] Default Laptop" +# Defaults updated to normalized names +waybar_style="$HOME/.config/waybar/style/Extra-Prismatic-Glow.css" +waybar_config="$HOME/.config/waybar/configs/TOP-Default" +waybar_config_laptop="$HOME/.config/waybar/configs/TOP-Default-Laptop" # Set some colors for output messages OK="$(tput setaf 2)[OK]$(tput sgr0)" @@ -534,6 +535,7 @@ else echo "${ERROR} Failed to copy some ${YELLOW}wallpapers${RESET}" | tee -a "$LOG" fi + # Set some files as executable chmod +x "$HOME/.config/hypr/scripts/"* 2>&1 | tee -a "$LOG" chmod +x "$HOME/.config/hypr/UserScripts/"* 2>&1 | tee -a "$LOG" @@ -566,32 +568,10 @@ printf "\n%.0s" {1..1} # for SDDM (simple_sddm_2) sddm_simple_sddm_2="/usr/share/sddm/themes/simple_sddm_2" -if [ -d "$sddm_simple_sddm_2" ] && [ "$EXPRESS_MODE" -eq 1 ]; then - echo "${NOTE} Express mode: skipping SDDM wallpaper prompt." 2>&1 | tee -a "$LOG" -elif [ -d "$sddm_simple_sddm_2" ]; then - while true; do - echo -n "${CAT} SDDM simple_sddm_2 theme detected! Apply current wallpaper as SDDM background? (y/n): " - read SDDM_WALL - - # Remove any leading/trailing whitespace or newlines from input - SDDM_WALL=$(echo "$SDDM_WALL" | tr -d '\n' | tr -d ' ') - - case $SDDM_WALL in - [Yy]) - # Copy the wallpaper, ignore errors if the file exists or fails - sudo -n cp -r "config/hypr/wallpaper_effects/.wallpaper_current" "/usr/share/sddm/themes/simple_sddm_2/Backgrounds/default" || true - echo "${NOTE} Current wallpaper applied as default SDDM background" 2>&1 | tee -a "$LOG" - break - ;; - [Nn]) - echo "${NOTE} You chose not to apply the current wallpaper to SDDM." 2>&1 | tee -a "$LOG" - break - ;; - *) - echo "Please enter 'y' or 'n' to proceed." - ;; - esac - done +if [ -d "$sddm_simple_sddm_2" ]; then + # Apply the current wallpaper as SDDM background without prompting + sudo -n cp -r "config/hypr/wallpaper_effects/.wallpaper_current" "/usr/share/sddm/themes/simple_sddm_2/Backgrounds/default" || true + echo "${NOTE} Current wallpaper applied as default SDDM background" 2>&1 | tee -a "$LOG" fi # additional wallpapers |
