21 lines
379 B
TypeScript
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();
|
|
},
|
|
});
|
|
};
|