Age | Commit message (Collapse) | Author |
|
There's no need to have the getopts loop outside the main function. The
main function can be called as `main "$@"` to accept positional
parameters as input which then goes on to `getopts` which, by default,
uses `"$@"` unless a positional parameters is explicitly given.
|
|
I'm using `wtype` instead of `ydotool` simply because the former doesn't
need root access while the latter does. However, `wtype` doesn't seem to
be able to autotype correctly in a few cases in Firefox. In Chromium,
autotyping seems to be broken with `wtype`.
I don't think one should rely on autotyping. Although it is extremely
convenient, it is error prone, even in X11 when using xdotool. One of
the reasons is because some web pages don't follow the typical username
and password prompt and have a link between the two which basically
breaks autotyping.
|
|
Although bemenu and rofi work fine, fzf doesn't if tessen isn't invoked
from a terminal. I'm not sure why but using `exec $TERMINAL -e tessen -b
fzf` inside a sway config file won't work as expected.
|
|
For now, the script isn't ready for wide usage. I still need to add code
for autotyping and for all the backend choices.
|