summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-08removed the code for fzf backendv0.4.0Ayush Agarwal
This allowed to make the code much simpler and avoid repititive validation checks. Using fzf as a backend is broken because I've been unable to figure out how to make fzf work if we do `$TERMINAL -e tessen -b fzf`.
2021-09-08made the help menu betterAyush Agarwal
2021-09-08minor modifications to the READMEAyush Agarwal
2021-09-08add trap and reorganize global varsAyush Agarwal
2021-09-08created func for backend and clip_time validationAyush Agarwal
Yeah, don't litter your script with code not inside functions. The help menu was also moved near the end of the script because it isn't part of the script's core logic functions which are meant to be at the top.
2021-09-08reorganize the copy and autotype functionsAyush Agarwal
The copy and autotype functions were renamed to make better sense and adapated to work with the `clean` and `die` functions. This will make these functions work well with an EXIT trap.
2021-09-08create `clean` and `die` functionAyush Agarwal
The `clean` function will copy password store data for a specific amount of time and then clear it. The `die` function is meant to clear the clipboard and other sensitive data immediately.
2021-09-08moved password-store directory validation in mainAyush Agarwal
2021-09-08moved the getopts loop to the main functionAyush Agarwal
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.
2021-09-07added a READMEAyush Agarwal
2021-09-07added support for autotyping password-store datav0.3.0Ayush Agarwal
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.
2021-09-07copying code using bemenu, rofi, and fzf now worksv0.2.0Ayush Agarwal
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.
2021-09-07added MIT licenseAyush Agarwal
2021-09-07the first commit for tessenv0.1.0Ayush Agarwal
For now, the script isn't ready for wide usage. I still need to add code for autotyping and for all the backend choices.
2021-09-07initial empty commitAyush Agarwal