nixos-configs/nixosModules/ags/config/configurations/lock.ts

22 lines
384 B
TypeScript
Raw Normal View History

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();
},
});
};