diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-02-09 19:50:38 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-02-09 19:50:38 +0100 |
| commit | 6f45972265b532365421658f1370742bb82b757b (patch) | |
| tree | c293262456ba35ae5c1b778684527ed5c70c7ad1 /xwallpaper-random-notify | |
| parent | 547311be5f6d90f36022a6e5e6fdbfb26862fd75 (diff) | |
| download | scripts-6f45972265b532365421658f1370742bb82b757b.tar.gz scripts-6f45972265b532365421658f1370742bb82b757b.zip | |
Changed default notification system to herbe
Diffstat (limited to 'xwallpaper-random-notify')
| -rwxr-xr-x | xwallpaper-random-notify | 7 |
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 | ||
| 7 | notify=herbe | ||
| 5 | 8 | ||
| 6 | folder=~/Pictures/wallpapers | 9 | folder=~/Pictures/wallpapers |
| 7 | pic=$(ls $folder | sort -R | head -1) | 10 | pic=$(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 |
| 11 | xwallpaper --zoom $folder/$pic | 14 | xwallpaper --zoom $folder/$pic |
| 12 | 15 | ||
| 13 | notify-send "Background of the day" $pic | 16 | $notify "Background of the day" $pic |
