Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle window decoration per layout #62

Closed
leukipp opened this issue Aug 4, 2024 · 1 comment
Closed

Toggle window decoration per layout #62

leukipp opened this issue Aug 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request info General purpose information

Comments

@leukipp
Copy link
Owner

leukipp commented Aug 4, 2024

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 leukipp added the enhancement New feature or request label Aug 4, 2024
@leukipp leukipp self-assigned this Aug 4, 2024
@leukipp leukipp pinned this issue Aug 4, 2024
@leukipp leukipp added the info General purpose information label Aug 13, 2024
@leukipp
Copy link
Owner Author

leukipp commented Aug 16, 2024

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 leukipp unpinned this issue Oct 22, 2024
@leukipp leukipp closed this as completed Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request info General purpose information
Projects
None yet
Development

No branches or pull requests

1 participant