From d7ac1726781db42393676974e0dbf002998112f4 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 15 Dec 2017 14:43:37 +0100 Subject: Add setbg-backup with support for randomising a background image --- i3/bin/setbg-cloogle | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'i3/bin/setbg-cloogle') diff --git a/i3/bin/setbg-cloogle b/i3/bin/setbg-cloogle index 64c3316..97e8154 100755 --- a/i3/bin/setbg-cloogle +++ b/i3/bin/setbg-cloogle @@ -1,14 +1,7 @@ #!/bin/bash -function fail() { - if [ -f ~/.bg.png ]; then - feh --bg-max -B white ~/.bg.png - fi - exit -1; -} - # Test internet -timeout 4 wget -q --spider http://cloogle.org || fail +timeout 4 wget -q --spider http://cloogle.org || setbg-backup stdbuf -i0 -o0 -e0 cloogle_stats.py | while read request do -- cgit v1.2.3