| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Take password prompt from STDIN, print password to STDOUT |
| 4 | # the sed piece just removes the colon from the provided |
| 5 | # prompt: rofi -p already gives us a colon |
| 6 | rofi -dmenu \ |
| 7 | -password \ |
| 8 | -no-fixed-num-lines \ |
| 9 | -p "$(printf "$1" | sed s/://)" |