Age | Commit message (Collapse) | Author |
|
This makes a pretty lockscreen for sway, using grim to take a
screenshot, and imagemagick to blur and desaturate.
|
|
|
|
This refactors screenshot somewhat so it uses better variable names,
curly brace syntax, and quotes. It also better handles being called when
a display manager can't be detected.
This also adds support for wayland, with a second set of requirements
for `grim` and `slurp` if Wayland is detected as the display manager.
|
|
Originally, typing passwords with xdotool was the only way to use the
tool, primarily because some apps prevent the user from copying and
pasting. Now we use copy and paste by default, because so few apps
prevent that. To override default behavior of pasting username and
password, set 'type=[1|y|yes|true]' in the pass entry.
Note: the copy/paste process of username and password backs up current
clipboard value and restores it after the username and password have
been pasted.
|
|
The backtick char can cause all kinds of issues, since it allows for
execution of subshell code.
|
|
Some passwords that started with one or two - characters would break
printf. Added the -- switch to avoid further switch parsing.
Also quoted a couple of variables to avoid problems with spaces.
Changed xdotool type rate to 20 ms between characters, since some
services don't like people who type with 15 ms between chars.
|
|
|
|
Now pt supports a custom field delimiter. Most UIs that have a username
and password field, changing to from username to password is done by
pressing the Tab key. Some UIs however, switch with other keys (like
Return). Now a pass entry can specifiy 'delim: ...', which will be used
when the username/passwords are typed.
Also added support for automatic submission. Previously we just typed
username, delimiter, password, and let the user press enter for maximum
choice. Now we allow the user, on a per-password basis, to specify
whether they want submit to be pressed or not. This adds support for the
'submit: ...' field.
Also abstracted field value retrieval out of the main function (and long
oneliner commands), into the new getfield function.
|
|
|
|
Ironically, quicktype isn't very quick to type.
|
|
Added log function that outputs to stdout, and a notification daemon if
one is available.
Added check_env function to ensure the tools are available to use this
script.
Moved main operating code into the new 'main' function.
|
|
|
|
|
|
|
|
|
|
This explains what each script is used for.
|
|
Made it a bit more tolerant of missing binaries. Broke bits into functions.
Added more comments.
|
|
|
|
|
|
|
|
Updated help text as well
|
|
|
|
|
|
|
|
|