Repository navigation
Slaps 0.4.0
A card at the side
A fourth alert style, beside full screen and the banners: a card in the top right of your main screen, under the menu
bar, like a notification that stays until you deal with it. It leaves your keyboard and the rest of the screen alone.
Choose it in Settings › General › Style.
Alerts you can answer
Other apps can now put buttons on their alerts, and Slaps opens that app's link with the one you press. Boiler Room
uses this: when one of your scripts asks "Rotate the key?", you can say Yes or No from the alert itself.
For apps and scripts that send alerts:
actions=Yes,Nowith acallbackURL puts answer buttons on an alert. An alert can keep itslinkbeside them.id=names an alert: one sent again with the same id takes the old one's place, andslaps://dismiss?id=takes
back just that one.style=gives one alert its own style:fullscreen,banner,top,bottomorside.- Links and buttons open web pages, or apps Slaps knows answer alerts (Boiler Room for now).
A command line
slaps alert "Deploy done" --in 5, slaps dismiss --id q3, slaps pause --minutes 30, and slaps help for the rest.
Settings › General › Command line puts slaps in ~/.local/bin.