diff --git a/hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Bold.otf b/hypr/hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Bold.otf similarity index 100% rename from hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Bold.otf rename to hypr/hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Bold.otf diff --git a/hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Regular.otf b/hypr/hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Regular.otf similarity index 100% rename from hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Regular.otf rename to hypr/hyprlock/Style-2/Fonts/SF Pro Display/SF Pro Display Regular.otf diff --git a/hyprlock/Style-2/Fonts/steelfish outline regular/steelfish.outline-regular.otf b/hypr/hyprlock/Style-2/Fonts/steelfish outline regular/steelfish.outline-regular.otf similarity index 100% rename from hyprlock/Style-2/Fonts/steelfish outline regular/steelfish.outline-regular.otf rename to hypr/hyprlock/Style-2/Fonts/steelfish outline regular/steelfish.outline-regular.otf diff --git a/hyprlock/Style-2/foreground.png b/hypr/hyprlock/Style-2/foreground.png similarity index 100% rename from hyprlock/Style-2/foreground.png rename to hypr/hyprlock/Style-2/foreground.png diff --git a/hyprlock/Style-2/hypr.png b/hypr/hyprlock/Style-2/hypr.png similarity index 100% rename from hyprlock/Style-2/hypr.png rename to hypr/hyprlock/Style-2/hypr.png diff --git a/hyprlock/Style-2/hyprlock.conf b/hypr/hyprlock/Style-2/hyprlock.conf similarity index 100% rename from hyprlock/Style-2/hyprlock.conf rename to hypr/hyprlock/Style-2/hyprlock.conf diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf new file mode 100644 index 0000000..ebff358 --- /dev/null +++ b/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = +wallpaper = diff --git a/scripts/changewallpaper.sh b/scripts/changewallpaper.sh new file mode 100755 index 0000000..7b97991 --- /dev/null +++ b/scripts/changewallpaper.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +DIR=$HOME/Desktop/wallpapers +PICS=($(ls ${DIR})) + +# Select a random wallpaper +RANDOMPICS=${PICS[$RANDOM % ${#PICS[@]}]} + +# Notify the user about the wallpaper change +dunstify "⬅️Changed" -a "Wallpaper" -u "low" -i ${DIR}/${RANDOMPICS} -r "1234" + +# Preload the selected wallpaper and set it as the wallpaper +hyprctl hyprpaper preload "${DIR}/${RANDOMPICS}" +hyprctl hyprpaper wallpaper ",${DIR}/${RANDOMPICS}" + +# Play a notification sound +canberra-gtk-play -i window-attention +