diff options
author | Camil Staps | 2017-12-15 14:43:37 +0100 |
---|---|---|
committer | Camil Staps | 2017-12-15 14:43:37 +0100 |
commit | d7ac1726781db42393676974e0dbf002998112f4 (patch) | |
tree | 654bc2acbe3a0093c90d2c6a6378055bf90ce556 /i3/bin/setbg-cloogle | |
parent | Include .gitignore in stow (diff) |
Add setbg-backup with support for randomising a background image
Diffstat (limited to 'i3/bin/setbg-cloogle')
-rwxr-xr-x | i3/bin/setbg-cloogle | 9 |
1 files changed, 1 insertions, 8 deletions
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 |