summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-02 12:04:59 -0600
committerJeff Carr <[email protected]>2025-03-02 12:04:59 -0600
commitf24c5098597922913f68d22960033318fb56ad1d (patch)
tree59688fdf77739482aba4ed6e9ff4991cc264924a /structs.go
parenta000c069878d4a2403a5ed6e0795c1d0ad853ca3 (diff)
align 1st window. start libnotify
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 53449b9..a9702a4 100644
--- a/structs.go
+++ b/structs.go
@@ -44,6 +44,8 @@ type config struct {
ctrlDown *tree.Node // shown if you click the mouse when the ctrl key is pressed
helpLabel *gocui.View // ?
showHelp bool // toggle boolean for the help menu (deprecate?)
+ FirstWindowW int `default:"2"` // how far over to start window #1
+ FirstWindowH int `default:"0"` // how far down to start window #1
FramePadW int `default:"1" dense:"0"` // When the widget has a frame, like a button, it adds 2 lines runes on each side
FramePadH int `default:"1" dense:"0"` // When the widget has a frame, like a button, it adds 2 lines runes on each side
PadW int `default:"1" dense:"0"` // pad spacing
@@ -129,6 +131,12 @@ type dropdown struct {
wId int `default:"-78"` // the widget id to use
}
+// the desktop libnotify menu
+type libnotify struct {
+ clock *guiWidget // where to show the clock
+ menu *guiWidget // where to show the clock
+}
+
// this is the gocui way
// corner starts at in the upper left corner
type rectType struct {