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