Commit Graph

7 Commits

Author SHA1 Message Date
Jas Singh
4cdda38604 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
2024-09-02 21:10:59 -07:00
Jas Singh
e51be0363f Fix stacking interval - resolves: #76 (#77) 2024-08-04 13:22:18 -07:00
matavach
b6d573ac2b added null check for weather key (#71)
* added null check for weather key

* Update index.ts

removed an unneeded import

* Update index.ts

removed more junk.

I need to be better about cleaning up my code before commiting it 😅

* Update index.ts

okay last one

* removed visibility change, adjusted null check to still display default values

* Formatting

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-04 12:19:40 -07:00
Jas Singh
aae22bef5e Network module rework (#48)
* Fixes #45 - Reworked the network module to be more responsive and added ssid truncation configuration.

* Added truncation options in the defaults.
2024-07-30 21:51:36 -07:00
Jas Singh
42ccd573be Updated the default weather template and the weather logic to handle errors better 2024-07-27 13:07:25 -07:00
Jas Singh
cd0a14c146 Added location from master to current branch. 2024-07-26 23:17:36 -07:00
Jas Singh
ca5dcc629b Converted a significant amount of files from js to ts. 2024-07-26 02:02:47 -07:00