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:
1 parent
7788bc7cee
commit
2b272e036a
4 files changed
+118
-33
No files matched your search
+3
-3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user