way to customize window buttons in the corners(close, maximize, minimize etc.)

im frequent user of “keep above other windows” and i would like to add it to the set of buttons, the way i would do this isnt apparent in the settings. preferably also have it on a toggle to undo that action aswell. how would i go about doing this?

They’re called Window Decorations.

Here’s how to edit those buttons:

Yes, it’s a bit hidden but it does exist.

There are a couple of ways to handle this…

  1. from krunner, open ‘window decorations’ and find the icon at the top ‘Configure titlebar buttons’.

At the top left corner I have: Window Menu | Keep Above Other Windows | On All Desktops (Pin).

  1. From krunner again, open Window Behaviour

Find the tab Titlebar Actions

  • There you can set Mouse Wheel
    Previously we had ‘shade’ - but that’s no good in Wayland… so now I set that as Keep above/below

This means if you ‘scroll up’ on the titlebar, the button in my titlebar ‘keep above’ is activated, and then if I scroll down, it’s deactivated and if I scroll down 2 notches, it goes from activated>deactivated>below (i.e. it pulls the window down to the desktop).

  1. Going further…

Bear in mind, under Window Actions I have ‘Middle click’ set to ‘Activate and pass click’ (unlike left/right click, which will also raise)…

This means you can activate a window that’s currently behind, and type into it without bringing it forward…

As you see here, I called up the settings but am typing into the browser, but you have to be careful where you middle click (i.e. if you don’t want to also paste)…

It pays to spend time looking over the settings, as there are different ways to incorporate the features you want, and access them all in different ways which are not always obvious… basically stacking up functions to suit yourself.

You know, like horizontal/vertical maximise from right click or middle click on the maximise button).