Commit Graph

209 Commits

Author SHA1 Message Date
ClementTsang 207444fbbf Update network legend again 2020-04-18 20:42:52 -04:00
ClementTsang 7248298995 Update highlight to light blue; new network legend 2020-04-18 19:53:11 -04:00
Clement Tsang 163f6823a2
feature: Add battery widget (#120) 2020-04-16 20:06:50 -04:00
Clement Tsang a351f05d4a
feature: Show process state (#114)
This is not 100% finished and will be refined in the future, as I plan to
do a bit of an overhaul on how the process widget is going to look and
functionality.  In particular, tabbed is currently kinda just slapped
together (I just combine all the states together as one big string).

However, it is enough to work and show state normally...
2020-04-11 21:02:27 -04:00
Clement Tsang f210681ae7
feature: add io and io/s for processes (#113) 2020-04-10 20:18:26 -04:00
Clement Tsang b32c984843
bug: Fix sorting processes by name being case-sensitive 2020-04-07 21:42:57 -04:00
Clement Tsang ba0fbf808e
(perf) Avoid harvesting if widget is not being displayed 2020-04-04 18:29:32 -04:00
ClementTsang 14c58507c0 (docs): Updates docs and removes a debug 2020-04-03 01:14:41 -04:00
ClementTsang 572d665a8a (docs): Update README to be a bit nicer 2020-04-03 00:50:56 -04:00
Clement Tsang 0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -04:00
Clement Tsang 1968bb14b4
Cleanup before modularity (#84)
* Uptick some crates, update README dependencies

* Cleanup before modularity feature.

* Fix missing reset zoom on reset

* Fixed reset... not resetting search or data displayed

* Cleaned up options a tiny bit to make more sense.

* Cleaned up some TODOs and the like.

* specify only build master branch.
2020-03-13 01:07:24 -04:00
Clement Tsang d07cee0f7e
Fix cpu legend colouring (#83)
* Initial fix, but pending a rewrite.

* Initial fix, but pending a rewrite.

* Merged two separate iterations into one for cpu legend.

* Refactor average cpu, fix bug with legend and cursor.
2020-03-11 01:02:47 -04:00
ClementTsang ee1504db89 Fix cpu scroll. 2020-03-10 21:36:13 -04:00
ClementTsang e5588f1606 Add hiding time and autohiding time. 2020-03-09 00:52:29 -04:00
ClementTsang 78a05bc683 Fixes bug with too large inputs causing a panic
We would prefer a more graceful error message stating what went wrong.
Caught by the Travis test.
2020-03-08 22:27:41 -04:00
ClementTsang f70cf02414 Add configurable default time and interval values
Also added documentation both in app and in the README.
2020-03-08 22:01:49 -04:00
ClementTsang 3026fbd1bc Add time scaling. 2020-03-08 19:47:10 -04:00
ClementTsang 6d0b7035d3 Redid basic mode logic and separated CPU
* Separated CPU into CPU legend and graph

* Redid how I did maximizing with basic mode
2020-03-08 16:17:28 -04:00
Clement Tsang 226c4e5a68
Clean up and manage some basic stuff (#73)
* Remove debug statement.

* Remove redundant functions from main

* Update pull request template.

* Format temperature line.

* Update README for chocolatey.

* Add note about basic mode and htop's inspiration.
2020-03-08 00:35:01 -05:00
Clement Tsang 188858fedd
Formatting and typos (#63)
* Fix typo and run rustfmt.

* Also add rustfmt check to travis... this might be temporary.

* Add a bit on default config files being created in the debian extended description.

* Add rustup component add to travis.

* Disable rustfmt for now, seems to play weird on windows builds.

* Remove unneccesary deprecate ignore.
2020-03-05 02:09:29 -05:00
Clement Tsang d018c6ee88
Make update rate u128 across the board. (#64) 2020-03-05 01:30:53 -05:00
ClementTsang b26f2eca4e Rename cevent to event. 2020-03-04 23:51:05 -05:00
ClementTsang 26c1175a8a More merge conflicts. 2020-03-04 23:48:40 -05:00
Clement Tsang fee8b5c8a1
Merge branch 'master' into simple_mode 2020-03-04 23:47:53 -05:00
ClementTsang 2a40750067 Fix merge conflict. 2020-03-04 23:45:59 -05:00
shilangyu 47cc34a8e2 reflected auto config creation 2020-03-02 22:07:41 +01:00
ClementTsang 225ad5366c Added proper navigation for basic mode. 2020-03-02 00:09:45 -05:00
ClementTsang 14c2320de2 Added highlighting + begin finalizing arrangement. Still not done. 2020-03-02 00:09:45 -05:00
ClementTsang 4c98fe4fde Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang eb2622467f Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang ff43799037 Add basic flag + option. Not functional yet. 2020-03-02 00:09:45 -05:00
ClementTsang df01a94cb0 Another import optimization. 2020-03-02 00:09:45 -05:00
Clement Tsang 735038f060
Merge branch 'master' into populate-config 2020-02-29 23:16:15 -05:00
shilangyu 6a1fa8f379 rust fmt 2020-02-29 12:54:57 +01:00
shilangyu 622703f4b6 create config if doesnt exist 2020-02-29 12:49:56 +01:00
ClementTsang c715133b4d Some more suggestions based on clion. Mostly removing brackets. 2020-02-28 22:39:26 -05:00
ClementTsang 75a1934420 rustfmt 2020-02-28 22:27:35 -05:00
ClementTsang bbdd7786ce Optimized imports as per clion 2020-02-28 22:24:24 -05:00
ClementTsang 818d920835 Fixed cursor issue. 2020-02-28 01:12:24 -05:00
ClementTsang 3f55f071b7 Some minor things like adding a question template + removal of debug. 2020-02-27 22:50:43 -05:00
ClementTsang b00740a7dd Added total rx + tx colouring options. 2020-02-27 17:54:39 -05:00
ClementTsang a755a5d41c Switch to using unicode_segmentation's cursor as a basis on how we do cursor movement in search. 2020-02-27 16:10:33 -05:00
ClementTsang 0660184099 Colours if selected and F1-3 keys for search options
Added different colours to search options if selected; added F1-3 keys as an alternative for searching.  Both are available, but on macOS F1-3 will be suggested instead.
2020-02-25 21:24:31 -05:00
ClementTsang 1c52587760 Fix alt key too... windows treats it as a CAPITAL. Go figure. 2020-02-24 21:37:36 -05:00
ClementTsang 2f7840568c Fix for issue in powershell.
Insure that this is tested on other systems first.  At least Linux.
2020-02-24 21:29:04 -05:00
ClementTsang 34b84d6b04 Add explicit lifetime parameters as per 2018 idioms. 2020-02-24 21:10:12 -05:00
ClementTsang a756c44c66 Support average cpu colour separately from others. Redid documentation. 2020-02-23 00:30:00 -05:00
ClementTsang 0697d9dd56 Fix issue with default file paths not being respected; updated default file paths. 2020-02-20 23:10:52 -05:00
ClementTsang f4b7df139a Merge execute macro calls. 2020-02-20 01:19:26 -05:00
ClementTsang ae935b6f08 Change default colouring to be compatible on macOS default terminal. 2020-02-19 21:29:53 -05:00