nixos-configs/nixosModules/ags/v2/widgets/bar/wim.tsx
matt1432 79e6a55583
All checks were successful
Discord / discord commits (push) Has been skipped
feat(agsV2): implement battery widget
2024-09-26 23:55:06 -04:00

25 lines
537 B
TypeScript

import { Astal } from 'astal';
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
}
>
<box
className="Bar"
>
<Battery />
</box>
</BarRevealer>
);
};