mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
feat(bar): rearrange modules
This commit is contained in:
@@ -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 />
|
||||||
|
Reference in New Issue
Block a user