Fixed Formatting issue.

This commit is contained in:
James Patrick 2020-08-17 23:35:16 -04:00
parent e000e0e586
commit 0b5d49b31d

View File

@ -23,26 +23,26 @@ EOF
); );
case "$RESP" in case "$RESP" in
Autotype) Autotype)
swaymsg exec "source ~/.profile \ swaymsg exec "source ~/.profile \
&& ydotool type \"\$(pass get_user $PASSFILE)\" \ && ydotool type \"\$(pass get_user $PASSFILE)\" \
&& ydotool key TAB \ && ydotool key TAB \
&& ydotool type \"\$(pass get_pass $PASSFILE)\"" && ydotool type \"\$(pass get_pass $PASSFILE)\""
;; ;;
Username) Username)
swaymsg exec "source ~/.profile \ swaymsg exec "source ~/.profile \
&& ydotool type \"\$(pass get_user $PASSFILE)\"" && ydotool type \"\$(pass get_user $PASSFILE)\""
;; ;;
Password) Password)
swaymsg exec "source ~/.profile \ swaymsg exec "source ~/.profile \
&& ydotool type \"\$(pass get_pass $PASSFILE)\"" && ydotool type \"\$(pass get_pass $PASSFILE)\""
;; ;;
Page) Page)
pass "$PASSFILE" | LESS=R less pass "$PASSFILE" | LESS=R less
;; ;;
QR) QR)
swaymsg exec "pass show \"${PASSFILE}\" --qrcode" swaymsg exec "pass show \"${PASSFILE}\" --qrcode"
;; ;;
*) *)
exit 1 exit 1
esac esac