Re:Spicing unix shell scripts
by keeperofdakeys on Monday February 20, 2012 @06:10AM
(#3612049)
Personally I use notify-send for warnings (such as battery getting low). Even though I do have a separate battery bar, it helps remember to plugin.
TAOUP?
A GUI and a script should never be entangled if you ask me. There should be no coupling there. Everything script-related should run quite happily non interactive.
A GUI could drive a script however via the script's API.
I think ESR wrote about this in TAOUP (The Art Of Unix Programming) but I can't be bothered to dig through it now for the reference.