Implement framework for custom modules and out of the box custom modules as well. (#213)

* Create declarative module scaffolding

* Added ram module (WIP)

* Updates to options, styling and more.

* Added function for styling custom modules.

* Added utility functions and cleaned up code

* Type and fn name updates.

* Update module utils to handle absent values.

* Added icon color in style2 that was missing.

* Linted utils.ts

* Add CPU module and update RAM module to use /proc/meminfo.

* Added disk storage module.

* Consolidate code

* Added netstat module and removed elements from systray default ignore list.

* Added keyboard layout module.

* Fix hook types and move module to customModules directory

* Added updates modules.

* Spacing updates

* Added weather module.

* Added power menu and power module in bar. Increased update default interval to 6 ours.

* Updated styling of bar buttons, made power menu label toggleable, etc.

* Consolidate code and add dynamic tooltips based on data being used.

* Make default custom mogules matugen compatible

* Update base theme

* Fix custom module background coloring

* Remove testing opacity.

* Update themes to account for new modules

* Update nix stuff for libgtop (Need someone to test this)

* Update nix

* Update fractions to multiplications

* Move styling in style directory

* Implement a polling framework for variables that can dynamically adjust polling intervals.

* Netstat module updates when interface name is changed.

* Readme update
This commit is contained in:
Jas Singh
2024-09-02 21:10:59 -07:00
committed by GitHub
parent 4f009b9978
commit 4cdda38604
107 changed files with 6444 additions and 1482 deletions

View File

@@ -1,29 +1,8 @@
{
"theme.bar.menus.background": "#1d2021",
"theme.bar.background": "#1d2021",
"theme.bar.buttons.media.icon": "#282828",
"theme.bar.buttons.media.text": "#83a598",
"theme.bar.buttons.icon": "#83a598",
"theme.bar.buttons.text": "#83a598",
"theme.bar.buttons.hover": "#504945",
"theme.bar.buttons.background": "#282828",
"theme.bar.menus.text": "#ebdbb2",
"theme.bar.menus.border.color": "#3c3836",
"theme.bar.buttons.media.background": "#282828",
"theme.bar.menus.menu.volume.text": "#ebdbb2",
"theme.bar.menus.menu.volume.card.color": "#282828",
"theme.bar.menus.menu.volume.label.color": "#fe8018",
"theme.bar.menus.popover.text": "#83a598",
"theme.bar.menus.popover.background": "#32302f",
"theme.bar.menus.menu.dashboard.powermenu.shutdown": "#cc241d",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#d3869b",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#8ec07b",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#1d2021",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#ebdbb2",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#83a598",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#3c3836",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#1d2021",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#1d2021",
"theme.bar.menus.menu.notifications.scrollbar.color": "#83a598",
"theme.bar.menus.menu.notifications.pager.label": "#a89984",
"theme.bar.menus.menu.notifications.pager.button": "#83a598",
"theme.bar.menus.menu.notifications.pager.background": "#1d2021",
"theme.bar.menus.menu.notifications.switch.puck": "#504945",
"theme.bar.menus.menu.notifications.switch.disabled": "#3c3836",
"theme.bar.menus.menu.notifications.switch.enabled": "#83a598",
@@ -34,6 +13,24 @@
"theme.bar.menus.menu.notifications.background": "#1d2021",
"theme.bar.menus.menu.notifications.no_notifications_label": "#3c3836",
"theme.bar.menus.menu.notifications.label": "#83a598",
"theme.bar.menus.menu.power.buttons.sleep.icon": "#32302f",
"theme.bar.menus.menu.power.buttons.sleep.text": "#83a598",
"theme.bar.menus.menu.power.buttons.sleep.icon_background": "#83a598",
"theme.bar.menus.menu.power.buttons.sleep.background": "#282828",
"theme.bar.menus.menu.power.buttons.logout.icon": "#32302f",
"theme.bar.menus.menu.power.buttons.logout.text": "#b8bb26",
"theme.bar.menus.menu.power.buttons.logout.icon_background": "#b8bb26",
"theme.bar.menus.menu.power.buttons.logout.background": "#282828",
"theme.bar.menus.menu.power.buttons.restart.icon": "#32302f",
"theme.bar.menus.menu.power.buttons.restart.text": "#fe8019",
"theme.bar.menus.menu.power.buttons.restart.icon_background": "#fe8019",
"theme.bar.menus.menu.power.buttons.restart.background": "#282828",
"theme.bar.menus.menu.power.buttons.shutdown.icon": "#32302f",
"theme.bar.menus.menu.power.buttons.shutdown.text": "#cc241d",
"theme.bar.menus.menu.power.buttons.shutdown.icon_background": "#cc241d",
"theme.bar.menus.menu.power.buttons.shutdown.background": "#282828",
"theme.bar.menus.menu.power.border.color": "#3c3836",
"theme.bar.menus.menu.power.background.color": "#1d2021",
"theme.bar.menus.menu.dashboard.monitors.disk.label": "#d3869b",
"theme.bar.menus.menu.dashboard.monitors.disk.bar": "#d3869b",
"theme.bar.menus.menu.dashboard.monitors.disk.icon": "#d3869b",
@@ -67,9 +64,18 @@
"theme.bar.menus.menu.dashboard.shortcuts.recording": "#b8bb26",
"theme.bar.menus.menu.dashboard.shortcuts.text": "#32302f",
"theme.bar.menus.menu.dashboard.shortcuts.background": "#83a598",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#1d2021",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#d3869b",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#8ec07b",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#ebdbb2",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#83a598",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#3c3836",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#1d2021",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#1d2021",
"theme.bar.menus.menu.dashboard.powermenu.sleep": "#83a598",
"theme.bar.menus.menu.dashboard.powermenu.logout": "#b8bb26",
"theme.bar.menus.menu.dashboard.powermenu.restart": "#fe8019",
"theme.bar.menus.menu.dashboard.powermenu.shutdown": "#cc241d",
"theme.bar.menus.menu.dashboard.profile.name": "#d3869b",
"theme.bar.menus.menu.dashboard.border.color": "#3c3836",
"theme.bar.menus.menu.dashboard.background.color": "#1d2021",
@@ -156,8 +162,11 @@
"theme.bar.menus.menu.volume.iconbutton.passive": "#ebdbb2",
"theme.bar.menus.menu.volume.listitems.active": "#fe8018",
"theme.bar.menus.menu.volume.listitems.passive": "#ebdbb2",
"theme.bar.menus.menu.volume.text": "#ebdbb2",
"theme.bar.menus.menu.volume.label.color": "#fe8018",
"theme.bar.menus.menu.volume.border.color": "#3c3836",
"theme.bar.menus.menu.volume.background.color": "#1d2021",
"theme.bar.menus.menu.volume.card.color": "#282828",
"theme.bar.menus.menu.media.slider.puck": "#7c6f64",
"theme.bar.menus.menu.media.slider.backgroundhover": "#504945",
"theme.bar.menus.menu.media.slider.background": "#665c54",
@@ -167,6 +176,7 @@
"theme.bar.menus.menu.media.buttons.enabled": "#8ec07c",
"theme.bar.menus.menu.media.buttons.inactive": "#665c54",
"theme.bar.menus.menu.media.border.color": "#3c3836",
"theme.bar.menus.menu.media.card.color": "#282828",
"theme.bar.menus.menu.media.background.color": "#1d2021",
"theme.bar.menus.menu.media.album": "#d3869b",
"theme.bar.menus.menu.media.artist": "#8ec07c",
@@ -188,6 +198,8 @@
"theme.bar.menus.buttons.disabled": "#665c54",
"theme.bar.menus.buttons.active": "#d3869b",
"theme.bar.menus.buttons.default": "#83a598",
"theme.bar.menus.check_radio_button.active": "#83a598",
"theme.bar.menus.check_radio_button.background": "#3c3836",
"theme.bar.menus.switch.puck": "#504945",
"theme.bar.menus.switch.disabled": "#3c3836",
"theme.bar.menus.switch.enabled": "#83a598",
@@ -195,42 +207,91 @@
"theme.bar.menus.icons.passive": "#665c54",
"theme.bar.menus.listitems.active": "#83a598",
"theme.bar.menus.listitems.passive": "#ebdbb2",
"theme.bar.menus.popover.border": "#32302f",
"theme.bar.menus.popover.background": "#32302f",
"theme.bar.menus.popover.text": "#83a598",
"theme.bar.menus.label": "#83a598",
"theme.bar.menus.feinttext": "#3c3836",
"theme.bar.menus.dimtext": "#665c54",
"theme.bar.menus.text": "#ebdbb2",
"theme.bar.menus.border.color": "#3c3836",
"theme.bar.menus.cards": "#1d2021",
"theme.bar.menus.background": "#1d2021",
"theme.bar.buttons.modules.power.icon_background": "#fb4934",
"theme.bar.buttons.modules.power.icon": "#21252b",
"theme.bar.buttons.modules.power.background": "#282828",
"theme.bar.buttons.modules.weather.icon_background": "#fe8017",
"theme.bar.buttons.modules.weather.icon": "#282828",
"theme.bar.buttons.modules.weather.text": "#fe8017",
"theme.bar.buttons.modules.weather.background": "#282828",
"theme.bar.buttons.modules.updates.icon_background": "#b16286",
"theme.bar.buttons.modules.updates.icon": "#21252b",
"theme.bar.buttons.modules.updates.text": "#b16286",
"theme.bar.buttons.modules.updates.background": "#282828",
"theme.bar.buttons.modules.kbLayout.icon_background": "#83a598",
"theme.bar.buttons.modules.kbLayout.icon": "#21252b",
"theme.bar.buttons.modules.kbLayout.text": "#83a598",
"theme.bar.buttons.modules.kbLayout.background": "#282828",
"theme.bar.buttons.modules.netstat.icon_background": "#b8bb26",
"theme.bar.buttons.modules.netstat.icon": "#21252b",
"theme.bar.buttons.modules.netstat.text": "#b8bb26",
"theme.bar.buttons.modules.netstat.background": "#282828",
"theme.bar.buttons.modules.storage.icon_background": "#83a598",
"theme.bar.buttons.modules.storage.icon": "#21252b",
"theme.bar.buttons.modules.storage.text": "#83a598",
"theme.bar.buttons.modules.storage.background": "#282828",
"theme.bar.buttons.modules.cpu.icon_background": "#d3869b",
"theme.bar.buttons.modules.cpu.icon": "#21252b",
"theme.bar.buttons.modules.cpu.text": "#d3869b",
"theme.bar.buttons.modules.cpu.background": "#282828",
"theme.bar.buttons.modules.ram.icon_background": "#fabd2f",
"theme.bar.buttons.modules.ram.icon": "#21252b",
"theme.bar.buttons.modules.ram.text": "#fabd2f",
"theme.bar.buttons.modules.ram.background": "#282828",
"theme.bar.buttons.notifications.total": "#83a598",
"theme.bar.buttons.notifications.icon_background": "#83a598",
"theme.bar.buttons.notifications.icon": "#282828",
"theme.bar.buttons.notifications.hover": "#504945",
"theme.bar.buttons.notifications.background": "#282828",
"theme.bar.buttons.clock.icon_background": "#d3869b",
"theme.bar.buttons.clock.icon": "#282828",
"theme.bar.buttons.clock.text": "#d3869b",
"theme.bar.buttons.clock.hover": "#504945",
"theme.bar.buttons.clock.background": "#282828",
"theme.bar.buttons.battery.icon_background": "#fabd2f",
"theme.bar.buttons.battery.icon": "#282828",
"theme.bar.buttons.battery.text": "#fabd2f",
"theme.bar.buttons.battery.hover": "#504945",
"theme.bar.buttons.battery.background": "#282828",
"theme.bar.buttons.systray.hover": "#504945",
"theme.bar.buttons.systray.background": "#282828",
"theme.bar.buttons.bluetooth.icon_background": "#83a598",
"theme.bar.buttons.bluetooth.icon": "#282828",
"theme.bar.buttons.bluetooth.text": "#83a598",
"theme.bar.buttons.bluetooth.hover": "#504945",
"theme.bar.buttons.bluetooth.background": "#282828",
"theme.bar.buttons.network.icon_background": "#b16286",
"theme.bar.buttons.network.icon": "#282828",
"theme.bar.buttons.network.text": "#b16286",
"theme.bar.buttons.network.hover": "#504945",
"theme.bar.buttons.network.background": "#282828",
"theme.bar.buttons.volume.icon_background": "#fe8018",
"theme.bar.buttons.volume.icon": "#282828",
"theme.bar.buttons.volume.text": "#fe8018",
"theme.bar.buttons.volume.hover": "#504945",
"theme.bar.buttons.volume.background": "#282828",
"theme.bar.buttons.media.icon_background": "#83a598",
"theme.bar.buttons.media.icon": "#282828",
"theme.bar.buttons.media.text": "#83a598",
"theme.bar.buttons.media.hover": "#504945",
"theme.bar.buttons.media.background": "#282828",
"theme.bar.buttons.windowtitle.icon_background": "#d3869b",
"theme.bar.buttons.windowtitle.icon": "#282828",
"theme.bar.buttons.windowtitle.text": "#d3869b",
"theme.bar.buttons.windowtitle.hover": "#504945",
"theme.bar.buttons.windowtitle.background": "#282828",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#32302f",
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#ffffff",
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#21252b",
"theme.bar.buttons.workspaces.active": "#d3869b",
"theme.bar.buttons.workspaces.occupied": "#fb4934",
"theme.bar.buttons.workspaces.available": "#83a598",
@@ -239,6 +300,13 @@
"theme.bar.buttons.dashboard.icon": "#282828",
"theme.bar.buttons.dashboard.hover": "#504945",
"theme.bar.buttons.dashboard.background": "#fabc2f",
"theme.bar.buttons.icon": "#83a598",
"theme.bar.buttons.text": "#83a598",
"theme.bar.buttons.hover": "#504945",
"theme.bar.buttons.icon_background": "#242438",
"theme.bar.buttons.background": "#282828",
"theme.bar.buttons.style": "split",
"theme.bar.background": "#1d2021",
"theme.osd.label": "#83a598",
"theme.osd.icon": "#1d2021",
"theme.osd.bar_overflow_color": "#cc241d",
@@ -255,24 +323,5 @@
"theme.notification.label": "#83a598",
"theme.notification.actions.text": "#32302f",
"theme.notification.actions.background": "#83a598",
"theme.notification.background": "#32302f",
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#21252b",
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#ffffff",
"theme.bar.menus.menu.media.card.color": "#282828",
"theme.bar.menus.check_radio_button.background": "#3c3836",
"theme.bar.menus.check_radio_button.active": "#83a598",
"theme.bar.buttons.style": "split",
"theme.bar.buttons.icon_background": "#242438",
"theme.bar.buttons.volume.icon_background": "#fe8018",
"theme.bar.buttons.network.icon_background": "#b16286",
"theme.bar.buttons.bluetooth.icon_background": "#83a598",
"theme.bar.buttons.windowtitle.icon_background": "#d3869b",
"theme.bar.buttons.media.icon_background": "#83a598",
"theme.bar.buttons.notifications.icon_background": "#83a598",
"theme.bar.buttons.battery.icon_background": "#fabd2f",
"theme.bar.buttons.clock.icon_background": "#d3869b",
"theme.bar.menus.menu.notifications.pager.button": "#83a598",
"theme.bar.menus.menu.notifications.scrollbar.color": "#83a598",
"theme.bar.menus.menu.notifications.pager.label": "#a89984",
"theme.bar.menus.menu.notifications.pager.background": "#1d2021"
}
"theme.notification.background": "#32302f"
}