cortile icon indicating copy to clipboard operation
cortile copied to clipboard

Toggle window decoration per layout

Open leukipp opened this issue 1 year ago • 1 comments

Starting with v2.5.1 there will be an addition keyboard shortcut to toggle window decorations on and off per layout:

# Toggle window decoration on and off on the current screen.
decoration = "Control-Shift-D"

The current config value for the decoration will define the initial and default behavior for the decoration:

# Initial rendering of window decorations, will be cached afterwards (true | false).
window_decoration = true

After changing the decoration via keyboard shortcuts the last state will be cached and restored, similar as explained here #44.

When cortile starts and running applications have no decoration, it will not try to decorate them. Nevertheless, you should bear in mind that interfering with the decoration can lead to unwanted changes for some applications. This applies in particular to applications that deliberately remove the decoration and insert their own title/function bar in the main window. You could then end up with strange looking duplicate title/function bars etc.

If you don't want to mess with the window decoration at all, you can simply comment this line:

# Toggle window decoration on and off on the current screen.
# decoration = "Control-Shift-D"

If you already used the window_decoration feature before v2.5.1, you will have to manually insert the new decoration key binding to your existing config.toml file.

leukipp avatar Aug 04 '24 12:08 leukipp

If you already used the window_decoration feature before v2.5.1, you will have to manually insert the new decoration key binding to your existing config.toml file.

leukipp avatar Aug 16 '24 19:08 leukipp