-
Notifications
You must be signed in to change notification settings - Fork 28
Clear clipboard after a configurable period of time #88
Description
If there is no X clients owning primary selection, Clipster acquires the ownership and updates it with the latest entry in history. This is how clipboard manager typically does and it's convenient. However, it also has a side effect that makes stale text selection persistent.
For example, suppose I selected a piece of text in some application twenty minutes ago, now I want to check if I have just selected some text (e.g., by using command line tool like xsel). This is impossible if Clipster is running, because it always returns something.
I have a lot of commands in bash and emacs that depends on the check. For example, if I have just selected some text, search command will use that text directly rather than prompt me to input the text to search for. I don't know if there are popular tools depending on this behavior, but I think it might be useful to add a configuration option (e.g. a timeout value, which defaults to 0 and disables the features), and Clipster clears clipboard after the specified time pass.