mac-sleep-notifier alternatives and similar packages
Based on the "GUI" category.
Alternatively, view mac-sleep-notifier alternatives based on common mentions on social networks and blogs.
-
fyne
Cross platform native GUIs designed for Go, rendered using EFL. Supports: Linux, macOS, Windows. -
webview
Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and MSHTML (Windows) -
qt
Qt binding for Go (support for Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi) -
go-astilectron
Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron) -
sciter
Go bindings for Sciter: the Embeddable HTML/CSS/script engine for modern desktop UI development. -
one-file-pdf
A minimalist Go PDF writer in <2K lines and 1 file -
Guark
Build awesome Golang desktop apps and beautiful interfaces with Vue.js, React.js, Framework 7, and more... -
go-appindicator
Go bindings for libappindicator3 C library. -
mac-activity-tracker
OSX library to notify about any (pluggable) activity on your machine.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of mac-sleep-notifier or a related project?
Popular Comparisons
README
macOS Sleep/ Wake notifications in golang
Inspired from this blog.
This libary notifies through a channel whenever your machine is put to sleep or is woken up. Calling the Start
function will get you a channel on which you receive both Sleep
and Awake
activities.
Installation
go get -u github.com/prashantgupta24/mac-sleep-notifier/notifier
Usage
notifierCh := notifier.GetInstance().Start()
for {
select {
case activity := <-notifierCh:
if activity.Type == notifier.Awake {
log.Println("machine awake")
} else {
if activity.Type == notifier.Sleep {
log.Println("machine sleeping")
}
}
}
}
Example
See example here