summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 01:51:16 -0600
committerJeff Carr <[email protected]>2025-03-03 01:51:16 -0600
commit65cf744a8643d63780fed3fc2f60cbe289f54cac (patch)
tree0ac839eb1fa66a33788f260ddb30ea75d7a2e5ab /structs.go
parentcaf7428ba314cdbc542630b6e4d6c311a99293cb (diff)
cleaner libnotifyUpdate()
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/structs.go b/structs.go
index 9537b89..b19367d 100644
--- a/structs.go
+++ b/structs.go
@@ -78,14 +78,15 @@ type config struct {
stdout stdout // information for the STDOUT window
dropdown dropdown // the dropdown menu
textbox dropdown // the textbox popup window
- // clock dropdown // the textbox popup window
- notify libnotify // emulates the desktop libnotify menu
- allwin []*guiWidget // for tracking which window is next
- dark bool // use a 'dark' color palette
- mouse mouse // mouse settings
- showDebug bool // todo: move this into config struct
- debug bool // todo: move this into config struct
- starttime time.Time // checks how long it takes on startup
+ notify libnotify // emulates the desktop libnotify menu
+ allwin []*guiWidget // for tracking which window is next
+ dark bool // use a 'dark' color palette
+ mouse mouse // mouse settings
+ showDebug bool // todo: move this into config struct
+ debug bool // todo: move this into config struct
+ starttime time.Time // checks how long it takes on startup
+ winchW int // used to detect SIGWINCH
+ winchH int // used to detect SIGWINCH
}
// stuff controlling how the mouse works