You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted a way to remove the titlebars from tiled windows but not floating windows, and I also wanted to exclude tiled windows from being minimized.
I am not sure if this is something that can or should be added to Karousel itself, but I made 2 scripts that I use myself. Not sure if I want to publish them (as I am bad a maintaining things). I post them here in case anyone wants to use them. They work only if you keep the default "keep tiled windows below".
No titlebars:
"use strict";
function applyBorder(window) {
if (!window || !window.normalWindow) return;
window.noBorder = window.keepBelow;
}
function connectWindow(window) {
if (!window || !window.normalWindow) return;
// Apply immediately on connect
applyBorder(window);
// React to keepBelow changes (karousel tiling/floating toggle)
window.keepBelowChanged.connect(function () {
applyBorder(window);
});
}
// Handle all existing windows
workspace.windowList().forEach(connectWindow);
// Handle windows added in the future
workspace.windowAdded.connect(connectWindow);
No Minimize:
"use strict";
registerShortcut(
"smart-minimize",
"Smart Minimize (floating only)",
"Meta+PgDown",
function () {
const window = workspace.activeWindow;
if (!window || !window.normalWindow) return;
if (!window.keepBelow) {
window.minimized = true;
}
}
);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted a way to remove the titlebars from tiled windows but not floating windows, and I also wanted to exclude tiled windows from being minimized.
I am not sure if this is something that can or should be added to Karousel itself, but I made 2 scripts that I use myself. Not sure if I want to publish them (as I am bad a maintaining things). I post them here in case anyone wants to use them. They work only if you keep the default "keep tiled windows below".
No titlebars:
No Minimize:
Beta Was this translation helpful? Give feedback.
All reactions