nixos-configs/nixosModules/ags/config/configurations/greeter.ts
matt1432 ef23df4bb2
All checks were successful
Discord / discord commits (push) Has been skipped
fix(ags): revert async imports to work with latest
2024-11-19 23:55:17 -05:00

20 lines
382 B
TypeScript

import { execAsync } from 'astal';
import { App } from 'astal/gtk3';
import Greeter from '../widgets/greeter/main';
import style from '../style/greeter.scss';
export default () => {
App.start({
css: style,
instanceName: 'greeter',
main: () => {
execAsync('hyprpaper').catch(() => { /**/ });
Greeter();
},
});
};