diff options
| author | Jeff Carr <[email protected]> | 2025-09-03 01:23:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-03 01:23:22 -0500 |
| commit | 262426fb448d8bd616d1ed687f3da7e1ed2dc6a2 (patch) | |
| tree | 12f605e85b9ece8f4c80c9f954f7654285750201 /libnotify.go | |
| parent | ec0807ce2b069622e2f31e3b176931a68900252f (diff) | |
make the help menu appear when libnotify is clicked
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 |
