X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=myi3status;h=7183a8ff7eec6360277ed807bfad2befc7925ca4;hb=e72acaee4cf7c394ca0e35b84d3afbd8ef5a4b32;hp=d8c5d22e7c020280231c927ab784c1519b38860c;hpb=7f6a974222bd0f3936b61a8430d3e28a13307632;p=distro-setup diff --git a/myi3status b/myi3status index d8c5d22..7183a8f 100755 --- a/myi3status +++ b/myi3status @@ -52,7 +52,7 @@ # if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi -source /a/bin/errhandle/err +source /a/bin/bash-bear-trap/bash-bear shopt -s nullglob shopt -s dotglob @@ -294,9 +294,13 @@ if (( $# )); then else printf '{ "version": 1, "click_events": true }\n[' while true; do - main - line= - read -r -t 3 line ||: + if [[ -e /tmp/noi3bar ]]; then + sleep 10 + else + main + line= + read -r -t 3 line ||: + fi done fi