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

57 lines
1.6 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';
import AppLauncher from './js/applauncher/main.js';
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 NotifCenter from './js/notifications/center.js';
import NotifPopups from './js/notifications/popup.js';
import OSD from './js/osd/main.js';
2023-11-16 00:49:51 -05:00
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';
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,
'osk': 500,
'overview': 500,
'powermenu': 500,
'quick-settings': 500,
},
windows: [
2023-11-16 00:49:51 -05:00
// Put the corners first so they
// don't block the cursor on the bar
...Corners(),
AppLauncher(),
Calendar(),
NotifCenter(),
OSD(),
OSK(),
2023-11-07 10:56:12 -05:00
Overview(),
Powermenu(),
QSettings(),
Bar(),
BgFade(),
NotifPopups(),
],
2023-09-11 14:18:22 -04:00
};