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

52 lines
1.4 KiB
JavaScript
Raw Normal View History

import { App, Utils } from './imports.js';
import closeAll from './js/misc/closer.js';
globalThis.closeAll = closeAll;
import Powermenu from './js/powermenu.js';
2023-10-22 13:39:13 -04:00
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';
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';
2023-08-27 10:31:41 -04:00
Utils.exec(`sassc ${scss} ${css}`);
2023-08-27 10:31:41 -04:00
Utils.execAsync(['bash', '-c', '$AGS_PATH/startup.sh']).catch(print);
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,
'overview': 500,
'powermenu': 500,
'quick-settings': 500,
},
windows: [
AppLauncher(),
Calendar(),
NotifCenter(),
Overview(),
Powermenu(),
QuickSettings(),
2023-10-22 13:39:13 -04:00
Bar.Bar(),
Bar.BgGradient(),
Corners.Bottomleft(),
Corners.Bottomright(),
NotifPopups(),
],
2023-09-11 14:18:22 -04:00
};