feat(bar): rearrange modules

This commit is contained in:
tux
2025-09-25 19:59:13 +05:30
parent c5e7138bd0
commit c276e88ef1

View File

@@ -9,7 +9,7 @@ import { Profile } from "./profile";
import { Tailscale } from "./tailscale"; import { Tailscale } from "./tailscale";
import { Time } from "./time"; import { Time } from "./time";
import { Tray } from "./tray"; import { Tray } from "./tray";
import { FocusedClient, WorkspaceButton } from "./workspace"; import { WorkspaceButton } from "./workspace";
export const WINDOW_NAME = "bar"; export const WINDOW_NAME = "bar";
@@ -29,19 +29,18 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => {
<centerbox> <centerbox>
<box spacing={10} $type="start"> <box spacing={10} $type="start">
<Launcher windowName="launcher" icon="nix-symbolic" /> <Launcher windowName="launcher" icon="nix-symbolic" />
<WorkspaceButton />
</box>
<box spacing={10} $type="center">
<FocusedClient />
</box>
<box spacing={10} $type="end">
<Network />
<CPU /> <CPU />
<GPU /> <GPU />
<Profile /> <Profile />
<Tailscale /> <Tailscale />
</box>
<box spacing={10} $type="center">
<WorkspaceButton />
</box>
<box spacing={10} $type="end">
<Network />
<Battery /> <Battery />
<Tray /> <Tray />
<Time /> <Time />