alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
add pa-dmenu to bin
author
j3s
date
5 years ago
(Feb 4, 2021, 6:36 PM -0600)
commit
54f91044
54f91044a8fc98885836d6f6cde297741c863431
parent
0598a454
0598a454f3e89d0fa0fa0caf08788cf6db5e81e8
+8
1 changed file
Expand all
Collapse all
Unified
Split
bin
pa-dmenu
+8
bin/pa-dmenu
Reviewed
···
1
1
+
#!/bin/sh
2
2
+
3
3
+
cd "${PA_DIR:-$HOME/.local/share/pa}"
4
4
+
password_files="$(find * -type f | grep -v '/.git')"
5
5
+
password=$(printf '%s\n' "$password_files" | sed 's/.age//' | dmenu "$@")
6
6
+
7
7
+
pa show "$password" | head -n 1 |
8
8
+
xdotool type --clearmodifiers --file -