nixos-configs/nixosModules/ags/v2/widgets/bar/main.tsx
matt1432 56e2caf76e
All checks were successful
Discord / discord commits (push) Has been skipped
feat(agsV2): implement fullscreen bar toggle
2024-09-26 15:55:32 -04:00

23 lines
506 B
TypeScript

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