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

22 lines
379 B
TypeScript
Raw Normal View History

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