# System monitor graph Desklet Desklet for Cinnamon (desktop environment) to show graphs for system variables # Inspiration These are some of the projects where I took inspiration for this project: * [Disk Space](https://cinnamon-spices.linuxmint.com/desklets/view/39) * [CPU Load](https://cinnamon-spices.linuxmint.com/desklets/view/44) * [Simple system monitor](https://cinnamon-spices.linuxmint.com/desklets/view/29) * [Network usage monitor](https://cinnamon-spices.linuxmint.com/desklets/view/15) * [Top](https://cinnamon-spices.linuxmint.com/desklets/view/41) * [Win10 Widgets](https://win10widgets.com/) # Resources * [cinnamon-spices-desklets](https://github.com/linuxmint/cinnamon-spices-desklets) * [JavaScript Tutorial](https://www.w3schools.com/js/default.asp) * [CJS: JavaScript bindings for Cinnamon](https://github.com/linuxmint/cjs) * [CJS the importer](http://lira.epac.to:8080/doc/cinnamon/cinnamon-tutorials/importer.html) * [Applet, desklet and extension settings reference](https://projects.linuxmint.com/reference/git/cinnamon-tutorials/xlet-settings.html) and [here](https://projects.linuxmint.com/reference/git/cinnamon-tutorials/xlet-settings-ref.html) * [GJS: JavaScript Bindings for GNOME](https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md) and [here](https://gjs-docs.gnome.org/) * [GJS examples](https://github.com/optimisme/gjs-examples) * [Clutter API](https://gjs-docs.gnome.org/clutter4~4_api/) * [Computing CPU usage](https://rosettacode.org/wiki/Linux_CPU_utilization) * [Launching sequential processes from desklet](https://stackoverflow.com/questions/61147229/multiple-arguments-in-gio-subprocess) * On [Cinnamon.get_file_contents_utf8_sync()](https://github.com/linuxmint/cinnamon-spices-desklets/issues/428) * Default [`desklet.js` in Cinnamon](https://github.com/linuxmint/cinnamon/blob/master/js/ui/desklet.js) * [Manual alpha blending](https://stackoverflow.com/questions/746899/how-to-calculate-an-rgb-colour-by-specifying-an-alpha-blending-amount) * [Cairo documentation](https://www.cairographics.org/documentation/) # Notes: * `/usr/bin/free` for RAM * `/bin/df` for disk space #TODO: add dependencies