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

24 lines
515 B
TypeScript
Raw Normal View History

import { Astal } 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
}
>
2024-09-27 12:37:14 -04:00
<box className="bar widget">
2024-09-26 23:55:06 -04:00
<Battery />
</box>
</BarRevealer>
);
};