linux

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

Adapter implements the NotificationPort interface for Linux using D-Bus

func NewAdapter

func NewAdapter(themeProvider ThemeProvider) *Adapter

NewAdapter creates a new Linux notification adapter using D-Bus

func (*Adapter) NotifyMessage

func (a *Adapter) NotifyMessage(title, message string) error

NotifyMessage sends a simple text notification via D-Bus

func (*Adapter) NotifyPullRequests

func (a *Adapter) NotifyPullRequests(notifications []*port.PRNotificationData) error

NotifyPullRequests sends grouped notifications for pull requests

func (*Adapter) SupportsClickActions

func (a *Adapter) SupportsClickActions() bool

SupportsClickActions returns true for Linux adapter

type ThemeProvider

type ThemeProvider interface {
	GetSystemTheme() string
}

ThemeProvider provides the current system theme

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL