nixos-configs/nixosModules/ags/config/configurations/lock.ts
matt1432 f3e06554e4
All checks were successful
Discord / discord commits (push) Has been skipped
feat(ags): update to official agsV2
2024-11-13 19:39:01 -05:00

21 lines
451 B
TypeScript

export default async() => {
const { App } = await import('astal/gtk3');
const Lockscreen = (await import('../widgets/lockscreen/main')).default;
const style = (await import('../style/lock.scss')).default;
App.start({
css: style,
instanceName: 'lock',
requestHandler(js, res) {
App.eval(js).then(res).catch(res);
},
main: () => {
Lockscreen();
},
});
};