From 4747505ecc33cab41ebef9e2e4c658825f89f5dc Mon Sep 17 00:00:00 2001 From: tux Date: Mon, 9 Jun 2025 05:51:00 +0530 Subject: [PATCH] feat: update style --- widgets/bar/index.tsx | 4 ++-- widgets/bar/style.scss | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/widgets/bar/index.tsx b/widgets/bar/index.tsx index 58454de..ec53c64 100644 --- a/widgets/bar/index.tsx +++ b/widgets/bar/index.tsx @@ -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 ( { cssClasses={["Bar"]} gdkmonitor={gdkmonitor} exclusivity={Astal.Exclusivity.EXCLUSIVE} - anchor={TOP} + anchor={TOP | LEFT | RIGHT} application={App} > diff --git a/widgets/bar/style.scss b/widgets/bar/style.scss index a8bc94c..d33d197 100644 --- a/widgets/bar/style.scss +++ b/widgets/bar/style.scss @@ -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;