Commit graph

3 commits

Author SHA1 Message Date
Jonathan Hodgson
2d8a64c566 Adds qr code decode to act on last 2022-02-07 12:29:52 +00:00
Jonathan Hodgson
4279b7373a BIN: actOnLast: small changes to how screenshots are handled
If a shadow is added to a screenshot, that new images is added to the
clipboard and the next event will be run against that.

Also, add to clipboard is now something you can do after a screenshot
(or shadow add) which is useful if you copy something, then want to
re-add the last screenshot to your clipboard
2021-11-23 15:37:24 +00:00
Jonathan Hodgson
e325e49959 Starts work on ActOnLast
This is a script that provides context menus (via rofi) based on a
previous action.

It takes an optional --first argument that, when present, causes the
script to select the first option on the list automatically.

It currently has two actions that it knows how to follow:

* using my password manager script to select a password
    - In this situation it will get a otp for the same password
* After taking a screenshot
    - open the screenshot
    - Add a shadow to the screenshot
    - Perform ocr on the screenshot

I will extend this to do more things in time.
2021-11-18 11:29:18 +00:00