@@ -140,7 +140,10 @@ export const CustomModuleSettings = (): JSX.Element => {
140
140
< Option
141
141
opt = { options . bar . customModules . netstat . networkInterface }
142
142
title = "Network Interface"
143
- subtitle = "Wiki: https://hyprpanel.com/configuration/panel.html#custom-modules"
143
+ subtitle = {
144
+ 'Name of the network interface to poll.\n' +
145
+ "HINT: Get a list of interfaces with 'cat /proc/net/dev"
146
+ }
144
147
type = "string"
145
148
/>
146
149
< Option
@@ -151,6 +154,12 @@ export const CustomModuleSettings = (): JSX.Element => {
151
154
/>
152
155
< Option opt = { options . bar . customModules . netstat . icon } title = "Netstat Icon" type = "string" />
153
156
< Option opt = { options . bar . customModules . netstat . label } title = "Show Label" type = "boolean" />
157
+ < Option opt = { options . bar . customModules . netstat . networkInLabel } title = "Network In Label" type = "string" />
158
+ < Option
159
+ opt = { options . bar . customModules . netstat . networkOutLabel }
160
+ title = "Network Out Label"
161
+ type = "string"
162
+ />
154
163
< Option
155
164
opt = { options . bar . customModules . netstat . rateUnit }
156
165
title = "Rate Unit"
@@ -167,7 +176,7 @@ export const CustomModuleSettings = (): JSX.Element => {
167
176
< Option opt = { options . bar . customModules . netstat . round } title = "Round" type = "boolean" />
168
177
< Option
169
178
opt = { options . bar . customModules . netstat . pollingInterval }
170
- title = "Polling Interval"
179
+ title = "Polling Interval (ms) "
171
180
type = "number"
172
181
min = { 100 }
173
182
max = { 60 * 24 * 1000 }
@@ -218,6 +227,12 @@ export const CustomModuleSettings = (): JSX.Element => {
218
227
/>
219
228
< Option opt = { options . bar . customModules . updates . icon . updated } title = "No Updates Icon" type = "string" />
220
229
< Option opt = { options . bar . customModules . updates . label } title = "Show Label" type = "boolean" />
230
+ < Option
231
+ opt = { options . bar . customModules . updates . autoHide }
232
+ title = "Auto Hide"
233
+ subtitle = "Hides module when no updates are available."
234
+ type = "boolean"
235
+ />
221
236
< Option opt = { options . bar . customModules . updates . padZero } title = "Pad with 0" type = "boolean" />
222
237
< Option opt = { options . theme . bar . buttons . modules . updates . spacing } title = "Spacing" type = "string" />
223
238
< Option
@@ -280,6 +295,79 @@ export const CustomModuleSettings = (): JSX.Element => {
280
295
< Option opt = { options . bar . customModules . weather . middleClick } title = "Middle Click" type = "string" />
281
296
< Option opt = { options . bar . customModules . weather . scrollUp } title = "Scroll Up" type = "string" />
282
297
< Option opt = { options . bar . customModules . weather . scrollDown } title = "Scroll Down" type = "string" />
298
+
299
+ { /* Hyprsunset Section */ }
300
+ < Header title = "Hyprsunset" />
301
+ < Option
302
+ opt = { options . bar . customModules . hyprsunset . temperature }
303
+ title = "Temperature"
304
+ subtitle = "Ex: 1000k, 2000k, 5000k, etc."
305
+ type = "string"
306
+ />
307
+ < Option
308
+ opt = { options . theme . bar . buttons . modules . hyprsunset . enableBorder }
309
+ title = "Button Border"
310
+ type = "boolean"
311
+ />
312
+ < Option opt = { options . bar . customModules . hyprsunset . onIcon } title = "Enabled Icon" type = "string" />
313
+ < Option opt = { options . bar . customModules . hyprsunset . offIcon } title = "Disabled Icon" type = "string" />
314
+ < Option opt = { options . bar . customModules . hyprsunset . onLabel } title = "Enabled Label" type = "string" />
315
+ < Option opt = { options . bar . customModules . hyprsunset . offLabel } title = "Disabled Label" type = "string" />
316
+ < Option opt = { options . bar . customModules . hyprsunset . label } title = "Show Label" type = "boolean" />
317
+ < Option opt = { options . theme . bar . buttons . modules . hyprsunset . spacing } title = "Spacing" type = "string" />
318
+ < Option
319
+ opt = { options . bar . customModules . hyprsunset . pollingInterval }
320
+ title = "Polling Interval"
321
+ type = "number"
322
+ min = { 100 }
323
+ max = { 60 * 24 * 1000 }
324
+ increment = { 1000 }
325
+ />
326
+ < Option opt = { options . bar . customModules . hyprsunset . rightClick } title = "Right Click" type = "string" />
327
+ < Option opt = { options . bar . customModules . hyprsunset . middleClick } title = "Middle Click" type = "string" />
328
+ < Option opt = { options . bar . customModules . hyprsunset . scrollUp } title = "Scroll Up" type = "string" />
329
+ < Option opt = { options . bar . customModules . hyprsunset . scrollDown } title = "Scroll Down" type = "string" />
330
+
331
+ { /* Hypridle Section */ }
332
+ < Header title = "Hypridle" />
333
+ < Option
334
+ opt = { options . theme . bar . buttons . modules . hypridle . enableBorder }
335
+ title = "Button Border"
336
+ type = "boolean"
337
+ />
338
+ < Option opt = { options . bar . customModules . hypridle . onIcon } title = "Enabled Icon" type = "string" />
339
+ < Option opt = { options . bar . customModules . hypridle . offIcon } title = "Disabled Icon" type = "string" />
340
+ < Option opt = { options . bar . customModules . hypridle . onLabel } title = "Enabled Label" type = "string" />
341
+ < Option opt = { options . bar . customModules . hypridle . offLabel } title = "Disabled Label" type = "string" />
342
+ < Option opt = { options . bar . customModules . hypridle . label } title = "Show Label" type = "boolean" />
343
+ < Option opt = { options . theme . bar . buttons . modules . hypridle . spacing } title = "Spacing" type = "string" />
344
+ < Option
345
+ opt = { options . bar . customModules . hypridle . pollingInterval }
346
+ title = "Polling Interval"
347
+ type = "number"
348
+ min = { 100 }
349
+ max = { 60 * 24 * 1000 }
350
+ increment = { 1000 }
351
+ />
352
+ < Option opt = { options . bar . customModules . hypridle . rightClick } title = "Right Click" type = "string" />
353
+ < Option opt = { options . bar . customModules . hypridle . middleClick } title = "Middle Click" type = "string" />
354
+ < Option opt = { options . bar . customModules . hypridle . scrollUp } title = "Scroll Up" type = "string" />
355
+ < Option opt = { options . bar . customModules . hypridle . scrollDown } title = "Scroll Down" type = "string" />
356
+
357
+ { /* Power Section */ }
358
+ < Header title = "Power" />
359
+ < Option
360
+ opt = { options . theme . bar . buttons . modules . power . enableBorder }
361
+ title = "Button Border"
362
+ type = "boolean"
363
+ />
364
+ < Option opt = { options . theme . bar . buttons . modules . power . spacing } title = "Spacing" type = "string" />
365
+ < Option opt = { options . bar . customModules . power . icon } title = "Power Button Icon" type = "string" />
366
+ < Option opt = { options . bar . customModules . power . leftClick } title = "Left Click" type = "string" />
367
+ < Option opt = { options . bar . customModules . power . rightClick } title = "Right Click" type = "string" />
368
+ < Option opt = { options . bar . customModules . power . middleClick } title = "Middle Click" type = "string" />
369
+ < Option opt = { options . bar . customModules . power . scrollUp } title = "Scroll Up" type = "string" />
370
+ < Option opt = { options . bar . customModules . power . scrollDown } title = "Scroll Down" type = "string" />
283
371
</ box >
284
372
</ scrollable >
285
373
) ;
0 commit comments