2023-11-27 15:50:20 -05:00
|
|
|
import App from 'resource:///com/github/Aylur/ags/app.js';
|
|
|
|
import { exec } from 'resource:///com/github/Aylur/ags/utils.js';
|
|
|
|
|
|
|
|
import Pointers from 'file:///home/matt/.nix/devices/wim/config/ags/services/pointers.js';
|
|
|
|
|
2023-12-12 12:24:58 -05:00
|
|
|
import AppLauncher from 'file:///home/matt/.nix/devices/wim/config/ags/js/applauncher/main.js';
|
2023-11-27 15:50:20 -05:00
|
|
|
import Bar from './js/bar/main.js';
|
|
|
|
import { NotifPopups, NotifCenter } from './js/notifications/main.js';
|
2023-12-13 00:21:31 -05:00
|
|
|
import Powermenu from 'file:///home/matt/.nix/devices/wim/config/ags/js/powermenu.js';
|
2023-11-27 15:50:20 -05:00
|
|
|
|
|
|
|
const scss = App.configDir + '/scss/main.scss';
|
|
|
|
const css = App.configDir + '/style.css';
|
|
|
|
exec(`sassc ${scss} ${css}`);
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
style: css,
|
|
|
|
|
|
|
|
notificationPopupTimeout: 5000,
|
|
|
|
cacheNotificationActions: true,
|
|
|
|
|
|
|
|
onConfigParsed: () => {
|
2023-12-12 12:24:58 -05:00
|
|
|
globalThis.Pointers = Pointers;
|
2023-11-27 15:50:20 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
closeWindowDelay: {
|
2023-12-12 12:24:58 -05:00
|
|
|
'applauncher': 500,
|
2023-11-27 15:50:20 -05:00
|
|
|
'notification-center': 500,
|
2023-12-13 00:21:31 -05:00
|
|
|
'powermenu': 500,
|
2023-11-27 15:50:20 -05:00
|
|
|
},
|
|
|
|
windows: [
|
2023-12-12 12:24:58 -05:00
|
|
|
AppLauncher(),
|
2023-11-27 15:50:20 -05:00
|
|
|
NotifCenter(),
|
2023-12-13 00:21:31 -05:00
|
|
|
Powermenu(),
|
2023-12-12 12:24:58 -05:00
|
|
|
|
|
|
|
Bar(),
|
2023-11-27 15:50:20 -05:00
|
|
|
NotifPopups(),
|
|
|
|
],
|
|
|
|
};
|