Commit graph

40 commits

Author SHA1 Message Date
yory8
3dc60a4284 fix build 2019-10-28 07:40:33 +01:00
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
676fea9c99 feat: add restore command to serve last item 2019-10-27 09:13:44 +01: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
eeb76828eb fix: upgrade version number 2019-10-13 14:22:09 +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
a0e4bc98dd docs: mention wofi support 2019-09-29 10:16:20 +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
418fa225ea refac!: change selector flag to "tool" 2019-09-17 11:52:49 +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
debad600c4 feat: implement "clear" command
Closes #17
2019-09-16 20:49:54 +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
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
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
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
yory8
27bb85f9e8 nicer output on missing options 2019-08-02 13:51:13 +02:00
Eric Engestrom
01b6c8815b provide additional information on error 2019-08-01 17:58:03 +01:00
yory8
865a378804 fix(selector): exit on empty history 2019-07-17 10:03:41 +02:00
yory8
7f5078bfdb fix: don't kill demon on wl-clipboard errors 2019-07-17 09:22:22 +02:00
yory8
970e8ad514 fix(selector): allow logging errors 2019-05-09 18:46:16 +02:00
Bartosz Taczała
1ed0c40715 Provide a selector option
This allows to switch between using dmenu/rofi
2019-05-07 11:59:09 +02:00
yory8
b231836f35 better error messages 2019-04-16 14:21:36 +02:00
yory8
d29c605f99 Revert buggy "feat: exit cleanly on sigterm/siginterr"
This reverts commit 3b9d475e89.
2019-04-04 10:23:41 +02:00
yory8
3b9d475e89 feat: exit cleanly on sigterm/siginterr 2019-03-26 12:12:32 +01:00
yory8
8742f901b8 small cosmetics fixes 2019-03-25 19:33:05 +01:00
yory8
12fc2eb10f clarify cli help 2019-03-23 12:49:17 +01:00
yory8
96a10b4479 enable setting max-items from cli 2019-03-23 11:26:50 +01:00
yory8
981a591acd Persist a copy buffer after its source is gone 2019-03-23 11:22:36 +01:00
yory8
ad5f124288 refactor demon and selector into a single go binary 2019-03-22 21:55:33 +01:00
yory8
63a247000b only filter history if not empty 2019-03-22 16:08:28 +01:00
yory8
ecfe78e04d first 2019-03-22 15:13:41 +01:00