mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
default notify_osd to off for now
ensure that multiple tails don't get run if F5 refreshing profile
This commit is contained in:
parent
68643fc730
commit
2062960983
3 changed files with 5 additions and 3 deletions
|
@ -41,7 +41,7 @@ mem_available=1
|
||||||
mem_used=1
|
mem_used=1
|
||||||
menu=1
|
menu=1
|
||||||
network=0
|
network=0
|
||||||
notify_osd=1
|
notify_osd=0
|
||||||
processes=0
|
processes=0
|
||||||
rcs_cost=0
|
rcs_cost=0
|
||||||
reboot_required=1
|
reboot_required=1
|
||||||
|
|
|
@ -308,7 +308,7 @@ def readstatus():
|
||||||
status["mem_used"]=1
|
status["mem_used"]=1
|
||||||
status["menu"]=1
|
status["menu"]=1
|
||||||
status["network"]=0
|
status["network"]=0
|
||||||
status["notify_osd"]=1
|
status["notify_osd"]=0
|
||||||
status["processes"]=0
|
status["processes"]=0
|
||||||
status["rcs_cost"]=0
|
status["rcs_cost"]=0
|
||||||
status["reboot_required"]=1
|
status["reboot_required"]=1
|
||||||
|
|
|
@ -30,4 +30,6 @@ esac
|
||||||
|
|
||||||
# This line operates basically as a daemon, watching the notify-osd log file,
|
# This line operates basically as a daemon, watching the notify-osd log file,
|
||||||
# processing new messages and sending them to screen
|
# processing new messages and sending them to screen
|
||||||
tail --pid $PPID -n 0 -F $LOG | $BYOBU_PREFIX/lib/byobu/.notify_osd "$PPID"
|
CMD="tail --pid $PPID -n 0 -F $LOG"
|
||||||
|
pkill -f "$CMD" || true
|
||||||
|
$CMD | $BYOBU_PREFIX/lib/byobu/.notify_osd "$PPID"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue