Commit graph

158 commits

Author SHA1 Message Date
Clement Tsang
a6e1ea3bd8
docs: update docs on filter (#1519)
Updates some outdated docs on filtering, and adds some tests as well. In particular, this also adds a cfg_attr on tests to try and catch unknown fields; we'll be more lenient in prod builds though and allow them.
2024-07-31 06:41:30 +00:00
Clement Tsang
2c0fb2a723
other: clarify config file creation logic/code (#1518) 2024-07-31 05:33:32 +00:00
Clement Tsang
f091ebdc6a
feature: support simple colour settings for text fields too (#1511)
* feature: support simple colour settings for text fields too

* also add 'color' back to some options

* tests
2024-07-30 07:15:23 +00:00
Clement Tsang
28972a1e64
refactor: refactor styling options (#1499)
Introduce a new configuration system for styling.
2024-07-29 09:03:35 +00:00
Clement Tsang
ee2e1fee1c
refactor: use struct for args instead of builder interface (#1472)
* start moving args

* tmp

* refactor config

* port over ags

* update changelog
2024-05-27 01:16:37 -04:00
Michal Bryxí
e4f3b6911a
docs: Which table goes "flags" under? (#1452)
- There is currently no indication under which [table](https://toml.io/en/v1.0.0#table) do "flags" go in the config file.
- I think having that being explicitly spelled out & having an example saves quite a bit of people's time. Would for me 🙃
2024-04-30 11:13:23 -04:00
Clement Tsang
93d6718766
other: update a bunch of argument descriptions and some arg/config names (#1441)
* other: update a bunch of argument descriptions and some arg/config names

* update docs

* changelog
2024-04-10 20:46:35 -04:00
Lee Wonjoon
a083ec00dd
feature: Add option to set a position of legend (#1430)
* Add option to set a position of legend

* some small changes

---------

Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2024-04-02 01:06:01 -04:00
Clement Tsang
2238d49c6c
docs: bump deps as of 2024-03-23 (#1432) 2024-03-23 02:31:13 -04:00
Clement Tsang
73f1827a03
docs: actually fix numbering for Windows font troubleshooting guide (#1417) 2024-03-02 02:31:01 -05:00
Clement Tsang
8402ea285d
docs: fix numbering for Windows font troubleshooting guide (#1416) 2024-03-02 02:17:58 -05:00
Clement Tsang
d78428ac19
docs: some clarification (#1415) 2024-02-20 09:14:10 -05:00
Clement Tsang
cd1715cd8f
other: add process uptime as a default column (#1411)
* other: add process uptime as a default column

* update docs
2024-02-15 03:27:19 -05:00
wzy
98d4c4498b
other: add json schema (#1382) (#1394)
* other: add json schema (#1382)

* docs: add some screenshots

* other: move around schema files

* docs: move around some docs around config files

---------

Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2024-02-02 02:24:23 -05:00
Clement Tsang
4246194634
docs: change code font and enable privacy (#1381) 2024-01-11 03:46:28 -05:00
Clement Tsang
16a94d65d2
add last revision date (#1380) 2024-01-11 03:20:35 -05:00
Clement Tsang
b106121a84
docs: bump mkdocs-material to 0.9.6 (#1379) 2024-01-11 02:42:50 -05:00
ClementTsang
7cd1c15714
docs: fix another incorrect heading 2024-01-11 02:30:03 -05:00
Clement Tsang
a3541c9350
docs: use consistent wording around command-line options (#1378)
* docs: use consistent wording around command-line options

* fix missing code blocks
2024-01-11 02:14:05 -05:00
Clement Tsang
bc2c363a49
refactor: clean up arg code more (#1377)
* fix sort function

* Try macros

* Revert "Try macros"

This reverts commit 93c7306f8a.

* use next_help_heading instead

* test

* Revert "test"

This reverts commit 017a1702b3.

* Reapply "test"

This reverts commit 23c09d3828.

* use foldl instead :)

* a word

* different conditionals

* update docs, change ordering

* more formatting stuff
2024-01-11 00:25:53 -05:00
Clement Tsang
b6f92c2f3d
feature: support default selection of average CPU graph (#1353)
* feature: support default selection of average CPU graph

* test
2023-12-10 15:21:35 -05:00
Clement Tsang
dab4b6c483
other: master -> main (#1349)
* other: master -> main

I'm so used to using `main` branch now that it's actually kinda annoying
to use `master` for just this repo... so might as well rename it now.

* overzealous change

* wording

* some wording

* allow auto-cancel for tests if not main
2023-12-06 00:16:26 -05:00
Clement Tsang
074b205a82
other: change group -> group_processes for consistency between config and command-line args (#1344)
* other: change group -> group_processes to match config file name

* update docs

* update changelog
2023-12-01 02:46:22 -05:00
Justin Martin
e4a6e751ec
feature: Add gpu proc info (#1276)
* Add gpu util, power and procs.

Consolidated gpu calls into `data_harvester`.

Changed config flag from `enable_gpu_memory` to `enable_gpu`.

Added GPU utilization to the cpu widget.

Added GPU process memory usage and utilization percentage to the proc widget.
Added key binds for gpu process toggling.

Added GPU power usage to the battery widget.
Added bounds check to battery widget header.
Show battery widget header when `gpu_enable`.

Added feature flag `legacy-functions` to `nvml-wrapper`.

updated config file(s).
updated help text.
updated docs.

* Code Review:

Remove GPU util from cpu widget
Remove GPU power from battery widget
Use reference for gpu widgets_to_harvest
Extract match arm to function for feature gate

* Code Review: add gmem% toggle

* Do not poll gpu temp when filtered

* Code Review Two Changes:

adjust doc wordings
remove extra references
remove extra widget harvest checks
init proc gpu values
use convert_temp_unit for gpu temp
2023-11-19 23:54:15 -05:00
Clement Tsang
5df66006d8
docs: fix typo in process column config (#1323)
Lowercase a word.
2023-11-19 06:49:37 -05:00
Clement Tsang
036366274e
docs: bump mike to v2.0.0 (#1318)
* bump mike

* bump some docs

* update some settings and serve script to use mike
2023-11-16 03:17:21 -05:00
Clement Tsang
04713bf81d
docs: bump mkdocs-related dependencies to latest (#1317)
* docs: bump mkdocs-related dependencies to latest

bumps mkdocs-material to 9.4.8, mkdocs to 1.5.3, mkdocs-material-extensions to 1.3

* fix some link warnings
2023-11-16 02:45:04 -05:00
Yuri Astrakhan
a6200640b9
chore: run spell and grammar checkers
* Chore: Run an spell cheker, and gramar cheker

* small revert

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2023-11-15 03:03:48 -05:00
Clement Tsang
1f41ff3ae6
docs: bump mkdocs and mkdocs-material versions (#1293) 2023-09-04 18:24:25 -04:00
Clement Tsang
7aae9293e4
docs: bump mkdocs-material to 9.1.21 and mkdocs to 1.5.1 (#1269)
* docs: bump mkdocs-material to 9.1.21

* Update requirements.txt
2023-08-01 02:12:10 -04:00
Clement Tsang
dfca219a73
docs: bump mkdocs-material to 9.1.19 (#1256) 2023-07-19 04:23:22 -04:00
Clement Tsang
771e8fa463
docs: bump mkdocs material to 9.1.18 (#1249) 2023-07-08 03:12:40 -04:00
Clement Tsang
0902abf6f9
docs: bump mkdocs-material to 9.1.17 (#1226) 2023-06-26 01:32:43 -04:00
Clement Tsang
4ac3b43260
docs: update time-related documentation (#1222)
* docs: update time-related documentation

* fix retention too
2023-06-24 01:36:36 -04:00
Clement Tsang
0b7f4c745d
other: fix humantime-related documentation, add tests, support numbers + strings in toml (#1220)
* update documentation and support either numerical times or human times for time_delta and default_time_value

* update docs

* give more human times on error
2023-06-22 00:01:01 -04:00
Clement Tsang
c73bc2cdb4
docs: bump mkdocs-material to 9.1.16 (#1209) 2023-06-17 00:08:23 -04:00
Clement Tsang
6c7635038d
ci: add RPM package generation (#1206)
* ci: add RPM package generation

* edit container

* fix install
2023-06-15 00:26:54 -04:00
Clement Tsang
87a793f501
docs: bump mkdocs-material to 9.1.15 (#1180) 2023-06-01 02:27:46 -04:00
Clement Tsang
2ef7aa97c9
deps: bump dependencies for docs (#1167) 2023-05-24 00:33:31 -04:00
Clement Tsang
f76fc84670
docs: bump mkdocs-material to 9.1.12 (#1150) 2023-05-13 11:40:56 -04:00
Clement Tsang
cb9d99527a
docs: update process config docs (#1142) 2023-05-09 19:35:32 -04:00
Clement Tsang
dae65bcd56
bug: fix certain custom column combinations causing issues (#1140)
* docs: update some docs related to processes

* bug: temp bandaid on column feature to avoid dupes issue
2023-05-09 19:20:34 -04:00
Clement Tsang
53d7cbb170
docs: bump mkdocs-material to 9.1.11 (#1141) 2023-05-09 00:24:38 -04:00
Clement Tsang
1111bbe831
docs: update help section of docs (#1139)
* docs: update help section of docs a bit

* update
2023-05-07 17:07:24 -04:00
Clement Tsang
e12ed777b7
docs: update docs with processes column (#1138) 2023-05-07 17:00:55 -04:00
Clement Tsang
440e10c34d
other: disable logging when building with default features (#1133)
* other: disable logging when building with default features

* update docs
2023-05-06 17:35:10 -04:00
Clement Tsang
5548db6472
docs: bump mkdocs-material to 9.1.9 (#1127) 2023-05-05 01:06:56 -04:00
Clement Tsang
605314d44c
feature: add customizable process columns (#1115)
* feature: add customizable process columns

* Add some tests and actual logic

* more tests

* update changelog

* update config field

* even more tests

* update documentation

* more testing
2023-04-29 19:21:48 -04:00
Clement Tsang
d180617e7a
docs: update mkdocs-material to 9.1.8 (#1116) 2023-04-26 00:29:39 -04:00
Clement Tsang
1c95411494
feature: add current battery charging state, update field names (#1106) 2023-04-19 00:46:57 -04:00