From 7da9a82b9bbe01c977667e32091fcfa8185b94f5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 9 May 2026 08:08:35 +0200 Subject: Move unused script to unused folder --- scripts/unused/xwallpaper-random-notify | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/unused/xwallpaper-random-notify (limited to 'scripts/unused/xwallpaper-random-notify') diff --git a/scripts/unused/xwallpaper-random-notify b/scripts/unused/xwallpaper-random-notify new file mode 100755 index 0000000..1d9e2bf --- /dev/null +++ b/scripts/unused/xwallpaper-random-notify @@ -0,0 +1,17 @@ +#!/bin/sh + +# Set a random background from the wallpapers folder and notify about it +# Requires: xwallpaper (or feh), notify-send or similar (optional) + +#notify=notify-send +notify="notify push" + +folder=~/pictures/wallpapers +pic=$(ls $folder | sort -R | head -1) + +# Alternative: use feh +#feh --bg-fill --no-fehbg "$folder"/"$pic" +xwallpaper --zoom "$folder"/"$pic" + +# Uncomment to notify +#$notify "Background of the day" "$pic" -- cgit v1.3