Add Clipboard History as a launcher mode backed by cliphist

The launcher gains a clipboard mode with the same bar, position and size:
the latest five entries show at once and the rest scroll, search filters
in recency order, Enter copies, Shift+Delete removes an entry. >clipboard
switches in place without closing or animating; glassmxrph clipboard
toggles it directly. History stays with the user's cliphist watcher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 15:16:14 +02:00
1 parent 44a5aedbb2
commit 5a10469efe
15 files changed
+392 -24

No files matched your search

+3 -1
View File
@@ -44,6 +44,7 @@ Item {
return JSON.stringify({
activeMonitor: ScreenService.active ? ScreenService.active.name : "",
opened: ShellState.launcherOpen,
mode: ShellState.launcherMode,
screen: w.screen.name,
screenWidth: w.width,
screenHeight: w.height,
@@ -58,7 +59,8 @@ Item {
results: w.results.map(r => ({
id: r.id,
title: r.title,
command: !!r.command
command: !!r.command,
image: !!(r.clip && r.clip.image)
})),
error: w.launchError
});