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
linky & pa alias
author
Jes Olson
date
3 years ago
(Dec 27, 2022, 11:14 PM -0800)
commit
7b5ad07c
7b5ad07c056604edac0802eeced72ee7c26a3f91
parent
661d9031
661d9031ed5973b9058b97f9d200a270bb560094
+2
-16
2 changed files
Expand all
Collapse all
Unified
Split
.rc
bin
pa-bemenu
+1
-1
.rc
Reviewed
···
14
14
pa() {
15
15
case $1 in
16
16
g)
17
17
-
cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}"
17
17
+
cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa/passwords}"
18
18
git pull
19
19
git add --all
20
20
git commit -m '*'
+1
-15
bin/pa-bemenu
Reviewed
···
1
1
-
#!/bin/sh
2
2
-
#
3
3
-
# prompt for a password via bemenu
4
4
-
# then type the selected password
5
5
-
#
6
6
-
# deps:
7
7
-
# - wtype
8
8
-
# - bemenu
9
9
-
# - pa
10
10
-
11
11
-
cd "${PA_DIR:-$HOME/.local/share/pa}"
12
12
-
password_files="$(find * -type f | grep -v '/.git')"
13
13
-
password=$(printf '%s\n' "$password_files" | sed 's/.age//' | bemenu -c -W 0.2 -l 20 "$@")
14
14
-
15
15
-
pa show "$password" | head -n 1 | tr -d '\n' | wtype -
1
1
+
/home/j3s/code/pa/contrib/pa-bemenu