Added the ability to track when submap is enabled or disabled. (#282)

* Added submap custom module.

* Captilazation is muy importante.

* Add border config
This commit is contained in:
Jas Singh
2024-09-23 22:29:49 -07:00
committed by GitHub
parent 6905fb4eb7
commit d60d3db401
7 changed files with 213 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ import {
Netstat,
KbInput,
Updates,
Submap,
Weather,
Power,
} from './Exports';
@@ -57,6 +58,7 @@ type Section =
| 'netstat'
| 'kbinput'
| 'updates'
| 'submap'
| 'weather'
| 'power'
| 'systray';
@@ -108,6 +110,7 @@ const widget = {
netstat: (): Button<Child, Attribute> => WidgetContainer(Netstat()),
kbinput: (): Button<Child, Attribute> => WidgetContainer(KbInput()),
updates: (): Button<Child, Attribute> => WidgetContainer(Updates()),
submap: (): Button<Child, Attribute> => WidgetContainer(Submap()),
weather: (): Button<Child, Attribute> => WidgetContainer(Weather()),
power: (): Button<Child, Attribute> => WidgetContainer(Power()),
};