Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2026 Changes in this version + type Deps struct + After func(d time.Duration, fn func()) (cancel func()) + Auth func(service string, onEvent func(auth.Event)) authHandle + LoadImage func(path string, blur uint32) (image.Image, error) + Locker locker + Loop loop + Now func() time.Time + OnLocked func() + SetLockedHint func(locked bool) + type Logind struct + func NewLogind(conn *dbus.Conn) (*Logind, error) + func (l *Logind) Listen(ctx context.Context, onLock, onUnlock func()) error + func (l *Logind) LockedHint() (bool, error) + func (l *Logind) Path() dbus.ObjectPath + func (l *Logind) SetLockedHint(locked bool) error + type Screen struct + func New(cfg *config.Config, font render.Font, sheet *widget.Stylesheet, d Deps) *Screen + func Start(a *app.Application, cfg *config.Config, font render.Font, ...) (*Screen, func()) + func (s *Screen) Activity() + func (s *Screen) ForceUnlock() + func (s *Screen) Lock() + func (s *Screen) Locked() bool + func (s *Screen) SetConfig(cfg *config.Config) + func (s *Screen) Submit(value string)