Commit graph

95 commits

Author SHA1 Message Date
yory8
545642bd2b fix: don't fail on missing wl-copy 2019-10-27 23:18:46 +01:00
yory8
bb094dab9e fix: stop leaking content of clipboard 2019-10-27 21:53:27 +01:00
yory8
9097bb4f6b refac: remove some duplication 2019-10-27 16:00:51 +01:00
yory8
24d13eb5bc deal with max=0 in the storer 2019-10-27 13:59:04 +01:00
yory8
2633e11f53 docs: update changelog 2019-10-27 09:24:51 +01:00
yory8
c22ff713e3 docs: document new restore command 2019-10-27 09:22:40 +01:00
yory8
676fea9c99 feat: add restore command to serve last item 2019-10-27 09:13:44 +01:00
yory8
6b604f2ef2 chore: update deps 2019-10-15 19:40:16 +02:00
Eric Engestrom
fca660c42f feat(selector): add --tool-args to pass extra argument to the --tool 2019-10-14 09:40:00 +02:00
yory8
f5ed53d378 feat(selector): add prompt to rofi/wofi 2019-10-13 20:28:46 +02:00
yory8
1a22fa442f docs: reword 2019-10-13 16:51:25 +02:00
yory8
11a1ad5cdc docs: warn about loss of rich text 2019-10-13 15:39:48 +02:00
yory8
5c4eff029c docs: add steps to do to release new version 2019-10-13 14:24:05 +02:00
yory8
eeb76828eb fix: upgrade version number 2019-10-13 14:22:09 +02:00
yory8
3581385dbc changelog: prepare v1.1 2019-10-13 10:30:56 +02:00
yory8
b5fc223fd4 serve next-to-last item when clearing last item 2019-10-13 10:25:49 +02:00
yory8
8a300ad8ed feat: add --version flag 2019-10-02 16:20:04 +02:00
yory8
f0cd4bcb68 refac: better error msg for missing history 2019-09-30 22:12:25 +02:00
yory8
637f58f95c fix(selector): let stderr of selector pass through to the console 2019-09-30 19:14:54 +02:00
yory8
d3c5a2c158 fix(selector): ignore selector's stderr
Gtk errors from wofi were polluting our selection
2019-09-30 19:09:15 +02:00
yory8
a080e1b7f9 fix(selector): wofi doesn't allow setting n of display items 2019-09-30 09:55:42 +02:00
yory8
df27c88c2b fix(selector): tell wofi to not cache 2019-09-30 09:48:00 +02:00
yory8
a0e4bc98dd docs: mention wofi support 2019-09-29 10:16:20 +02:00
Luis Pabon
9641dc48e7 feat(selector): add support for wofi (#24) 2019-09-29 08:06:01 +00:00
yory8
913fb79ce8 fix(selector): replace tabs when tool is dmenu
Dmenu breaks with entries containing tabs
2019-09-27 09:24:55 +02:00
yory8
7bffac6caf fix: avoid endless loop 2019-09-21 09:52:15 +02:00
yory8
f422626935 refac: better error message 2019-09-17 18:37:12 +02:00
yory8
789a43de40 fix(clearer): if drop last item, wipe it from clipboard too 2019-09-17 13:55:08 +02:00
yory8
824b31c50f fix(selector): don't spawn wl-copy if no selection 2019-09-17 13:28:34 +02:00
yory8
11ad8149ad refac!(selector): rename "-" to "STDOUT", add short opt 2019-09-17 12:53:45 +02:00
yory8
3454a67b4c docs: update v1 changelog 2019-09-17 12:03:13 +02:00
yory8
418fa225ea refac!: change selector flag to "tool" 2019-09-17 11:52:49 +02:00
yory8
e0e1c47c0a fix(selector): only escape newlines
Previously we were also escaping unneeded stuff like tabs, etc.
2019-09-17 11:50:52 +02:00
yory8
1d9de528ed fix: log an accidentally ignored error 2019-09-17 11:03:37 +02:00
yory8
68cedcea0c refac: cleanup and comment code 2019-09-17 10:20:53 +02:00
yory8
08a798e7f3 docs: mention cmd clear in readme 2019-09-16 21:44:20 +02:00
yory8
debad600c4 feat: implement "clear" command
Closes #17
2019-09-16 20:49:54 +02:00
yory8
460c5080d0 fix: skip empty copy 2019-09-16 20:38:39 +02:00
yory8
c42e1cabf8 refac!: move from demon to oneshot storer
Breaking change: requires calling with
`wl-paste -t text --watch clipman store`.

As a side-effect, enable primary clipboard support:
`wl-paste -p -t text --watch clipman store
--histpath="~/.local/share/clipman-primary.json`!

Closes #12
2019-09-16 20:00:21 +02:00
yory8
37c48c263a chore: changelog for v1.0 2019-09-16 16:19:30 +02:00
yory8
b46a2c3907 perf!: move from polling to event-driven model
BREAKING CHANGE: requires wl-clipboard >= 2.0

Closes #1.
2019-09-16 16:19:30 +02:00
yory8
3d62f25c7a refac!: switch to subcommands
Breaking change: requires users to change how they call the command

Closes #18
2019-09-16 16:09:26 +02:00
yory8
59334482bb fix: handle missing histfile correctly 2019-09-16 12:51:33 +02:00
yory8
fa9a3657db docs: init contributing guidelines 2019-09-15 12:19:34 +02:00
yory8
9f4d0dd044 style: gofmt 2019-09-15 09:34:04 +02:00
Götz Christ
bcfcd493fc feat: add STDOUT selector (#20)
Note that the output is a repr string, so for example newlines and tabs are escaped as literals.
2019-09-15 09:30:31 +02:00
yory8
5a2ed95aee docs: init changelog 2019-09-10 13:59:45 +02:00
yory8
ab8bbd3bf8 docs: declare that we use SemVer 2019-09-09 19:30:24 +02:00
yory8
9a28ad2c85 small cleanup 2019-09-09 19:25:28 +02:00
yory8
ef3ebf0135 allow custom history path 2019-08-24 21:08:38 +02:00