Setting custom keybind for brush blend mode?

Hi, was directed to here to ask my question regarding setting blending modes.

Currently, Krita does allow keybinds to set brush blending modes within the settings, but only for the common ones (Multiply, Color, Saturation, etc.). I am looking for a way to set a brush blending mode (Greater) that isn’t in the settings as a custom keybind. I heard that it may be possible through the use of a Python script? I am just unsure on where to start.

Any help would be appreciated!

put this in ten scripts and assign a shortcut:

from krita import *

view = Krita.instance().activeWindow().activeView()
view.setCurrentBlendingMode("greater")

otherwise if you want to learn how to script, check out scripting school:

1 Like

Holy moly! That worked like a charm, feels just like using the built-in ones. Thank you very much!!

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.