Support dmenu2 -mask option
-mask in dmenu2 is like -password for rofi.
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
exactly, but none of the three parameters can be used to make it work with dmenu natively.
Maybe I'm misunderstanding something...dmenu doesn't have a -mask option. What are you trying to accomplish?
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?
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
that also obscures search input in normal use. If there was a dmenu_passphrase.dmenu_command that would work.
Ah, yeah, makes sense. I'll try and figure out the best way to handle it. May take awhile....not much development time lately :(
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 ;)