summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 02:12:54 -0600
committerJeff Carr <[email protected]>2025-03-03 02:12:54 -0600
commit6d1dfed3db9c08b85fd40c1592edf3c730b5b348 (patch)
treed46ec5b2442c94e95d105dbde89d967d51b5ccc6 /init.go
parent65cf744a8643d63780fed3fc2f60cbe289f54cac (diff)
set global options in init
Diffstat (limited to 'init.go')
-rw-r--r--init.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.go b/init.go
index 65653b2..7142abf 100644
--- a/init.go
+++ b/init.go
@@ -149,7 +149,12 @@ func initPlugin() {
me.dropdown.wId = -77
me.textbox.wId = -55
me.stdout.wId = -4
+
+ // the clock widget id and offset
me.notify.clock.wId = -5
+ me.notify.clock.offsetW = 13
+ me.notify.clock.offsetH = 1
+
me.notify.menu.wId = -5
Set(&me.dropdown, "default")