Files
custum-hyprpanel/src/components/settings/helpers.ts
Jas Singh 93235f0fb1 Feat: Custom modules can now be created through a JSON file. (#887)
* Feat: Custom modules can now be created through a JSON file.

* Added the ability to consume labels and icons.

* Add all properties but styling.

* Wrap up implementation.

* Rename custom modules to basic modules to make way for new actually custom modules.
2025-04-07 01:52:39 -07:00

38 lines
802 B
TypeScript

export const settingsPages = ['Configuration', 'Theming'] as const;
export const themePages = [
'General Settings',
'Matugen Settings',
'Bar',
'Notifications',
'OSD',
'Battery Menu',
'Bluetooth Menu',
'Clock Menu',
'Dashboard Menu',
'Media Menu',
'Network Menu',
'Notifications Menu',
'System Tray',
'Volume Menu',
'Power Menu',
'Basic Modules',
] as const;
export const configPages = [
'General',
'Bar',
'Media Menu',
'Notifications',
'OSD',
'Volume',
'Clock Menu',
'Dashboard Menu',
'Basic Modules',
'Power Menu',
] as const;
export type ThemePage = (typeof themePages)[number];
export type ConfigPage = (typeof configPages)[number];
export type SettingsPage = (typeof settingsPages)[number];