diff --git a/packages/ags/custom/widget/Bar.tsx b/packages/ags/custom/widget/Bar.tsx index 39b99ee..df629ff 100644 --- a/packages/ags/custom/widget/Bar.tsx +++ b/packages/ags/custom/widget/Bar.tsx @@ -94,18 +94,21 @@ function Workspaces() { const hypr = Hyprland.get_default() return - {bind(hypr, "workspaces").as(wss => wss - .filter(ws => !(ws.id >= -99 && ws.id <= -2)) // filter out special workspaces - .sort((a, b) => a.id - b.id) - .map(ws => ( - - )) - )} + }) + })} } @@ -122,7 +125,7 @@ function FocusedClient() { } -function Time({ format = "%H:%M - %A %e" }) { +function Time({ format = "%H:%M %a %b %e" }) { const time = Variable("").poll(1000, () => GLib.DateTime.new_now_local().format(format)!) @@ -143,18 +146,16 @@ export default function Bar(monitor: Gdk.Monitor) { anchor={TOP | LEFT | RIGHT}> - - + - + -