To facilitate syncing across devices, I've created a local bash script to 
monitor the ~/Downloads folder to move them to my 
~/Dropbox/Apps/Quine/TiddlyWiki/ folder. Once there, the Dropbox service 
automatically uploads the current version. Right now this script launches 
other scripts (DBstatus.sh, wikiXFER.sh) then tails a file where child 
scripts log their actions. Below shows the the console output, which is 
tailing the status file.

$ ~/status.sh 
TimeStamp                       SYSTEM        SCRIPT         STATUS
Wed Jun 26 17:22:44 PDT 2019    Dropbox       DBstatus.sh    started
Wed Jun 26 17:22:44 PDT 2019    TiddlyWiki    wikiXFER.sh    started
Wed Jun 26 17:22:44 PDT 2019    TiddlyWiki    wikiXFER.sh    Watching
Wed Jun 26 17:22:44 PDT 2019    Dropbox       DBstatus.sh    Up to date
Wed Jun 26 17:23:05 PDT 2019    TiddlyWiki    wikiXFER.sh    Found
Wed Jun 26 17:23:05 PDT 2019    TiddlyWiki    wikiXFER.sh    Moved
Wed Jun 26 17:23:05 PDT 2019    TiddlyWiki    wikiXFER.sh    Watching
Wed Jun 26 17:23:05 PDT 2019    Dropbox       DBstatus.sh    Syncing 
"TiddlyWiki.html"
Wed Jun 26 17:23:05 PDT 2019    Dropbox       DBstatus.sh    Uploading 
"TiddlyWiki.html"...
Wed Jun 26 17:23:10 PDT 2019    Dropbox       DBstatus.sh    Up to date

I'm trying to find a way to show this status within TW so I can make this 
script a service and still have a seamless way to monitor the results. *Is 
there a way to basically tail -f a local file in tw5? *Ideally, I'd like to 
integrate into the top margin of tw, so that updates are displayed as they 
are logged in the local file. I'm using Firefox Quantum for Fedora 67.0.4 
(64-bit). Any ideas?

This isn't an issue on my Win machines since I'm using TiddlyDesktop.

*I've tried:*
- Gnome no longer supports building custom tray indicators/icons (with any 
semblance of ease).
- notify-send works, except it instantiates a new alert with every 
invocation, which is terribly annoying in rapid succession.
- Looked into https://tobibeer.github.io/tw/enable-js/#script, but this 
puts JS into the tiddler... I'd have to open/refresh the tiddler to see the 
status, which is less convenient than running the bash script

Any suggestions are welcome. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49dfeaf5-eed9-4df8-9a63-501973c9289d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to