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": "#0A0A0A",
"theme.bar.background": "#0A0A0A",
"theme.bar.buttons.media.icon": "#121212",
"theme.bar.buttons.media.text": "#00ffff",
"theme.bar.buttons.icon": "#FFD700",
"theme.bar.buttons.text": "#00FFFF",
"theme.bar.buttons.hover": "#333333",
"theme.bar.buttons.background": "#111111",
"theme.bar.menus.text": "#FFFFFF",
"theme.bar.menus.border.color": "#2A2A2A",
"theme.bar.buttons.media.background": "#111111",
"theme.bar.menus.menu.volume.text": "#FFFFFF",
"theme.bar.menus.menu.volume.card.color": "#1A1A1A",
"theme.bar.menus.menu.volume.label.color": "#FF69B4",
"theme.bar.menus.popover.text": "#00FFFF",
"theme.bar.menus.popover.background": "#0D0D0D",
"theme.bar.menus.menu.dashboard.powermenu.shutdown": "#FF4500",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#FF4500",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#32CD32",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#0A0A0A",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#FFFFFF",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#00FFFF",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#2A2A2A",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#0A0A0A",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#1A1A1A",
"theme.bar.menus.menu.notifications.scrollbar.color": "#00ffff",
"theme.bar.menus.menu.notifications.pager.label": "#9399B2",
"theme.bar.menus.menu.notifications.pager.button": "#00ffff",
"theme.bar.menus.menu.notifications.pager.background": "#0A0A0A",
"theme.bar.menus.menu.notifications.switch.puck": "#333333",
"theme.bar.menus.menu.notifications.switch.disabled": "#2A2A2A",
"theme.bar.menus.menu.notifications.switch.enabled": "#FFD700",
@@ -34,6 +13,24 @@
"theme.bar.menus.menu.notifications.background": "#0A0A0A",
"theme.bar.menus.menu.notifications.no_notifications_label": "#2A2A2A",
"theme.bar.menus.menu.notifications.label": "#FFD700",
"theme.bar.menus.menu.power.buttons.sleep.icon": "#0A0A0A",
"theme.bar.menus.menu.power.buttons.sleep.text": "#00FFFF",
"theme.bar.menus.menu.power.buttons.sleep.icon_background": "#00FFFF",
"theme.bar.menus.menu.power.buttons.sleep.background": "#1A1A1A",
"theme.bar.menus.menu.power.buttons.logout.icon": "#0A0A0A",
"theme.bar.menus.menu.power.buttons.logout.text": "#32CD32",
"theme.bar.menus.menu.power.buttons.logout.icon_background": "#32CD32",
"theme.bar.menus.menu.power.buttons.logout.background": "#1A1A1A",
"theme.bar.menus.menu.power.buttons.restart.icon": "#0A0A0A",
"theme.bar.menus.menu.power.buttons.restart.text": "#FFD700",
"theme.bar.menus.menu.power.buttons.restart.icon_background": "#FFD700",
"theme.bar.menus.menu.power.buttons.restart.background": "#1A1A1A",
"theme.bar.menus.menu.power.buttons.shutdown.icon": "#0A0A0A",
"theme.bar.menus.menu.power.buttons.shutdown.text": "#FF4500",
"theme.bar.menus.menu.power.buttons.shutdown.icon_background": "#ff4400",
"theme.bar.menus.menu.power.buttons.shutdown.background": "#1A1A1A",
"theme.bar.menus.menu.power.border.color": "#2A2A2A",
"theme.bar.menus.menu.power.background.color": "#0A0A0A",
"theme.bar.menus.menu.dashboard.monitors.disk.label": "#FF69B4",
"theme.bar.menus.menu.dashboard.monitors.disk.bar": "#FF69B4",
"theme.bar.menus.menu.dashboard.monitors.disk.icon": "#FF69B4",
@@ -67,9 +64,18 @@
"theme.bar.menus.menu.dashboard.shortcuts.recording": "#32CD32",
"theme.bar.menus.menu.dashboard.shortcuts.text": "#0A0A0A",
"theme.bar.menus.menu.dashboard.shortcuts.background": "#00FFFF",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#0A0A0A",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#FF4500",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#32CD32",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#FFFFFF",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#00FFFF",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#2A2A2A",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#0A0A0A",
"theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#1A1A1A",
"theme.bar.menus.menu.dashboard.powermenu.sleep": "#00FFFF",
"theme.bar.menus.menu.dashboard.powermenu.logout": "#32CD32",
"theme.bar.menus.menu.dashboard.powermenu.restart": "#FFD700",
"theme.bar.menus.menu.dashboard.powermenu.shutdown": "#FF4500",
"theme.bar.menus.menu.dashboard.profile.name": "#FF69B4",
"theme.bar.menus.menu.dashboard.border.color": "#2A2A2A",
"theme.bar.menus.menu.dashboard.background.color": "#0A0A0A",
@@ -156,8 +162,11 @@
"theme.bar.menus.menu.volume.iconbutton.passive": "#FFD700",
"theme.bar.menus.menu.volume.listitems.active": "#FF69B4",
"theme.bar.menus.menu.volume.listitems.passive": "#FFD700",
"theme.bar.menus.menu.volume.text": "#FFFFFF",
"theme.bar.menus.menu.volume.label.color": "#FF69B4",
"theme.bar.menus.menu.volume.border.color": "#2A2A2A",
"theme.bar.menus.menu.volume.background.color": "#0A0A0A",
"theme.bar.menus.menu.volume.card.color": "#1A1A1A",
"theme.bar.menus.menu.media.slider.puck": "#333333",
"theme.bar.menus.menu.media.slider.backgroundhover": "#45475A",
"theme.bar.menus.menu.media.slider.background": "#2A2A2A",
@@ -167,6 +176,7 @@
"theme.bar.menus.menu.media.buttons.enabled": "#00FFFF",
"theme.bar.menus.menu.media.buttons.inactive": "#333333",
"theme.bar.menus.menu.media.border.color": "#2A2A2A",
"theme.bar.menus.menu.media.card.color": "#1A1A1A",
"theme.bar.menus.menu.media.background.color": "#0A0A0A",
"theme.bar.menus.menu.media.album": "#FF69B4",
"theme.bar.menus.menu.media.artist": "#00FFFF",
@@ -188,6 +198,8 @@
"theme.bar.menus.buttons.disabled": "#333333",
"theme.bar.menus.buttons.active": "#00FFFF",
"theme.bar.menus.buttons.default": "#FFD700",
"theme.bar.menus.check_radio_button.active": "#ffffff",
"theme.bar.menus.check_radio_button.background": "#000000",
"theme.bar.menus.switch.puck": "#333333",
"theme.bar.menus.switch.disabled": "#2A2A2A",
"theme.bar.menus.switch.enabled": "#00FFFF",
@@ -195,42 +207,91 @@
"theme.bar.menus.icons.passive": "#333333",
"theme.bar.menus.listitems.active": "#00FFFF",
"theme.bar.menus.listitems.passive": "#FFD700",
"theme.bar.menus.popover.border": "#0A0A0A",
"theme.bar.menus.popover.background": "#0D0D0D",
"theme.bar.menus.popover.text": "#00FFFF",
"theme.bar.menus.label": "#00FFFF",
"theme.bar.menus.feinttext": "#1a1a1a",
"theme.bar.menus.dimtext": "#2b2b2b",
"theme.bar.menus.text": "#FFFFFF",
"theme.bar.menus.border.color": "#2A2A2A",
"theme.bar.menus.cards": "#0a0a0a",
"theme.bar.menus.background": "#0A0A0A",
"theme.bar.buttons.modules.power.icon_background": "#FF4500",
"theme.bar.buttons.modules.power.icon": "#121212",
"theme.bar.buttons.modules.power.background": "#121212",
"theme.bar.buttons.modules.weather.icon_background": "#00ffff",
"theme.bar.buttons.modules.weather.icon": "#121212",
"theme.bar.buttons.modules.weather.text": "#00ffff",
"theme.bar.buttons.modules.weather.background": "#121212",
"theme.bar.buttons.modules.updates.icon_background": "#FFD700",
"theme.bar.buttons.modules.updates.icon": "#121212",
"theme.bar.buttons.modules.updates.text": "#FFD700",
"theme.bar.buttons.modules.updates.background": "#121212",
"theme.bar.buttons.modules.kbLayout.icon_background": "#00FFFF",
"theme.bar.buttons.modules.kbLayout.icon": "#121212",
"theme.bar.buttons.modules.kbLayout.text": "#00FFFF",
"theme.bar.buttons.modules.kbLayout.background": "#121212",
"theme.bar.buttons.modules.netstat.icon_background": "#32CD32",
"theme.bar.buttons.modules.netstat.icon": "#121212",
"theme.bar.buttons.modules.netstat.text": "#32CD32",
"theme.bar.buttons.modules.netstat.background": "#121212",
"theme.bar.buttons.modules.storage.icon_background": "#FF4500",
"theme.bar.buttons.modules.storage.icon": "#121212",
"theme.bar.buttons.modules.storage.text": "#FF4500",
"theme.bar.buttons.modules.storage.background": "#121212",
"theme.bar.buttons.modules.cpu.icon_background": "#FF4500",
"theme.bar.buttons.modules.cpu.icon": "#121212",
"theme.bar.buttons.modules.cpu.text": "#FF4500",
"theme.bar.buttons.modules.cpu.background": "#121212",
"theme.bar.buttons.modules.ram.icon_background": "#FFD700",
"theme.bar.buttons.modules.ram.icon": "#121212",
"theme.bar.buttons.modules.ram.text": "#FFD700",
"theme.bar.buttons.modules.ram.background": "#121212",
"theme.bar.buttons.notifications.total": "#f7d04b",
"theme.bar.buttons.notifications.icon_background": "#f7d04b",
"theme.bar.buttons.notifications.icon": "#121212",
"theme.bar.buttons.notifications.hover": "#303030",
"theme.bar.buttons.notifications.background": "#121212",
"theme.bar.buttons.clock.icon_background": "#5bafff",
"theme.bar.buttons.clock.icon": "#121212",
"theme.bar.buttons.clock.text": "#5bafff",
"theme.bar.buttons.clock.hover": "#303030",
"theme.bar.buttons.clock.background": "#121212",
"theme.bar.buttons.battery.icon_background": "#f7d04b",
"theme.bar.buttons.battery.icon": "#121212",
"theme.bar.buttons.battery.text": "#f7d04b",
"theme.bar.buttons.battery.hover": "#303030",
"theme.bar.buttons.battery.background": "#121212",
"theme.bar.buttons.systray.hover": "#303030",
"theme.bar.buttons.systray.background": "#121212",
"theme.bar.buttons.bluetooth.icon_background": "#5bafff",
"theme.bar.buttons.bluetooth.icon": "#121212",
"theme.bar.buttons.bluetooth.text": "#5bafff",
"theme.bar.buttons.bluetooth.hover": "#303030",
"theme.bar.buttons.bluetooth.background": "#121212",
"theme.bar.buttons.network.icon_background": "#e23fe2",
"theme.bar.buttons.network.icon": "#121212",
"theme.bar.buttons.network.text": "#e23fe2",
"theme.bar.buttons.network.hover": "#303030",
"theme.bar.buttons.network.background": "#121212",
"theme.bar.buttons.volume.icon_background": "#ff3f3f",
"theme.bar.buttons.volume.icon": "#121212",
"theme.bar.buttons.volume.text": "#ff3f3f",
"theme.bar.buttons.volume.hover": "#303030",
"theme.bar.buttons.volume.background": "#121212",
"theme.bar.buttons.media.icon_background": "#00ffff",
"theme.bar.buttons.media.icon": "#121212",
"theme.bar.buttons.media.text": "#00ffff",
"theme.bar.buttons.media.hover": "#303030",
"theme.bar.buttons.media.background": "#111111",
"theme.bar.buttons.windowtitle.icon_background": "#5bafff",
"theme.bar.buttons.windowtitle.icon": "#121212",
"theme.bar.buttons.windowtitle.text": "#5bafff",
"theme.bar.buttons.windowtitle.hover": "#303030",
"theme.bar.buttons.windowtitle.background": "#121212",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#ffffff",
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#e23ee2",
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#e23fe2",
"theme.bar.buttons.workspaces.active": "#e23fe2",
"theme.bar.buttons.workspaces.occupied": "#ff3f3f",
"theme.bar.buttons.workspaces.available": "#5bafff",
@@ -239,6 +300,13 @@
"theme.bar.buttons.dashboard.icon": "#121212",
"theme.bar.buttons.dashboard.hover": "#303030",
"theme.bar.buttons.dashboard.background": "#f7d04b",
"theme.bar.buttons.icon": "#FFD700",
"theme.bar.buttons.text": "#00FFFF",
"theme.bar.buttons.hover": "#333333",
"theme.bar.buttons.icon_background": "#242438",
"theme.bar.buttons.background": "#111111",
"theme.bar.buttons.style": "split",
"theme.bar.background": "#0A0A0A",
"theme.osd.label": "#5bafff",
"theme.osd.icon": "#0a0a0a",
"theme.osd.bar_overflow_color": "#ff3f3f",
@@ -255,24 +323,5 @@
"theme.notification.label": "#5bafff",
"theme.notification.actions.text": "#0a0a0a",
"theme.notification.actions.background": "#5bafff",
"theme.notification.background": "#0a0a0a",
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#e23fe2",
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#e23ee2",
"theme.bar.menus.menu.media.card.color": "#1A1A1A",
"theme.bar.menus.check_radio_button.background": "#000000",
"theme.bar.menus.check_radio_button.active": "#ffffff",
"theme.bar.buttons.style": "split",
"theme.bar.buttons.icon_background": "#242438",
"theme.bar.buttons.volume.icon_background": "#ff3f3f",
"theme.bar.buttons.network.icon_background": "#e23fe2",
"theme.bar.buttons.bluetooth.icon_background": "#5bafff",
"theme.bar.buttons.windowtitle.icon_background": "#5bafff",
"theme.bar.buttons.media.icon_background": "#00ffff",
"theme.bar.buttons.notifications.icon_background": "#f7d04b",
"theme.bar.buttons.battery.icon_background": "#f7d04b",
"theme.bar.buttons.clock.icon_background": "#5bafff",
"theme.bar.menus.menu.notifications.pager.button": "#00ffff",
"theme.bar.menus.menu.notifications.scrollbar.color": "#00ffff",
"theme.bar.menus.menu.notifications.pager.label": "#9399B2",
"theme.bar.menus.menu.notifications.pager.background": "#0A0A0A"
}
"theme.notification.background": "#0a0a0a"
}