Added feature for highlighting the active workspace different than the

inactive one in a multiple monitor setup. Fixed a bug where the
workspace widget wouldn't update when switching workspaces between
monitors.
This commit is contained in:
pascalyazid committed 2026-04-13 21:19:06 +02:00
1 parent 7788bc7cee
commit 2b272e036a
4 files changed
+118 -33

No files matched your search

+3 -3
View File
@@ -6,10 +6,10 @@ import Media from "./Media"
import Controls from "./Controls"
import ThemeSwitcher from "./ThemeSwitcher"
function Left() {
function Left({ gdkmonitor }: { gdkmonitor: Gdk.Monitor }) {
return (
<box $type="start" halign={Gtk.Align.START} cssClasses={["left-box"]}>
<Workspaces />
<Workspaces gdkmonitor={gdkmonitor} />
</box>
)
}
@@ -58,7 +58,7 @@ export default function Bar(gdkmonitor: Gdk.Monitor) {
application={app}
>
<centerbox cssName="centerbox">
<Left />
<Left gdkmonitor={gdkmonitor} />
<Center />
<Right gdkmonitor={gdkmonitor} />
</centerbox>