feat: add tabbed container layout mode with tab bar UI

fix: tab bars no longer shown in overview.  Tab bars show name of app with pipe and then title of the app
This commit is contained in:
Lucas Oskorep
2026-02-26 02:26:00 -05:00
parent 8e4a3e35f2
commit e5c539e164
10 changed files with 611 additions and 88 deletions

View File

@@ -1,7 +1,6 @@
import {WindowWrapper} from "./window.js";
import {Rect} from "../utils/rect.js";
import {Logger} from "../utils/logger.js";
import Meta from "gi://Meta";
import WindowContainer from "./container.js";
@@ -73,6 +72,18 @@ export default class Monitor {
this._workspaces.push(new WindowContainer(this._workArea));
}
hideTabBars(): void {
for (const container of this._workspaces) {
container.hideTabBar();
}
}
showTabBars(): void {
for (const container of this._workspaces) {
container.showTabBar();
}
}
itemDragged(item: WindowWrapper, x: number, y: number): void {
this._workspaces[item.getWorkspace()].itemDragged(item, x, y);
}