Commit graph

24 commits

Author SHA1 Message Date
yory8
11ad8149ad refac!(selector): rename "-" to "STDOUT", add short opt 2019-09-17 12:53:45 +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
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
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
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
9a28ad2c85 small cleanup 2019-09-09 19:25:28 +02:00
yory8
6b034ef5f9 fix: issue #7, find dmenu anywhere 2019-06-17 08:40:45 +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
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
68d2543d24 fix: stop failing with text beginning with hyphen 2019-04-16 14:30:07 +02:00
yory8
0f95eedd08 reduce maxchars 2019-04-04 10:50:15 +02:00
yory8
7de5487279 exit on empty history 2019-04-04 10:21:20 +02:00
yory8
cd492bea9e bugfix: respect dmenu's line length 2019-04-04 09:04:57 +02:00
yory8
8742f901b8 small cosmetics fixes 2019-03-25 19:33:05 +01:00
yory8
96a10b4479 enable setting max-items from cli 2019-03-23 11:26:50 +01:00
yory8
cf9b496f25 fix selector bug caused by returned newline 2019-03-22 22:23:14 +01:00
yory8
ec9d4f5eb3 cosmetics 2019-03-22 22:08:54 +01:00
yory8
615d5d303a simplify code 2019-03-22 22:05:56 +01:00
yory8
ad5f124288 refactor demon and selector into a single go binary 2019-03-22 21:55:33 +01:00