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

View File

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