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:
1 parent
44a5aedbb2
commit
5a10469efe
15 files changed
+392
-24
No files matched your search
+4
-1
@@ -31,6 +31,9 @@ case "${1:-run}" in
|
||||
launcher)
|
||||
exec quickshell ipc --path "$project_dir/quickshell" call launcher toggle
|
||||
;;
|
||||
clipboard)
|
||||
exec quickshell ipc --path "$project_dir/quickshell" call launcher clipboard
|
||||
;;
|
||||
plugin)
|
||||
# glassmxrph plugin [list|install SOURCE|remove ID|enable ID|disable ID|summon ID|toggle ID]
|
||||
action=${2:-list}
|
||||
@@ -67,5 +70,5 @@ case "${1:-run}" in
|
||||
settings|close|status)
|
||||
exec quickshell ipc --path "$project_dir/quickshell" call shell "$1"
|
||||
;;
|
||||
*) echo 'Usage: glassmxrph [run|wallpaper|launcher|dashboard [TAB]|plugin ACTION|controlcenter|lock|widgets|osd ACTION|notifications ACTION|settings|close|status|doctor]' >&2; exit 2 ;;
|
||||
*) echo 'Usage: glassmxrph [run|wallpaper|launcher|clipboard|dashboard [TAB]|plugin ACTION|controlcenter|lock|widgets|osd ACTION|notifications ACTION|settings|close|status|doctor]' >&2; exit 2 ;;
|
||||
esac
|
||||
Reference in new issue
Block a user