diff --git a/customModules/config.ts b/customModules/config.ts index 138839e..4452a43 100644 --- a/customModules/config.ts +++ b/customModules/config.ts @@ -684,7 +684,6 @@ export const CustomModuleSettings = (): Scrollable => opt: options.bar.customModules.hyprsunset.pollingInterval, title: 'Polling Interval', type: 'number', - subtitle: "WARNING: Be careful of your package manager's rate limit.", min: 100, max: 60 * 24 * 1000, increment: 1000, @@ -755,7 +754,6 @@ export const CustomModuleSettings = (): Scrollable => opt: options.bar.customModules.hypridle.pollingInterval, title: 'Polling Interval', type: 'number', - subtitle: "WARNING: Be careful of your package manager's rate limit.", min: 100, max: 60 * 24 * 1000, increment: 1000, diff --git a/customModules/theme.ts b/customModules/theme.ts index 91d8f5d..7df7755 100644 --- a/customModules/theme.ts +++ b/customModules/theme.ts @@ -184,6 +184,23 @@ export const CustomModuleTheme = (): Scrollable => { }), Option({ opt: options.theme.bar.buttons.modules.hyprsunset.border, title: 'Border', type: 'color' }), + Header('Hypridle'), + Option({ opt: options.theme.bar.buttons.modules.hypridle.text, title: 'Text', type: 'color' }), + Option({ opt: options.theme.bar.buttons.modules.hypridle.icon, title: 'Icon', type: 'color' }), + Option({ + opt: options.theme.bar.buttons.modules.hypridle.background, + title: 'Label Background', + type: 'color', + }), + Option({ + opt: options.theme.bar.buttons.modules.hypridle.icon_background, + title: 'Icon Background', + subtitle: + "Applies a background color to the icon section of the button.\nRequires 'split' button styling.", + type: 'color', + }), + Option({ opt: options.theme.bar.buttons.modules.hypridle.border, title: 'Border', type: 'color' }), + Header('Power'), Option({ opt: options.theme.bar.buttons.modules.power.icon, title: 'Icon', type: 'color' }), Option({ diff --git a/options.ts b/options.ts index f3afc61..a5f2720 100644 --- a/options.ts +++ b/options.ts @@ -1128,8 +1128,8 @@ const options = mkOptions(OPTIONS, { }, hypridle: { label: opt(true), - onIcon: opt(''), - offIcon: opt(''), + onIcon: opt(''), + offIcon: opt(''), onLabel: opt('On'), offLabel: opt('Off'), pollingInterval: opt(1000 * 2),