[fix] rbw script on cosmic and rebuilding flake.lock

This commit is contained in:
Chris Cochrun 2026-05-08 14:54:12 -05:00
parent 8e84614bcd
commit 27c5218617
2 changed files with 1583 additions and 6 deletions

1577
flake.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -40,15 +40,15 @@ echo $option
case ${option} in
Password )
echo "${SECRET}"
wtype $(rbw get "${SECRET}")
wtype -s 100 -d 50 $(rbw get "${SECRET}")
;;
User )
wtype $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
wtype -s 100 -d 50 $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
;;
"User and password" )
wtype $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
wtype -P tab
wtype $(rbw get "${SECRET}")
wtype -s 100 -d 50 $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
wtype -s 100 -d 50 -P tab
wtype -s 100 -d 50 $(rbw get "${SECRET}")
;;
"QR-Code" )
if [[ $SECRET =~ wifi$ ]]; then
@ -63,7 +63,7 @@ case ${option} in
fi
;;
"OTP" )
wtype $(rbw code "${SECRET}")
wtype -s 100 -d 50 $(rbw code "${SECRET}")
;;
esac