nixos-configs/devices/wim/config/ags/config.js

51 lines
1.4 KiB
JavaScript
Raw Normal View History

import App from 'resource:///com/github/Aylur/ags/app.js';
import { exec } from 'resource:///com/github/Aylur/ags/utils.js';
import Setup from './js/setup.js';
2023-11-10 23:51:50 -05:00
import OSD from './js/osd/main.js';
import Powermenu from './js/powermenu.js';
import * as Bar from './js/bar/main.js';
import NotifCenter from './js/notifications/center.js';
import NotifPopups from './js/notifications/popup.js';
import Calendar from './js/date.js';
import QuickSettings from './js/quick-settings/main.js';
2023-11-07 10:56:12 -05:00
import Overview from './js/overview/main.js';
import AppLauncher from './js/applauncher/main.js';
import * as Corners from './js/screen-corners.js';
const scss = App.configDir + '/scss/main.scss';
const css = App.configDir + '/style.css';
exec(`sassc ${scss} ${css}`);
Setup();
2023-08-27 10:31:41 -04:00
2023-08-27 10:31:41 -04:00
export default {
style: css,
notificationPopupTimeout: 5000,
cacheNotificationActions: true,
closeWindowDelay: {
'applauncher': 500,
'calendar': 500,
'notification-center': 500,
2023-11-10 23:51:50 -05:00
'osd': 500,
'overview': 500,
'powermenu': 500,
'quick-settings': 500,
},
windows: [
AppLauncher(),
Calendar(),
NotifCenter(),
2023-11-07 10:56:12 -05:00
Overview(),
Powermenu(),
QuickSettings(),
2023-10-22 13:39:13 -04:00
Bar.Bar(),
Bar.BgGradient(),
Corners.Bottomleft(),
Corners.Bottomright(),
2023-11-10 23:51:50 -05:00
OSD(),
NotifPopups(),
],
2023-09-11 14:18:22 -04:00
};