diff options
author | Camil Staps | 2016-04-28 07:44:45 +0200 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:42 +0100 |
commit | 36f522a8c9ac7824f34ec8469cc3c5b3947879b3 (patch) | |
tree | 1f7e6230c0732cb343eca907968e69d03f58c416 | |
parent | Better failing in setbg (diff) |
Fix setbg
-rwxr-xr-x | bin/setbg-texample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/setbg-texample b/bin/setbg-texample index f2afcab..cbfdeae 100755 --- a/bin/setbg-texample +++ b/bin/setbg-texample @@ -40,7 +40,7 @@ wget -qO- "http://texample.net$TEX" | sed -n '/\\begin{document}/,/\\end{documen montage -geometry "+$PADDING+$PADDING" /tmp/bg-src.png /tmp/bg.png "/tmp/bg-$PAGE.png" rm /tmp/bg{,-src}.png -if [ $? -ne 0]; then fail; fi +if [ $? -ne 0 ]; then fail; fi feh -B white --bg-max "/tmp/bg-$PAGE.png" |