iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ed433
)
option for disabling status for less distraction
author
Ian Kelling
<ian@iankelling.org>
Fri, 29 Dec 2023 21:06:08 +0000
(16:06 -0500)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 29 Dec 2023 21:06:08 +0000
(16:06 -0500)
brc2
patch
|
blob
|
history
myi3status
patch
|
blob
|
history
diff --git
a/brc2
b/brc2
index 32ac77a4219ff33b15dbe858ac7d05903c51f46b..5f0a5ff45f5ee11430b1d232c6fed78473686b2a 100644
(file)
--- a/
brc2
+++ b/
brc2
@@
-4255,6
+4255,13
@@
hssh-update() {
fi
}
+noi3bar() {
+ touch /tmp/noi3bar
+}
+i3bar() {
+ rm -fv /tmp/noi3bar
+}
+
export BASEFILE_DIR=/a/bin/fai-basefiles
diff --git
a/myi3status
b/myi3status
index 189e9f03ab7e6034106a26d3f53755a0a5fa2b6d..7183a8ff7eec6360277ed807bfad2befc7925ca4 100755
(executable)
--- a/
myi3status
+++ b/
myi3status
@@
-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