feat: update style

This commit is contained in:
tux
2025-06-09 05:51:00 +05:30
parent 70936fabff
commit 4747505ecc
2 changed files with 2 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ import { Network } from "./network";
export const WINDOW_NAME = "bar";
export const Bar = (gdkmonitor: Gdk.Monitor) => {
const { TOP } = Astal.WindowAnchor;
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor;
return (
<window
@@ -17,7 +17,7 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => {
cssClasses={["Bar"]}
gdkmonitor={gdkmonitor}
exclusivity={Astal.Exclusivity.EXCLUSIVE}
anchor={TOP}
anchor={TOP | LEFT | RIGHT}
application={App}
>
<centerbox>

View File

@@ -4,10 +4,7 @@
window.Bar {
background: $bg-color;
color: $fg-color;
margin: 5px;
border-radius: $rounded;
padding: 10px;
min-width: 100rem;
.launcher {
background-color: $inactive-color;