cdown / clipmenu

Clipboard management using dmenu
MIT License
1.1k stars 90 forks source link

[Feature request] Config/Overrides file for clipmenu #184

Closed JimPix1 closed 2 years ago

JimPix1 commented 2 years ago

I use my own location for CM_DIR and I think it's pretty annoying to have to do CM_DIR=~/.local/share/clipmenu clipmenu to use clipmenu, clipmenud etc. etc. I think an overrides file or a config file would be quite useful. Even some flags maybe for a custom CM_DIR location for e.g clipmenud -c ~/.local/share/clipmenu.

cdown commented 2 years ago

I don't see why CM_DIR=~/.local/share/clipmenu clipmenu should be more difficult than clipmenud -c ~/.local/share/clipmenu.

Either way, you can:

alias clipmenu='CM_DIR=~/.local/share/clipmenu clipmenu'

Or

# put settings in `path'
alias clipmenu='(. path && exec clipmenu)'
cdown commented 2 years ago

(Closed without prejudice, but I don't see any compelling reason to add it. If it turns out there is one, we can discuss further.)