2023-11-27 15:01:54 -05:00
|
|
|
import App from 'resource:///com/github/Aylur/ags/app.js';
|
2023-11-04 22:10:23 -04:00
|
|
|
import { exec } from 'resource:///com/github/Aylur/ags/utils.js';
|
2023-10-24 17:26:38 -04:00
|
|
|
|
2023-11-27 15:01:54 -05:00
|
|
|
import Setup from './js/setup.js';
|
2023-11-15 16:01:30 -05:00
|
|
|
import AppLauncher from './js/applauncher/main.js';
|
2023-11-27 15:01:54 -05:00
|
|
|
import Bar from './js/bar/main.js';
|
|
|
|
import BgFade from './js/misc/background-fade.js';
|
|
|
|
import Calendar from './js/date.js';
|
|
|
|
import Corners from './js/corners/main.js';
|
|
|
|
import { NotifPopups, NotifCenter } from './js/notifications/main.js';
|
|
|
|
import OSD from './js/osd/main.js';
|
|
|
|
import OSK from './js/on-screen-keyboard/main.js';
|
|
|
|
import Overview from './js/overview/main.js';
|
|
|
|
import Powermenu from './js/powermenu.js';
|
|
|
|
import QSettings from './js/quick-settings/main.js';
|
|
|
|
|
|
|
|
const scss = `${App.configDir }/scss/main.scss`;
|
|
|
|
const css = `${App.configDir }/style.css`;
|
2023-12-30 17:14:55 -05:00
|
|
|
const closeWinDelay = 500;
|
2023-10-02 12:06:35 -04:00
|
|
|
|
2023-10-31 08:32:40 -04:00
|
|
|
exec(`sassc ${scss} ${css}`);
|
2023-11-04 22:10:23 -04:00
|
|
|
Setup();
|
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-12-30 17:14:55 -05:00
|
|
|
'applauncher': closeWinDelay,
|
|
|
|
'calendar': closeWinDelay,
|
|
|
|
'notification-center': closeWinDelay,
|
|
|
|
'osd': closeWinDelay,
|
|
|
|
'osk': closeWinDelay,
|
|
|
|
'overview': closeWinDelay,
|
|
|
|
'powermenu': closeWinDelay,
|
|
|
|
'quick-settings': closeWinDelay,
|
2023-10-20 23:11:21 -04:00
|
|
|
},
|
|
|
|
windows: [
|
2023-11-16 00:49:51 -05:00
|
|
|
// Put the corners first so they
|
|
|
|
// don't block the cursor on the bar
|
|
|
|
...Corners(),
|
|
|
|
|
2023-10-24 17:26:38 -04:00
|
|
|
AppLauncher(),
|
|
|
|
Calendar(),
|
2023-11-06 20:10:12 -05:00
|
|
|
NotifCenter(),
|
2023-11-15 16:01:30 -05:00
|
|
|
OSD(),
|
2023-11-19 15:00:29 -05:00
|
|
|
OSK(),
|
2023-11-07 10:56:12 -05:00
|
|
|
Overview(),
|
2023-10-20 23:11:21 -04:00
|
|
|
Powermenu(),
|
2023-11-15 16:01:30 -05:00
|
|
|
QSettings(),
|
2023-10-24 17:26:38 -04:00
|
|
|
|
2023-11-15 16:01:30 -05:00
|
|
|
Bar(),
|
|
|
|
BgFade(),
|
2023-11-06 20:10:12 -05:00
|
|
|
NotifPopups(),
|
2023-10-20 23:11:21 -04:00
|
|
|
],
|
2023-09-11 14:18:22 -04:00
|
|
|
};
|