This is a feature request: To allow active screen edges to control the system volume. Scroll up in the screen corner would turn up the volume, scroll down ... down and middle click would mute the volume. Use cases: Because I heard loud music a few hours ago the system-volume is still up at 100%. Now I'm sitting in complete silence, open some web-page and a video automatically starts to play. It is screaming at me and I am shocked to the bone. I want to turn down the volume as fast as possible. Moving to the corner of the screen would be by far the fastest and convenient.
This is a classic case for KWin scripts. You can bind screen edges in a script and from there control volume through dbus calls. But this is nothing which should be added to KWin in general. It's a too specific personal use case.
Thank you Martin, for your reply and your hint! Now before I get into KWin-scripting (I am not a programmer (yet)), can you confirm, that through this avenue, I could not just trigger one single event, like launching a program for example, but a whole series of actions ... because scrolling up and down in a hot corner without moving the cursor ... would be sort of many events in succession? If you could clarify this for me, that would be really appreciated!
The screenedge functionality always triggers only one event. E.g. you could trigger and it mutes, trigger again and unmute. Our screen edge functionality is movement based, we neither support clicks nor wheel.
That's a pity! But thanks for clarifying!