This commit is contained in:
Your Name
2026-05-09 13:51:20 -07:00
parent 6d1fe33c60
commit f111695a45
25 changed files with 376 additions and 299 deletions
@@ -3,7 +3,6 @@
package hotkey
import (
"context"
"sync"
"github.com/godbus/dbus/v5"
@@ -11,7 +10,6 @@ import (
const (
linuxHKNone = iota
linuxHKX11
linuxHKPortal
)
@@ -20,11 +18,6 @@ type platformHotkey struct {
registered bool
backend int
// X11 (CGO)
ctx context.Context
cancel context.CancelFunc
canceled chan struct{}
// Wayland / XDG portal global shortcuts
portalStop chan struct{}
portalDone chan struct{}