Chris Down
58a8d7f288
Add ISC license
2015-08-22 23:03:30 +01:00
Chris Down
b851c04d3e
Set nullglob to avoid "bad array subscript" when no files exist
2015-08-22 19:41:19 +01:00
Chris Down
92807e1053
Merge branch 'feature/travis' into develop
2015-08-22 19:37:07 +01:00
Chris Down
1eb1e21857
Add Travis CI configuration
...
Fixes #15 .
2015-08-22 19:30:26 +01:00
Chris Down
190722f909
Revert "Remove CLIPMENU_LINES support"
...
This is a sensible default and probably should remain.
This reverts commit 10f0ffe6cb
.
2015-08-22 19:28:15 +01:00
Chris Down
95b8cd5698
Limit number of characters displayed in "first line" dmenu selector to 500
...
Fixes #14 .
2015-08-22 13:17:12 +01:00
Chris Down
98b959e0d9
Merge branch 'master' into develop
2015-08-07 19:15:41 +01:00
Chris Down
0717e72a03
Merge tag '1.0.0'
...
Initial stable release
2015-08-07 19:15:15 +01:00
Chris Down
d1bdebf03f
xsel: Pass -i
flag to fix mysterious issue with i3-msg
...
Fixes #11 .
2015-08-07 19:13:53 +01:00
Chris Down
10f0ffe6cb
Remove CLIPMENU_LINES support
...
You can just pass this as `-l`, I don't remember why I did this.
2015-08-07 18:29:26 +01:00
Chris Down
d4390324f5
Document why we add/remove an "x" when grabbing the clipboard data
2015-07-27 20:19:41 -07:00
Chris Down
d246b63f27
Set perms to 0700 when creating cache dir
2015-07-27 20:16:13 -07:00
Chris Down
0418bf2e6d
Sort selections by recency
...
Fixes #5 .
2015-07-27 20:08:10 -07:00
Chris Down
5b2754868b
Make clipmenu cache directory user-specific
...
Fixes #2 .
2015-07-27 20:01:41 -07:00
Chris Down
35521af0ec
Make sure that the clipboard data is not just whitespace before copying
...
This avoids getting a bad array subscript, and polluting the menu.
Thanks to @kaihendry for noticing this issue and suggesting a fix. This commit
is a modified version of his suggestion, using [:blank:] instead of [:space:].
Closes #7 .
2015-07-27 20:00:21 -07:00
Chris Down
d5a9449171
Note how argument handling works when passing to dmenu
2015-07-09 09:53:06 +01:00
Chris Down
bbd9b65a00
Allow overriding dmenu_lines using CLIPMENU_LINES
...
Fixes #3 .
2015-02-08 17:45:39 +00:00
Chris Down
33fc9dd33e
Show first non-empty line in dmenu
...
Fixes #4 . As first suggested in a fork by @milouse.
2015-02-08 17:43:10 +00:00
Chris Down
2cbfb4ef88
Add xclip support
...
Fixes #1 . As first suggested in a fork by @milouse.
2015-02-08 17:40:36 +00:00
Chris Down
c40456caa0
Do not write to file if last selection data is the same
2014-02-05 18:52:03 +08:00
Chris Down
3a4a76dcb9
Pass arguments through to dmenu
2014-02-05 18:24:13 +08:00
Chris Down
fecfede140
Do not add newline when copying clipboard data to file
2014-02-05 18:06:47 +08:00
Chris Down
fd8b6bfe37
Check that there really is some data before storing it
2014-02-05 18:02:39 +08:00
Chris Down
2f9998bb30
readme: Replace all references about xclip with xsel
2014-02-05 17:48:31 +08:00
Chris Down
4ab52c5747
Use xsel when copying to clipboard, not xclip
2014-02-05 17:48:03 +08:00
Chris Down
dd9a041846
Copy from both clipboard and primary selections
2014-02-05 17:45:37 +08:00
Chris Down
65f0b277ec
Add readme
2014-02-05 17:42:35 +08:00
Chris Down
700a6b27dc
Copy chosen line's content to the clipboard
2014-02-05 17:16:42 +08:00
Chris Down
e46b37c793
Add script to run dmenu with selections
2014-02-05 17:14:28 +08:00
Chris Down
4a85fd767c
Add clipmenu daemon
2014-02-05 16:57:11 +08:00