Commit graph

71 commits

Author SHA1 Message Date
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
yory8
04128fc629 chore(deps): bump deps 2019-08-20 18:54:42 +02:00
yory8
573c8a30ff chore(deps): bump up 2019-08-02 16:02:00 +02:00
yory8
27bb85f9e8 nicer output on missing options 2019-08-02 13:51:13 +02:00
yory8
df4b816db7 fix(demon): make max-items filter more robust 2019-08-02 09:31:23 +02:00
yory8
cdce95b33a
Merge pull request #13 from 1ace/error-msg
Provide additional information on error
2019-08-02 07:04:26 +00: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
1930514efb fix: only accept text content (revert 2d7d64c) 2019-07-17 09:55:09 +02:00
yory8
7f5078bfdb fix: don't kill demon on wl-clipboard errors 2019-07-17 09:22:22 +02:00
yory8
a64d7bdf66 chore: up deps 2019-07-04 23:28:25 +02:00
yory8
6b034ef5f9 fix: issue #7, find dmenu anywhere 2019-06-17 08:40:45 +02:00
yory8
2d7d64c80d fix(demon): close issue #6 2019-06-16 16:20:56 +02:00
yory8
ef2160074d typo: uppercase 2019-06-11 21:53:30 +02:00
yory8
9b4d5d8f3e fix: use gomodules properly 2019-05-22 11:36:39 +02:00
yory8
eb22802789 docs: add missing & 2019-05-13 13:21:38 +02:00
yory8
b164b79048 docs: add installing instructions 2019-05-13 12:41:44 +02:00
yory8
9819a71777 clean dmenu code 2019-05-10 09:20:43 +02:00
yory8
970e8ad514 fix(selector): allow logging errors 2019-05-09 18:46:16 +02:00
yory8
0a00dede30 docs + style 2019-05-09 08:42:43 +02:00
yory8
841b03b4aa
Merge pull request #2 from w0land/rofi_selector
Provide a selector option
2019-05-09 06:40:40 +00: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
112f478070 fix(demon): stop logging no selection 2019-04-18 23:07:34 +02:00
yory8
12255a8341 fix(demon): don't abort on no selection 2019-04-18 16:18:51 +02:00
yory8
68d2543d24 fix: stop failing with text beginning with hyphen 2019-04-16 14:30:07 +02:00