2023-10-28 21:41:20 -04:00
|
|
|
// Has to be a traditional function for 'this' scope
|
|
|
|
Array.prototype.remove = function (el) { this.splice(this.indexOf(el), 1); };
|
|
|
|
|
2023-10-16 18:11:19 -04:00
|
|
|
import { App, Utils } from './imports.js';
|
2023-10-02 12:06:35 -04:00
|
|
|
|
2023-10-24 17:26:38 -04:00
|
|
|
import closeAll from './js/misc/closer.js';
|
|
|
|
globalThis.closeAll = closeAll;
|
|
|
|
|
2023-10-16 18:11:19 -04:00
|
|
|
import Powermenu from './js/powermenu.js';
|
2023-10-22 13:39:13 -04:00
|
|
|
import * as Bar from './js/bar/main.js';
|
2023-10-16 18:11:19 -04:00
|
|
|
import NotifCenter from './js/notifications/center.js';
|
2023-10-20 23:11:21 -04:00
|
|
|
import NotifPopups from './js/notifications/popup.js';
|
2023-10-16 18:11:19 -04:00
|
|
|
import Calendar from './js/date.js';
|
|
|
|
import QuickSettings from './js/quick-settings/main.js';
|
|
|
|
import Overview from './js/overview/main.js';
|
|
|
|
import AppLauncher from './js/applauncher/main.js';
|
|
|
|
import * as Corners from './js/screen-corners.js';
|
2023-10-02 12:06:35 -04:00
|
|
|
|
2023-09-13 13:20:55 -04:00
|
|
|
|
2023-10-02 12:06:35 -04:00
|
|
|
const scss = App.configDir + '/scss/main.scss';
|
|
|
|
const css = App.configDir + '/style.css';
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-10-02 12:06:35 -04:00
|
|
|
Utils.exec(`sassc ${scss} ${css}`);
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-10-02 12:06:35 -04:00
|
|
|
Utils.execAsync(['bash', '-c', '$AGS_PATH/startup.sh']).catch(print);
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-09-08 14:21:31 -04:00
|
|
|
|
2023-08-27 10:31:41 -04:00
|
|
|
export default {
|
2023-10-20 23:11:21 -04:00
|
|
|
style: css,
|
|
|
|
notificationPopupTimeout: 5000,
|
|
|
|
cacheNotificationActions: true,
|
|
|
|
closeWindowDelay: {
|
2023-10-24 17:26:38 -04:00
|
|
|
'applauncher': 500,
|
2023-10-20 23:11:21 -04:00
|
|
|
'calendar': 500,
|
2023-10-24 17:26:38 -04:00
|
|
|
'notification-center': 500,
|
2023-10-20 23:11:21 -04:00
|
|
|
'overview': 500,
|
2023-10-24 17:26:38 -04:00
|
|
|
'powermenu': 500,
|
|
|
|
'quick-settings': 500,
|
2023-10-20 23:11:21 -04:00
|
|
|
},
|
|
|
|
windows: [
|
2023-10-24 17:26:38 -04:00
|
|
|
AppLauncher(),
|
|
|
|
Calendar(),
|
|
|
|
NotifCenter(),
|
|
|
|
Overview(),
|
2023-10-20 23:11:21 -04:00
|
|
|
Powermenu(),
|
2023-10-24 17:26:38 -04:00
|
|
|
QuickSettings(),
|
|
|
|
|
2023-10-22 13:39:13 -04:00
|
|
|
Bar.Bar(),
|
|
|
|
Bar.BgGradient(),
|
2023-10-20 23:11:21 -04:00
|
|
|
Corners.Bottomleft(),
|
|
|
|
Corners.Bottomright(),
|
2023-10-24 17:26:38 -04:00
|
|
|
NotifPopups(),
|
2023-10-20 23:11:21 -04:00
|
|
|
],
|
2023-09-11 14:18:22 -04:00
|
|
|
};
|