aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/rofipass
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-16 20:49:05 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-16 20:49:05 +0530
commitf3bdd21020b8e618433a06c1efc1cc665cb6839d (patch)
tree32427d47c079637b670a20b62e0339df0e248641 /.local/bin/rofipass
first commit using stow
Diffstat (limited to '.local/bin/rofipass')
-rwxr-xr-x.local/bin/rofipass9
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/rofipass b/.local/bin/rofipass
new file mode 100755
index 0000000..b1bf6a3
--- /dev/null
+++ b/.local/bin/rofipass
@@ -0,0 +1,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/://)"