Merge pull request #121 from markstos/doc-clipmenud-options
document options for clipmenu
This commit is contained in:
commit
1368ec7a2a
28
README.md
28
README.md
|
@ -62,6 +62,34 @@ it should be fairly self-explanatory. However, at the most basic level:
|
|||
2. If `clipmenud` detects changes to the clipboard contents, it writes them out
|
||||
to the cache directory and an index using a hash as the filename.
|
||||
|
||||
### Features of `clipmenud`
|
||||
|
||||
The behavior of `clipmenud` can be customized through environment variables. Features include:
|
||||
|
||||
* Customizing max number of clips (Default: 1000)
|
||||
* Choosing which selections to manage
|
||||
* Ignoring certain windows, like password managers
|
||||
* Enabling debugging
|
||||
* Customizing the cache dir location
|
||||
* Disable looping
|
||||
* Option to "own" the clipboard
|
||||
|
||||
Check the online help to view the details:
|
||||
|
||||
clipmenud --help
|
||||
|
||||
If you managing `clipmenud` with `systemd`, you can override the defaults by using this command to generate an override file:
|
||||
|
||||
systemctl --user edit clipmenud
|
||||
|
||||
Then add a new section sets your environment variables. For example:
|
||||
|
||||
```
|
||||
[Service]
|
||||
Environment="CM_MAX_CLIPS=30"
|
||||
Environment="CM_SELECTIONS=clipboard"
|
||||
```
|
||||
|
||||
## clipmenu
|
||||
|
||||
1. `clipmenu` reads the index to find all available clips.
|
||||
|
|
Loading…
Reference in a new issue