File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [ -z " $1 " ]; then
4+ cliphist list
5+ else
6+ cliphist decode <<< " $1" | wl-copy
7+ fi
Original file line number Diff line number Diff line change @@ -52,6 +52,38 @@ or else query manually
5252
5353---
5454
55+ ### picker examples
56+
57+ <details >
58+ <summary >dmenu</summary >
59+
60+ ` cliphist list | dmenu | cliphist decode | wl-copy `
61+
62+ </details >
63+
64+ <details >
65+ <summary >fzf</summary >
66+
67+ ` cliphist list | fzf | cliphist decode | wl-copy `
68+
69+ </details >
70+
71+ <details >
72+ <summary >rofi</summary >
73+
74+ ` rofi -modi clipboard:/path/to/cliphist-rofi -show clipboard ` with [ contrib/cliphist-rofi] ( https://github.com/sentriz/cliphist/blob/master/contrib/cliphist-rofi )
75+
76+ </details >
77+
78+ <details >
79+ <summary >rofi dmenu mode</summary >
80+
81+ ` cliphist list | rofi -dmenu | cliphist decode | wl-copy `
82+
83+ </details >
84+
85+ ---
86+
5587### faq
5688
5789<details >
You can’t perform that action at this time.
0 commit comments