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.
Any suggestions are welcome.