make default wallpapers folder Pictures/Wallpaper

This commit is contained in:
end-4
2025-02-15 17:00:52 +01:00
parent ecdc219356
commit 6a31723fa4
2 changed files with 2 additions and 2 deletions
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
CONFIG_DIR="$XDG_CONFIG_HOME/ags"
$CONFIG_DIR/scripts/color_generation/switchwall.sh "$(fd . $(xdg-user-dir PICTURES)/wallpapers/ -e .png -e .jpg -e .svg | xargs shuf -n1 -e)"
$CONFIG_DIR/scripts/color_generation/switchwall.sh "$(fd . $(xdg-user-dir PICTURES)/Wallpapers/ -e .png -e .jpg -e .svg | xargs shuf -n1 -e)"
@@ -32,7 +32,7 @@ elif [[ "$1" ]]; then
else
# Select and set image (hyprland)
cd "$(xdg-user-dir PICTURES)" || return 1
cd "$(xdg-user-dir PICTURES)/Wallpapers" || cd "$(xdg-user-dir PICTURES)" || return 1
switch "$(yad --width 1200 --height 800 --file --add-preview --large-preview --title='Choose wallpaper')"
fi