cdown / clipmenu

Clipboard management using dmenu
MIT License
1.14k stars 91 forks source link

Status and toggle command #151

Closed AckslD closed 3 years ago

AckslD commented 3 years ago

I've on my own setup extended clipctl to also have the commands:

It's currently a bit hacky but if you find this interesting and I can open a PR to add these commands and discuss how to do this in the best way.

cdown commented 3 years ago

I think status sounds fine, but what's the use case for toggle? :-)

AckslD commented 3 years ago

In my case I put an icon in my status bar showing it's status and I can either click on it or using a key-combination to toggle the status. This might be a specialised need though and a toggle command can easily be created if status exists.

cdown commented 3 years ago

Sounds reasonable, in which case I think both are fine. Feel free to send a PR :-)

AckslD commented 3 years ago

Cool, I might cleanup some things first and open a PR in the coming days :+1:

AckslD commented 3 years ago

@cdown See PR #152. Let me know what you think :)