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:
@@ -39,6 +39,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"notifications_background": matugenColors.surface_dim,
|
||||
"dashboard_btn_text": matugenColors.surface_dim,
|
||||
"red2": matugenColors.tertiary,
|
||||
"peach2": matugenColors.tertiary,
|
||||
"pink2": matugenColors.tertiary,
|
||||
"mantle2": matugenColors.surface_dim,
|
||||
"surface1_2": matugenColors.inverse_on_surface,
|
||||
@@ -55,7 +56,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"teal2": matugenColors.secondary,
|
||||
"yellow2": matugenColors.secondary,
|
||||
"pink3": matugenColors.tertiary,
|
||||
"red3": matugenColors.tertiary,
|
||||
"red3": matugenColors.secondary,
|
||||
"mantle3": matugenColors.inverse_on_surface,
|
||||
"surface0_3": matugenColors.outline,
|
||||
"surface2_3": matugenColors.outline,
|
||||
@@ -101,6 +102,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"notifications_background": matugenColors.surface_dim,
|
||||
"dashboard_btn_text": matugenColors.surface_dim,
|
||||
"red2": matugenColors.tertiary,
|
||||
"peach2": matugenColors.tertiary,
|
||||
"pink2": matugenColors.tertiary,
|
||||
"mantle2": matugenColors.surface_dim,
|
||||
"surface1_2": matugenColors.inverse_on_surface,
|
||||
@@ -117,7 +119,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"teal2": matugenColors.primary,
|
||||
"yellow2": matugenColors.primary,
|
||||
"pink3": matugenColors.tertiary,
|
||||
"red3": matugenColors.tertiary,
|
||||
"red3": matugenColors.secondary,
|
||||
"mantle3": matugenColors.inverse_on_surface,
|
||||
"surface0_3": matugenColors.outline,
|
||||
"surface2_3": matugenColors.outline,
|
||||
@@ -163,6 +165,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"notifications_background": matugenColors.surface_dim,
|
||||
"dashboard_btn_text": matugenColors.surface_dim,
|
||||
"red2": matugenColors.secondary,
|
||||
"peach2": matugenColors.secondary,
|
||||
"pink2": matugenColors.secondary,
|
||||
"mantle2": matugenColors.surface_dim,
|
||||
"surface1_2": matugenColors.inverse_on_surface,
|
||||
@@ -222,6 +225,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"mantle": matugenColors.surface_container_low,
|
||||
"crust": matugenColors.surface_container_lowest,
|
||||
"red2": matugenColors.primary_container,
|
||||
"peach2": matugenColors.primary_container,
|
||||
"pink2": matugenColors.primary_container,
|
||||
"mantle2": matugenColors.primary,
|
||||
"surface1_2": matugenColors.primary,
|
||||
@@ -238,7 +242,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"teal2": matugenColors.primary_container,
|
||||
"yellow2": matugenColors.primary_container,
|
||||
"pink3": matugenColors.primary_fixed,
|
||||
"red3": matugenColors.primary,
|
||||
"red3": matugenColors.secondary,
|
||||
"mantle3": matugenColors.primary,
|
||||
"surface0_3": matugenColors.primary,
|
||||
"surface2_3": matugenColors.outline,
|
||||
@@ -281,6 +285,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"mantle": matugenColors.surface_container_low,
|
||||
"crust": matugenColors.surface_container_lowest,
|
||||
"red2": matugenColors.secondary_container,
|
||||
"peach2": matugenColors.secondary_container,
|
||||
"pink2": matugenColors.secondary_container,
|
||||
"surface2_2": matugenColors.primary_container,
|
||||
"mantle2": matugenColors.secondary,
|
||||
@@ -340,6 +345,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"mantle": matugenColors.surface_container_low,
|
||||
"crust": matugenColors.surface_container_lowest,
|
||||
"red2": matugenColors.tertiary_container,
|
||||
"peach2": matugenColors.tertiary_container,
|
||||
"pink2": matugenColors.tertiary_container,
|
||||
"mantle2": matugenColors.tertiary,
|
||||
"surface1_2": matugenColors.tertiary,
|
||||
@@ -356,7 +362,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"teal2": matugenColors.tertiary_container,
|
||||
"yellow2": matugenColors.tertiary_container,
|
||||
"pink3": matugenColors.tertiary_fixed,
|
||||
"red3": matugenColors.tertiary,
|
||||
"red3": matugenColors.secondary,
|
||||
"mantle3": matugenColors.tertiary,
|
||||
"surface0_3": matugenColors.tertiary,
|
||||
"surface2_3": matugenColors.outline,
|
||||
@@ -402,6 +408,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"notifications_background": matugenColors.surface_dim,
|
||||
"dashboard_btn_text": matugenColors.surface_dim,
|
||||
"red2": matugenColors.primary,
|
||||
"peach2": matugenColors.primary,
|
||||
"pink2": matugenColors.primary,
|
||||
"mantle2": matugenColors.surface_dim,
|
||||
"surface1_2": matugenColors.inverse_on_surface,
|
||||
@@ -418,7 +425,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"teal2": matugenColors.primary,
|
||||
"yellow2": matugenColors.primary,
|
||||
"pink3": matugenColors.primary,
|
||||
"red3": matugenColors.primary,
|
||||
"red3": matugenColors.secondary,
|
||||
"mantle3": matugenColors.inverse_on_surface,
|
||||
"surface0_3": matugenColors.outline,
|
||||
"surface2_3": matugenColors.outline,
|
||||
@@ -464,6 +471,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"notifications_background": matugenColors.surface_dim,
|
||||
"dashboard_btn_text": matugenColors.surface_dim,
|
||||
"red2": matugenColors.secondary,
|
||||
"peach2": matugenColors.secondary,
|
||||
"pink2": matugenColors.secondary,
|
||||
"mantle2": matugenColors.surface_dim,
|
||||
"surface1_2": matugenColors.inverse_on_surface,
|
||||
@@ -526,6 +534,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"notifications_background": matugenColors.surface_dim,
|
||||
"dashboard_btn_text": matugenColors.surface_dim,
|
||||
"red2": matugenColors.tertiary,
|
||||
"peach2": matugenColors.tertiary,
|
||||
"pink2": matugenColors.tertiary,
|
||||
"mantle2": matugenColors.surface_dim,
|
||||
"surface1_2": matugenColors.inverse_on_surface,
|
||||
@@ -542,7 +551,7 @@ export const getMatugenVariations = (matugenColors: MatugenColors, variation: Ma
|
||||
"teal2": matugenColors.tertiary,
|
||||
"yellow2": matugenColors.tertiary,
|
||||
"pink3": matugenColors.tertiary,
|
||||
"red3": matugenColors.tertiary,
|
||||
"red3": matugenColors.secondary,
|
||||
"mantle3": matugenColors.inverse_on_surface,
|
||||
"surface0_3": matugenColors.outline,
|
||||
"surface2_3": matugenColors.outline,
|
||||
|
||||
Reference in New Issue
Block a user