From f24c5098597922913f68d22960033318fb56ad1d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 2 Mar 2025 12:04:59 -0600 Subject: align 1st window. start libnotify --- structs.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'structs.go') 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 { -- cgit v1.2.3