iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lots: shellcheck, streaming stuff, fixes
[distro-setup]
/
myi3status
diff --git
a/myi3status
b/myi3status
index 7183a8ff7eec6360277ed807bfad2befc7925ca4..fbeeabddf12d1b8a299c3b097573cbaed8d1758f 100755
(executable)
--- a/
myi3status
+++ b/
myi3status
@@
-155,6
+155,13
@@
main() {
ps_char="=======FOCUS====== $ps_char"
fi
ps_char="=======FOCUS====== $ps_char"
fi
+ if [[ -e /tmp/iank-i3-no-auto ]]; then
+ ps_char="$ps_char I"
+ fi
+ if [[ -e /tmp/no-obs-auto-scene-switch ]]; then
+ ps_char="$ps_char O"
+ fi
+
printf '{ "name":"status", "color":"#ED297D", "full_text": "%s' "$ps_char"
printf '"},'
printf '{ "name":"status", "color":"#ED297D", "full_text": "%s' "$ps_char"
printf '"},'