2023-09-04 21:41:06 -04:00
|
|
|
import { exec } from 'resource:///com/github/Aylur/ags/utils.js';
|
|
|
|
import { Powermenu } from './js/powermenu.js';
|
2023-09-12 14:22:21 -04:00
|
|
|
import { Bar } from './js/bar/main.js';
|
2023-09-11 13:59:51 -04:00
|
|
|
import { NotificationCenter } from './js/notifications/center.js';
|
|
|
|
import { NotificationsPopupList } from './js/notifications/popup.js'
|
2023-09-11 21:10:00 -04:00
|
|
|
import { Calendar } from './js/date.js';
|
2023-09-13 13:20:55 -04:00
|
|
|
import { QuickSettings } from './js/quick-settings/main.js';
|
2023-09-20 20:25:52 -04:00
|
|
|
import { Overview } from './js/overview/main.js';
|
2023-09-13 13:20:55 -04:00
|
|
|
|
2023-09-13 19:04:23 -04:00
|
|
|
import { Closer, closeAll } from './js/misc/closer.js';
|
2023-09-13 13:20:55 -04:00
|
|
|
ags.App.closeAll = () => closeAll();
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-09-04 21:41:06 -04:00
|
|
|
const scss = ags.App.configDir + '/scss/main.scss';
|
2023-08-27 10:31:41 -04:00
|
|
|
const css = ags.App.configDir + '/style.css';
|
|
|
|
|
2023-09-04 21:41:06 -04:00
|
|
|
exec(`sassc ${scss} ${css}`);
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-09-08 14:21:31 -04:00
|
|
|
exec(`bash -c "$AGS_PATH/startup.sh"`);
|
|
|
|
|
2023-08-27 10:31:41 -04:00
|
|
|
export default {
|
2023-09-11 14:18:22 -04:00
|
|
|
style: css,
|
2023-09-14 13:26:42 -04:00
|
|
|
notificationPopupTimeout: 5000,
|
2023-09-21 20:01:14 -04:00
|
|
|
cacheNotificationActions: true,
|
|
|
|
closeWindowDelay: {
|
|
|
|
'quick-settings': 500,
|
|
|
|
'notification-center': 500,
|
|
|
|
'calendar': 500,
|
|
|
|
'powermenu': 500,
|
2023-09-22 01:34:36 -04:00
|
|
|
'overview': 500,
|
2023-09-21 20:01:14 -04:00
|
|
|
},
|
2023-09-11 14:18:22 -04:00
|
|
|
windows: [
|
|
|
|
Powermenu,
|
|
|
|
Bar,
|
|
|
|
Closer,
|
|
|
|
NotificationCenter,
|
|
|
|
NotificationsPopupList,
|
2023-09-11 21:10:00 -04:00
|
|
|
Calendar,
|
2023-09-12 14:22:21 -04:00
|
|
|
QuickSettings,
|
2023-09-20 20:25:52 -04:00
|
|
|
Overview,
|
2023-09-11 14:18:22 -04:00
|
|
|
],
|
|
|
|
};
|