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.
This commit is contained in:
Jas Singh
2025-04-07 01:52:39 -07:00
committed by GitHub
parent 483facfa56
commit 93235f0fb1
31 changed files with 820 additions and 377 deletions

View File

@@ -30,7 +30,7 @@ export const BarGeneral = (): JSX.Element => {
title="Config"
subtitle="WARNING: Importing a configuration will replace your current configuration settings."
type="config_import"
exportData={{ filePath: CONFIG, themeOnly: false }}
exportData={{ filePath: CONFIG_FILE, themeOnly: false }}
/>
<Option
opt={options.hyprpanel.restartAgs}

View File

@@ -22,7 +22,7 @@ export const MenuTheme = (): JSX.Element => {
title="Theme"
subtitle="WARNING: Importing a theme will replace your current theme color settings."
type="config_import"
exportData={{ filePath: CONFIG, themeOnly: true }}
exportData={{ filePath: CONFIG_FILE, themeOnly: true }}
/>
<Option
opt={options.theme.bar.menus.monochrome}