Reset dwm bat now works as before but sleep 69d
This commit is contained in:
parent
a5e1513b61
commit
ec74ae1e16
|
@ -196,6 +196,6 @@ while :; do
|
|||
# again. We run sleep in the background and use wait until it finishes,
|
||||
# because traps can interrupt wait immediately, but they can't do that
|
||||
# with sleep.
|
||||
sleep 120 &
|
||||
sleep 69d &
|
||||
wait
|
||||
done
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
p_num=$(pgrep -a busybox | grep "busybox ash /home/initega/bin/dwmbar.sh" |
|
||||
cut -d ' ' -f 1)
|
||||
p_num=$(pgrep -a busybox | grep "busybox .*/dwmbar.sh" | cut -d ' ' -f 1)
|
||||
# echo "$p_num"
|
||||
[ -n "$p_num" ] && kill -s 5 "$p_num"
|
||||
|
|
Loading…
Reference in New Issue