nixos-configs/nixosModules/ags/config/configurations/lock.ts
matt1432 ef23df4bb2
All checks were successful
Discord / discord commits (push) Has been skipped
fix(ags): revert async imports to work with latest
2024-11-19 23:55:17 -05:00

21 lines
384 B
TypeScript

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