From df96d0e066fe731a435d830a76547fcde1c5c5a8 Mon Sep 17 00:00:00 2001 From: Andrew Holland Date: Sat, 16 Sep 2017 00:46:31 +0300 Subject: [PATCH] bourneify and find the directory --- db_background.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/db_background.sh b/db_background.sh index e23af2c..e3f7e36 100755 --- a/db_background.sh +++ b/db_background.sh @@ -1,6 +1,9 @@ -#!/bin/zsh +#!/bin/sh +DB=$(find ~/ -name DB-triple-7680x1600 2>>/dev/null); +echo $DB +echo ------ while true; do # feh --bg-scale -z --no-xinerama ~/DB-triple-7680x1600 - feh --bg-fill -z --no-xinerama ~/DB-triple-7680x1600 + feh --bg-fill -z --no-xinerama $DB sleep 1h done