small pixel drawing of a pufferfish dotfiles

linky & pa alias
Jes Olson j3s@c3f.net
Tue, 27 Dec 2022 23:14:14 -0800
commit

7b5ad07c056604edac0802eeced72ee7c26a3f91

parent

661d9031ed5973b9058b97f9d200a270bb560094

2 files changed, 2 insertions(+), 16 deletions(-)

jump to
M .rc.rc

@@ -14,7 +14,7 @@ # meh i don't like this at all tbh

pa() { case $1 in g) - cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}" + cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa/passwords}" git pull git add --all git commit -m '*'
M bin/pa-bemenubin/pa-bemenu

@@ -1,15 +1,1 @@

-#!/bin/sh -# -# prompt for a password via bemenu -# then type the selected password -# -# deps: -# - wtype -# - bemenu -# - pa - -cd "${PA_DIR:-$HOME/.local/share/pa}" -password_files="$(find * -type f | grep -v '/.git')" -password=$(printf '%s\n' "$password_files" | sed 's/.age//' | bemenu -c -W 0.2 -l 20 "$@") - -pa show "$password" | head -n 1 | tr -d '\n' | wtype - +/home/j3s/code/pa/contrib/pa-bemenu