2024-11-19 23:55:17 -05:00
|
|
|
import { App } from 'astal/gtk3';
|
2024-11-01 18:16:43 -04:00
|
|
|
|
2024-11-19 23:55:17 -05:00
|
|
|
import Lockscreen from '../widgets/lockscreen/main';
|
2024-11-01 18:16:43 -04:00
|
|
|
|
2024-11-19 23:55:17 -05:00
|
|
|
import style from '../style/lock.scss';
|
2024-11-01 18:16:43 -04:00
|
|
|
|
|
|
|
|
2024-11-19 23:55:17 -05:00
|
|
|
export default () => {
|
2024-11-01 18:16:43 -04:00
|
|
|
App.start({
|
|
|
|
css: style,
|
|
|
|
instanceName: 'lock',
|
|
|
|
|
2024-11-01 21:48:43 -04:00
|
|
|
requestHandler(js, res) {
|
|
|
|
App.eval(js).then(res).catch(res);
|
|
|
|
},
|
|
|
|
|
2024-11-01 18:16:43 -04:00
|
|
|
main: () => {
|
|
|
|
Lockscreen();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
};
|