OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ffb67
)
.dwmsilent
author
paperbenni
<paperbenni@gmail.com>
Mon, 23 Dec 2019 14:33:09 +0000
(15:33 +0100)
committer
paperbenni
<paperbenni@gmail.com>
Mon, 23 Dec 2019 14:33:09 +0000
(15:33 +0100)
autostart.sh
patch
|
blob
|
history
diff --git
a/autostart.sh
b/autostart.sh
index
ddd9116
..
5140af7
100755
(executable)
--- a/
autostart.sh
+++ b/
autostart.sh
@@
-47,6
+47,11
@@
REPETITIONS="xxxxxx"
# status bar loop
while :; do
+ if [ -e ~/.dwmsilent ]; then
+ sleep 1m
+ continue
+ fi
+
# run every 60 seconds
if [ "$REPETITIONS" = "xxxxxx" ]; then
if ping -q -c 1 -W 1 8.8.8.8; then