aboutsummaryrefslogtreecommitdiff
path: root/config/sway/scripts/pass
diff options
context:
space:
mode:
Diffstat (limited to 'config/sway/scripts/pass')
-rwxr-xr-xconfig/sway/scripts/pass6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/sway/scripts/pass b/config/sway/scripts/pass
new file mode 100755
index 0000000..06383b3
--- /dev/null
+++ b/config/sway/scripts/pass
@@ -0,0 +1,6 @@
+#!/bin/sh
+find ~/.password-store -name .git -prune -o -type f -printf '%P\n' | \
+ sed 's/\.gpg$//' | wofi -d -p 'Pass:' | \
+ while read -r psw; do
+ pass -c "$psw"
+done