diff options
Diffstat (limited to 'libnotify.go')
| -rw-r--r-- | libnotify.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libnotify.go b/libnotify.go index 7f55b46..1b2a9d8 100644 --- a/libnotify.go +++ b/libnotify.go @@ -154,6 +154,13 @@ func setNotifyIconText(s string) { for _, tk := range me.allwin { log.Info("known window Window", tk.labelN, tk.window.active, tk.window.order) } + if s == "[X]" { + log.Warn("should turn on help window here") + showHelp() + } else { + log.Warn("should turn off help window here") + hideHelp() + } } // in the very end of redrawing things, this will place the help and stdout on the top or botton |
