nixos-configs/nixosModules/ags/v2/widgets/bar/wim.tsx

32 lines
737 B
TypeScript
Raw Normal View History

import { Astal, Gtk } from 'astal';
2024-09-26 23:55:06 -04:00
import Battery from './items/battery';
import BarRevealer from './fullscreen';
export default () => {
return (
<BarRevealer
exclusivity={Astal.Exclusivity.EXCLUSIVE}
anchor={
Astal.WindowAnchor.TOP |
Astal.WindowAnchor.LEFT |
Astal.WindowAnchor.RIGHT
}
>
<centerbox className="bar widget">
<box hexpand halign={Gtk.Align.START}>
</box>
<box>
</box>
<box hexpand halign={Gtk.Align.END}>
<Battery />
</box>
</centerbox>
</BarRevealer>
);
};