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:
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user