keepmenu icon indicating copy to clipboard operation
keepmenu copied to clipboard

[Request] support direct bind to view?

Open zeltak opened this issue 7 years ago • 4 comments

hi again

I wonder if its possible to add a switch (ie keepmenu -d?) to launch keepmenu direct into view mode without first pressing `view/type individual entries'

for me i view alot of info in entries throughout the day and it could make life just a tad easier :D

thx

Z

zeltak avatar Oct 25 '18 14:10 zeltak

I took a look at this for awhile. It is possible. Is it worth the added code complexity to save one keystroke? You just have to hit 'Enter' to open the 'View/Type' menu (it's the default selection). Unless you're binding 'keepmenu -d' to a separate keybinding in your window manager, you use more keystrokes to type ' -d' then just hitting 'Enter'. I'm open to more arguments or other possible uses for command line switches, but my instinct is keep it as simple as possible.

firecat53 avatar Oct 25 '18 15:10 firecat53

yeah i guess i see your logic and can live with it :D I would indeed have 2 separate binds for each argument but i understand your point

zeltak avatar Oct 25 '18 15:10 zeltak

Go ahead and leave the issue open. I may poke at it at some point if I can see a need for being able to pass command line arguments. Thanks!

firecat53 avatar Oct 25 '18 15:10 firecat53

Bind to or alias a script like this:

#!/usr/bin/env bash
~/.local/bin/keepmenu
sleep 0.1  # adjust as needed
xdotool key Return

What would be more useful, though hardly necessary, are keybinds or menu entries that allow backward navigation.

pkfm avatar Dec 11 '19 20:12 pkfm