diff options
| author | kdam0 <me@kumardamani.net> | 2023-04-07 16:44:12 +0000 |
|---|---|---|
| committer | kdam0 <me@kumardamani.net> | 2023-04-07 16:44:12 +0000 |
| commit | fc384fc48e05f17f2d28a7a7d2b0b1802eabea53 (patch) | |
| tree | d6f192fd13eba83c9dabf25908d7787b8964dbc3 /bg.sh | |
| parent | ec5c16831076b0f295172fbba93a965b16c8539a (diff) | |
major updates, breaking changes
Diffstat (limited to 'bg.sh')
| -rwxr-xr-x | bg.sh | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -1,12 +0,0 @@ -#!/bin/sh - -WALLPAPERS_HOME=${1:-$HOME/pics/wallpapers} - -# Get a random image file from the dir. -RAND_BG=$(find "$WALLPAPERS_HOME" -type f -name "*.jpeg" -o -name "*.jpg" -o -name "*.png" | shuf | head -n1) - -# Set the image file as the background. -(command -v wbg > /dev/null || (echo "wbg is not installed." && exit 1) && \ - # else - notify-send "Set background." && wbg "${RAND_BG}" -) |
