Evaluates dropping the GTK3 dependency in favor of a pure-Go, no-cgo toolkit. Built with -tags nucular_shiny to force the x11driver backend (nucular's default backend now pulls in Gio/cgo/EGL, which would defeat the purpose). Reads Xft.dpi directly via xgb for HiDPI scaling, since nucular has no built-in DPI awareness. Known gap: x11driver exposes no iconify/withdraw call, so unlike the GTK version, closing the window exits the process instead of hiding it. Tracked as a TODO in the file header for follow-up. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
26 lines
982 B
Modula-2
26 lines
982 B
Modula-2
module github.com/quine-global-labs/swap-watchdog
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
github.com/aarzilli/nucular v0.0.0-20260922071552-58b808aa5772
|
|
github.com/gotk3/gotk3 v0.6.3
|
|
github.com/jezek/xgb v1.1.1
|
|
)
|
|
|
|
require (
|
|
dmitri.shuralyov.com/gpu/mtl v0.0.0-20221208032759-85de2813cf6b // indirect
|
|
gioui.org v0.10.2 // indirect
|
|
gioui.org/shader v1.0.9 // indirect
|
|
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 // indirect
|
|
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20231223183121-56fa3ac82ce7 // indirect
|
|
github.com/go-text/typesetting v0.3.4 // indirect
|
|
github.com/golang/freetype v0.0.0-20161208064710-d9be45aaf745 // indirect
|
|
github.com/hashicorp/golang-lru v0.5.1 // indirect
|
|
golang.org/x/exp/shiny v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
|
|
golang.org/x/image v0.38.0 // indirect
|
|
golang.org/x/mobile v0.0.0-20231127183840-76ac6878050a // indirect
|
|
golang.org/x/net v0.48.0 // indirect
|
|
golang.org/x/sys v0.39.0 // indirect
|
|
golang.org/x/text v0.35.0 // indirect
|
|
)
|