first fully functional autocomplete
This commit is contained in:
parent
1dde23673e
commit
5559b0ce4c
2 changed files with 42 additions and 60 deletions
|
|
@ -9,10 +9,11 @@ read -r TOTP || TOTP=""
|
|||
#LAST_WINDOW=$(hyprctl clients | grep ^Window | tail -n1 | awk '{print $2}')
|
||||
|
||||
# Focus last window
|
||||
#echo "LAST_WINDOW: $LAST_WINDOW"
|
||||
#hyprctl dispatch focuswindow "address:$LAST_WINDOW"
|
||||
$BWZY_REFOCUS_CMD
|
||||
|
||||
# Hide bwzy
|
||||
$BWZY_HIDE_CMD
|
||||
|
||||
# Use wtype to output the USER and PASS
|
||||
$BWZY_TYPE_CMD "$USER"
|
||||
$BWZY_TYPE_CMD " "
|
||||
|
|
@ -26,3 +27,4 @@ if [[ -n "$TOTP" ]]; then
|
|||
echo -n "$TOTP" | cli-copy
|
||||
[[ -n "$BWZY_NOTIFY_CMD" ]] && $BWZY_NOTIFY_CMD "TOTP copied to clipboard"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue