From b4c934a9a8a84f3a2ee1259c2d797aa4a2e60f7b Mon Sep 17 00:00:00 2001 From: self Date: Tue, 1 Mar 2022 20:49:40 +0000 Subject: Added random backgrounds to autostart --- dwm/autostart_blocking_otg.sh | 3 +-- dwm/autostart_blocking_sah.sh | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'dwm') diff --git a/dwm/autostart_blocking_otg.sh b/dwm/autostart_blocking_otg.sh index 90776f3..29aaa68 100755 --- a/dwm/autostart_blocking_otg.sh +++ b/dwm/autostart_blocking_otg.sh @@ -1,4 +1,3 @@ #!/bin/sh -# TODO: make this random bg -feh --bg-scale ~/bgs/evening-sun-over-rice-paddies.jpg +feh --bg-scale $(shuf -n1 -e ~/bgs/*) diff --git a/dwm/autostart_blocking_sah.sh b/dwm/autostart_blocking_sah.sh index 829303e..f06324c 100755 --- a/dwm/autostart_blocking_sah.sh +++ b/dwm/autostart_blocking_sah.sh @@ -1,3 +1,5 @@ #!/bin/sh +feh --bg-scale $(shuf -n1 -e ~/bgs/*) + -- cgit v1.2.1