Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rofi-pass, README.md: :delay supports custom times #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ in a convenient way using [rofi](https://github.com/DaveDavenport/rofi).
* The field names for `user`, `url` and `autotype` are configurable
* Bookmarks mode (open stored URLs in browser, default: Alt+x)
* Share common used passwords between several entries (with different URLs, usernames etc)
* The `:delay` keyword for autotyping can be either set by default in the config
(2 seconds by default), or we can use `:delay_time` where `time` is a number,
for example: `:delay_5` in an `autotype` field will `sleep 5`

## Requirements

Expand Down
1 change: 1 addition & 0 deletions rofi-pass
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ autopass () {
case "$word" in
":tab") xdotool key Tab;;
":space") xdotool key space;;
":delay_"*) sleep "${word#:delay_}";;
":delay") sleep "${delay}";;
":enter") xdotool key Return;;
":otp") printf '%s' "$(generateOTP)" | xdotool type --delay ${xdotool_delay} --clearmodifiers --file -;;
Expand Down