leukipp / cortile

Linux auto tiling manager with hot corner support for Openbox, Fluxbox, IceWM, Xfwm, KWin, Marco, Muffin, Mutter and other EWMH compliant window managers using the X11 window system. Therefore, this project provides dynamic tiling for XFCE, LXDE, LXQt, KDE and GNOME (Mate, Deepin, Cinnamon, Budgie) based desktop environments.
https://github.com/leukipp/cortile-addons
MIT License
570 stars 19 forks source link

Toggle window decoration per layout #62

Open leukipp opened 1 month ago

leukipp commented 1 month ago

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 commented 3 weeks ago

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.