Small Krita scripts that I find useful for automating some tasks.
A script used for opening template files using rofi.
A script used for configuring a drawing tablet for use with the Sway window manager.
Quickly import file layers using rofi.
Capture a rectangle selection from the screen to a new layer.
Capture a rectangle selection from the screen to a new reference.
Use wl_color_picker to pick a color, then set the foreground color to it.
Move to the next sway active window and press space and then h. For use with the zathura reader, it goes to the next page and then to the top of the page.
Fill the current selection shrunk by a pixel.
Create a selection using the select contiguous tool second by the select opaque tool; then enlarge the selection by a pixel and create a new layer using the selection. Useful for creating crude outlines or a silhouette of the selection.
Automate the installation of Krita plugins.