minor adjustments

This commit is contained in:
Alexander Navarro 2023-11-13 22:10:39 -03:00
parent 62af62c258
commit aef7b67390
6 changed files with 11 additions and 21 deletions

View file

@ -3,8 +3,8 @@
# Original script steal from (specific commit):
# https://github.com/lime-desu/dootsfile/blob/58abca63dfd596d4812fcf95567cc3ad63ffbb6f/scripts/set-random-wallpaper.sh
WALLPAPER_DIR=${HOME}/Drives/Stuff/Pictures/Waifus
WALLPAPER_PREFIX="Fondos_PC.*"
WALLPAPER_DIR="${HOME}/Drives/Stuff/Pictures/Wallpapers/Landscape/"
WALLPAPER_PREFIX=""
RANDOM_PICTURE=$(fd -apt f "$WALLPAPER_PREFIX" "$WALLPAPER_DIR" | shuf -n 1)
CURRENT_DESKTOP="$(echo "$XDG_CURRENT_DESKTOP" | awk '{for (i=1;i<=NF;i++) { $i=toupper(substr($i,1,1)) tolower(substr($i,2)) }}1')"