nixos-configs/nixosModules/ags-v2/config/configurations/greeter.ts
matt1432 bb6db96f23
All checks were successful
Discord / discord commits (push) Has been skipped
feat(desktop): move greetd to agsV2
2024-11-11 20:33:44 -05:00

20 lines
463 B
TypeScript

export default async() => {
const { execAsync } = await import('astal');
const { App } = await import('astal/gtk3');
const Greeter = (await import('../widgets/greeter/main')).default;
const style = (await import('../style/greeter.scss')).default;
App.start({
css: style,
instanceName: 'greeter',
main: () => {
execAsync('hyprpaper').catch(() => { /**/ });
Greeter();
},
});
};