Fix some rules and mpv positioning

This commit is contained in:
Chris Cochrun 2021-08-16 06:17:28 -05:00
parent 21ea41028d
commit b99b8b191d
6 changed files with 85 additions and 79 deletions

View file

@ -27,16 +27,16 @@ echo $option
case ${option} in
Password )
echo "Test"
xdotool type $(rbw get ${SECRET})
echo "${SECRET}"
xdotool type $(rbw get "${SECRET}")
;;
User )
xdotool type $(rbw get --full ${SECRET} | rg Username: | awk '{$1 = ""; print $0}')
xdotool type $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
;;
"User and password" )
xdotool type $(rbw get --full ${SECRET} | rg Username: | awk '{$1 = ""; print $0}')
xdotool type $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
xdotool key Tab
xdotool type $(rbw get ${SECRET})
xdotool type $(rbw get "${SECRET}")
;;
"QR-Code" )
if [[ $SECRET =~ wifi$ ]]; then