fix --last-used
This commit is contained in:
parent
4095867400
commit
1e73921582
@ -37,6 +37,8 @@ autopass () {
|
||||
if [[ ${selected_password} == "[ Add Entry ]>" ]]; then insertPass;
|
||||
elif [[ ${selected_password} == "---" ]]; then mainMenu;
|
||||
else
|
||||
rm -f "$HOME/.config/rofi-pass/last_used"
|
||||
echo "${root}: $selected_password" > "$HOME/.config/rofi-pass/last_used"
|
||||
if [[ -z "${stuff["$AUTOTYPE_field"]}" ]]; then
|
||||
echo -n "${stuff["${USERNAME_field}"]}" | xdotool type --clearmodifiers --file -
|
||||
xdotool key Tab
|
||||
|
Loading…
Reference in New Issue
Block a user