aboutsummaryrefslogtreecommitdiff
path: root/xwallpaper-random-notify
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
commit6f45972265b532365421658f1370742bb82b757b (patch)
treec293262456ba35ae5c1b778684527ed5c70c7ad1 /xwallpaper-random-notify
parent547311be5f6d90f36022a6e5e6fdbfb26862fd75 (diff)
downloadscripts-6f45972265b532365421658f1370742bb82b757b.tar.gz
scripts-6f45972265b532365421658f1370742bb82b757b.zip
Changed default notification system to herbe
Diffstat (limited to 'xwallpaper-random-notify')
-rwxr-xr-xxwallpaper-random-notify7
1 files changed, 5 insertions, 2 deletions
diff --git a/xwallpaper-random-notify b/xwallpaper-random-notify
index d0d1fbe..ac1898d 100755
--- a/xwallpaper-random-notify
+++ b/xwallpaper-random-notify
@@ -1,7 +1,10 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Set a random background from the wallpapers folder and notify about it 3# Set a random background from the wallpapers folder and notify about it
4# Requires: xwallpaper (or feh), notify-send (optional) 4# Requires: xwallpaper (or feh), notify-send or similar (optional)
5
6#notify=notify-send
7notify=herbe
5 8
6folder=~/Pictures/wallpapers 9folder=~/Pictures/wallpapers
7pic=$(ls $folder | sort -R | head -1) 10pic=$(ls $folder | sort -R | head -1)
@@ -10,4 +13,4 @@ pic=$(ls $folder | sort -R | head -1)
10#feh --bg-fill --no-fehbg $folder/$pic 13#feh --bg-fill --no-fehbg $folder/$pic
11xwallpaper --zoom $folder/$pic 14xwallpaper --zoom $folder/$pic
12 15
13notify-send "Background of the day" $pic 16$notify "Background of the day" $pic

Generated with cgit - Back to sebastiano.tronto.net