X11 clipboard history and management using spmenu
Go to file
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
clipmenu Allow overriding dmenu_lines using CLIPMENU_LINES 2015-02-08 17:45:39 +00:00
clipmenud Make sure that the clipboard data is not just whitespace before copying 2015-07-27 20:00:21 -07:00
README.md Note how argument handling works when passing to dmenu 2015-07-09 09:53:06 +01:00

clipmenu is a simple clipboard manager using dmenu and xsel.

To use it, start the clipmenud daemon, and then call clipmenu to launch dmenu. Upon choosing an entry, it is copied to the clipboard.

All args passed to clipmenu are transparently dispatched to dmenu. That is, if you usually call dmenu with args to set colours and other properties, you can invoke clipmenu in exactly the same way to get the same effect.