From 59ac92a1b21abe62a4552ed383498de7210f0048 Mon Sep 17 00:00:00 2001 From: Tslil Clingman Date: Tue, 18 Aug 2015 23:40:24 +0200 Subject: Only change background if the env var is set --- sc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sc b/sc index 7dd0253..a9e75f5 100755 --- a/sc +++ b/sc @@ -11,6 +11,5 @@ case "$1" in *) xrandr --nograb ;; esac; -feh --bg-scale "$BACKGROUND_IMAGE" - +[ -n "$BACKGROUND_IMAGE" ] && feh --bg-scale "$BACKGROUND_IMAGE" ratpoison -c restart -- cgit v1.2.3