diff --git a/scripts/wallpapers/current_wallpaper b/scripts/wallpapers/current_wallpaper deleted file mode 100755 index bcedb76..0000000 --- a/scripts/wallpapers/current_wallpaper +++ /dev/null @@ -1 +0,0 @@ -/home/honney/.config/hypr/scripts/wallpapers/wallpapers/cherry_river.png diff --git a/scripts/wallpapers/current_wallpaper_blurred.png b/scripts/wallpapers/current_wallpaper_blurred.png deleted file mode 100755 index 28507dd..0000000 Binary files a/scripts/wallpapers/current_wallpaper_blurred.png and /dev/null differ diff --git a/scripts/wallpapers/random_wallpaper.sh b/scripts/wallpapers/random_wallpaper.sh deleted file mode 100755 index 321cacf..0000000 --- a/scripts/wallpapers/random_wallpaper.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash -wallpapers_dir="$HOME/Pictures/Wallpapers/" -current_wallpaper=$(cat $wallpapers_dir"/Static/current") - -# Pick a random wallpaper from the directory but not the current_wallpaper -image=$(find "$wallpapers_dir" -maxdepth 1 -type f ! -name "$(basename "$current_wallpaper")" | shuf -n 1) - -echo "Image $image" - -# Check if an image was provided -if [[ -z "$image" ]]; then - echo "Usage: $0 /path/to/image" - exit 1 -fi - -if [ -x "/usr/bin/swww-daemon" ]; then - echo "swww-daemon exists and is executable" - - # Check if swww daemon is running - if ! pgrep -x "swww-daemon" > /dev/null; then - echo "Starting swww daemon..." - swww-daemon & - - # Give the daemon a moment to start - sleep 0.2 - echo "daemon started" - fi - - # Set the wallpaper - echo "running" - swww img "$image" -t grow --transition-duration 1 - -elif [ -x "/usr/bin/hyprpaper" ]; then - echo "hyprpaper exists and is executable" - - if ! pgrep -x "hyprpaper" > /dev/null; then - echo "Starting hyprpaper daemon..." - hyprpaper & - - # Give the daemon a moment to start - sleep 0.2 - echo "daemon started" - fi - sed -i "3s|path = .*|path = ${image}|" ~/.config/hypr/hyprpaper.conf - hyprctl monitors -j | jq -r 'sort_by(.id) | .[].name' | while IFS= read -r display; do - hyprctl hyprpaper wallpaper "$display, $image" - done - echo "set Wallpaper to $image with hyprpaper" -fi - -if [ -x "/usr/bin/matugen" ]; then - matugen image $image --mode dark --source-color-index 0 -else - cp $HOME/.config/quickshell/colors/example_colors.qml $HOME/.config/quickshell/colors/Colors.qml -fi - -### Blured Wallpaper for wlogout -blur="50x30" -static_wallpaper_dir="$HOME/Pictures/Wallpapers/Static" - -if [ ! -d $static_wallpaper_dir ]; then - mkdir -p $static_wallpaper_dir; -fi - -current_wallpaper="$static_wallpaper_dir/current" - -echo "$image" > $current_wallpaper - -blurred_wp="$static_wallpaper_dir/blurred.jpg" - -if [ -x "/usr/bin/sddm" ]; then - magick $image -blur $blur $blurred_wp -else - cp $image $blurred_wp -fi -if [ -x "/usr/bin/sddm" ] && [ -d "/usr/share/backgrounds" ]; then - sddm_background="/usr/share/backgrounds/background.jpg" - cp "$image" "$sddm_background" -fi \ No newline at end of file diff --git a/scripts/wallpapers/wallpaper.sh b/scripts/wallpapers/wallpaper.sh deleted file mode 100755 index 4c42f2c..0000000 --- a/scripts/wallpapers/wallpaper.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash -# _ _ _ _____ __ __ _____ _____ _____ _____ _____ -# | | | | _ | | | | | _ | _ | _ | __| __ | -# | | | | | |__| |__| __| | __| __| -| -# |_____|__|__|_____|_____|__| |__|__|__| |_____|__|__| -# - -current_wp="$HOME/.config/hypr/scripts/wallpapers/current_wallpaper" -blurred_wp="$HOME/.config/hypr/scripts/wallpapers/current_wallpaper_blurred.png" -wallpapers_dir="$HOME/.config/hypr/scripts/wallpapers/wallpapers" -blur="50x30" - -# write path to wp into file -if [ ! -f $current_wp ]; then - touch $current_wp - echo "$HOME/wallpapers/default.png" > "$current_wp" -fi - -# current wallpaper path -current_wallpaper=$(cat "$current_wp") - -# echo "$current_wallpaper" - -wallpapers=$(ls "$wallpapers_dir"/*.png "$wallpapers_dir"/*.jpg 2>/dev/null) - -# Convert the wallpapers list into an array -wallpapers_array=($wallpapers) - -# Get the index of the current wallpaper in the array -current_index=-1 -for i in "${!wallpapers_array[@]}"; do - if [ "${wallpapers_array[$i]}" == "$current_wallpaper" ]; then - current_index=$i - break - fi -done - -# If current wallpaper is not found in the list, set it to the first wallpaper -if [ "$current_index" -eq -1 ]; then - current_index=0 -fi - -# Determine the next wallpaper (loop back to the start if we're at the end) -next_index=$(( (current_index + 1) % ${#wallpapers_array[@]} )) -next_wallpaper="${wallpapers_array[$next_index]}" - -# Update the current wallpaper path in the file -echo "$next_wallpaper" > "$current_wp" - -# echo "Current wallpaper is now: $next_wallpaper" - -wal -q -i $next_wallpaper - -# launch waybar based on new wallpaper colors -source "$HOME/.cache/wal/colors.sh" -~/.config/waybar/launch.sh & - -# update soft link to cava colors based on wallpaper colors -# (cava needs to manually be restarted) -ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/.config/cava/config" - -hyprctl hyprpaper preload "$next_wallpaper" -hyprctl hyprpaper wallpaper ", $next_wallpaper" - -# Create Blurred Wallpaper -magick $next_wallpaper -resize 3840x2160\! $next_wallpaper -echo ":: Resized" -echo "Next wallpaper path: $next_wallpaper" -echo "Blurred wallpaper path: $blurred_wp" -if [ ! "$blur" == "0x0" ] ; then - magick $next_wallpaper -blur $blur $blurred_wp - echo ":: Blurred" -fi diff --git a/scripts/wallpapers/wallpapers/AZVE1386.png b/scripts/wallpapers/wallpapers/AZVE1386.png deleted file mode 100644 index 801222d..0000000 Binary files a/scripts/wallpapers/wallpapers/AZVE1386.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/Bridge_in_Forest.png b/scripts/wallpapers/wallpapers/Bridge_in_Forest.png deleted file mode 100644 index 1cfa6e6..0000000 Binary files a/scripts/wallpapers/wallpapers/Bridge_in_Forest.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/Japanes_tempel_dark.png b/scripts/wallpapers/wallpapers/Japanes_tempel_dark.png deleted file mode 100644 index 5177bd0..0000000 Binary files a/scripts/wallpapers/wallpapers/Japanes_tempel_dark.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/ZVE1408.png b/scripts/wallpapers/wallpapers/ZVE1408.png deleted file mode 100644 index aa7446c..0000000 Binary files a/scripts/wallpapers/wallpapers/ZVE1408.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/anime.jpg b/scripts/wallpapers/wallpapers/anime.jpg deleted file mode 100644 index b48f156..0000000 Binary files a/scripts/wallpapers/wallpapers/anime.jpg and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/cherry_river.png b/scripts/wallpapers/wallpapers/cherry_river.png deleted file mode 100644 index 911e783..0000000 Binary files a/scripts/wallpapers/wallpapers/cherry_river.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/countryside_river.png b/scripts/wallpapers/wallpapers/countryside_river.png deleted file mode 100644 index c696da0..0000000 Binary files a/scripts/wallpapers/wallpapers/countryside_river.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/forest-sun.png b/scripts/wallpapers/wallpapers/forest-sun.png deleted file mode 100755 index f674b9d..0000000 Binary files a/scripts/wallpapers/wallpapers/forest-sun.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/forest_lake_stump.png b/scripts/wallpapers/wallpapers/forest_lake_stump.png deleted file mode 100644 index 243aea3..0000000 Binary files a/scripts/wallpapers/wallpapers/forest_lake_stump.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/forest_path.png b/scripts/wallpapers/wallpapers/forest_path.png deleted file mode 100644 index 6fe02f2..0000000 Binary files a/scripts/wallpapers/wallpapers/forest_path.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/forest_train.png b/scripts/wallpapers/wallpapers/forest_train.png deleted file mode 100644 index 4015023..0000000 Binary files a/scripts/wallpapers/wallpapers/forest_train.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/grasssy_mountain.png b/scripts/wallpapers/wallpapers/grasssy_mountain.png deleted file mode 100644 index 505e36c..0000000 Binary files a/scripts/wallpapers/wallpapers/grasssy_mountain.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/japanese_entrance.png b/scripts/wallpapers/wallpapers/japanese_entrance.png deleted file mode 100644 index face224..0000000 Binary files a/scripts/wallpapers/wallpapers/japanese_entrance.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/japanese_garden_lake.png b/scripts/wallpapers/wallpapers/japanese_garden_lake.png deleted file mode 100644 index b60e4c0..0000000 Binary files a/scripts/wallpapers/wallpapers/japanese_garden_lake.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/red_tree_snow.png b/scripts/wallpapers/wallpapers/red_tree_snow.png deleted file mode 100644 index f38a883..0000000 Binary files a/scripts/wallpapers/wallpapers/red_tree_snow.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/snow_mountain_dark.png b/scripts/wallpapers/wallpapers/snow_mountain_dark.png deleted file mode 100644 index f706b1b..0000000 Binary files a/scripts/wallpapers/wallpapers/snow_mountain_dark.png and /dev/null differ diff --git a/scripts/wallpapers/wallpapers/source.txt b/scripts/wallpapers/wallpapers/source.txt deleted file mode 100644 index c74f2fd..0000000 --- a/scripts/wallpapers/wallpapers/source.txt +++ /dev/null @@ -1 +0,0 @@ -https://wallhaven.cc