refactor(ags): move to App.config
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
297e5bd43a
commit
8bf5eccee0
2 changed files with 13 additions and 9 deletions
|
@ -5,15 +5,16 @@ import Bar from './ts/bar/binto.ts';
|
|||
import { NotifPopups, NotifCenter } from './ts/notifications/binto.ts';
|
||||
import Powermenu from './ts/powermenu.ts';
|
||||
|
||||
App.addIcons(`${App.configDir}/icons`);
|
||||
|
||||
// TODO: add OSD, workspace indicator and current window indicator
|
||||
export default {
|
||||
App.config({
|
||||
icons: './icons',
|
||||
|
||||
onConfigParsed: () => {
|
||||
globalThis.Pointers = Pointers;
|
||||
},
|
||||
|
||||
windows: [
|
||||
windows: () => [
|
||||
AppLauncher(),
|
||||
NotifCenter(),
|
||||
Powermenu(),
|
||||
|
@ -21,4 +22,4 @@ export default {
|
|||
Bar(),
|
||||
NotifPopups(),
|
||||
],
|
||||
};
|
||||
});
|
||||
|
|
|
@ -10,12 +10,15 @@ import OSK from './ts/on-screen-keyboard/main.ts';
|
|||
import Powermenu from './ts/powermenu.ts';
|
||||
import QSettings from './ts/quick-settings/main.ts';
|
||||
|
||||
App.addIcons(`${App.configDir}/icons`);
|
||||
Setup();
|
||||
|
||||
App.config({
|
||||
icons: './icons',
|
||||
|
||||
export default {
|
||||
windows: [
|
||||
onConfigParsed: () => {
|
||||
Setup();
|
||||
},
|
||||
|
||||
windows: () => [
|
||||
...Corners(),
|
||||
|
||||
AppLauncher(),
|
||||
|
@ -30,4 +33,4 @@ export default {
|
|||
BgFade(),
|
||||
NotifPopups(),
|
||||
],
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue