nixos-configs/modules/ags/config/configurations/lock.ts
matt1432 46e719f851
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(ags): change main to index files
2024-12-19 18:04:12 -05:00

21 lines
379 B
TypeScript

import { App } from 'astal/gtk3';
import Lockscreen from '../widgets/lockscreen';
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();
},
});
};