Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dmenu2 -mask option #46

Open
s-ol opened this issue Nov 5, 2019 · 8 comments
Open

Support dmenu2 -mask option #46

s-ol opened this issue Nov 5, 2019 · 8 comments

Comments

@s-ol
Copy link

s-ol commented Nov 5, 2019

-mask in dmenu2 is like -password for rofi.

@firecat53
Copy link
Owner

Same idea is already supported: see config.ini.example:

# # override normal foreground and background colors (dmenu) or use the
# # -password option (rofi) to obscure passphrase entry
# [dmenu_passphrase]
# nf = #222222
# nb = #222222
# rofi_obscure = True

@s-ol
Copy link
Author

s-ol commented Nov 5, 2019

exactly, but none of the three parameters can be used to make it work with dmenu natively.

@firecat53
Copy link
Owner

Maybe I'm misunderstanding something...dmenu doesn't have a -mask option. What are you trying to accomplish?

@s-ol
Copy link
Author

s-ol commented Nov 5, 2019

Oh I'm sorry, I missed that I am actually running dmenu2, which does:
https://bitbucket.org/melek/dmenu2

Seeing that there are mulitple different forks and options with different flags, maybe it would be good to just override the dmenu_command and let the user specify which flags to apply?

@s-ol s-ol changed the title Support dmenu -mask option Support dmenu2 -mask option Nov 5, 2019
@firecat53
Copy link
Owner

Did you try just adding -mask to the dmenu_command line in config.ini? It should support command line arguments.

[dmenu]
dmenu_command = /usr/bin/dmenu2 -mask

@s-ol
Copy link
Author

s-ol commented Nov 5, 2019

that also obscures search input in normal use. If there was a dmenu_passphrase.dmenu_command that would work.

@firecat53
Copy link
Owner

Ah, yeah, makes sense. I'll try and figure out the best way to handle it. May take awhile....not much development time lately :(

@s-ol
Copy link
Author

s-ol commented Nov 5, 2019

No worries, I am using nf and nb for now, just wanted to mention this here in case you didn't know of the option ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants