import { App, Astal, Gtk, Gdk, Widget } from "astal/gtk3" import { Variable } from "astal" import Hyprland from "gi://AstalHyprland" import battery from "./battery" import workspaces from "./workspaces" import volume from "./volume" import brightness from "./brightness" import client from "./client" import player from "./player" import bluetooth from "./bluetooth" import notifs from "./notif" const time = Variable("").poll(1000, "date +'%a %b %d ยท %H:%M'") export default function Bar(monitor: Hyprland.Monitor) { const { TOP, LEFT, RIGHT } = Astal.WindowAnchor return {battery()} {volume()} {brightness()} {bluetooth()} {workspaces(monitor)} {player()} {client()} {notifs()} }