Commit graph

2122 commits

Author SHA1 Message Date
Stephen Huan
7c35def686
fix: selected text bg in default-light theme (#1578) 2024-09-03 03:27:03 -04:00
Clement Tsang
c63574dc78
deps: bump some CI actions as of 2024-09-01 (#1576)
* deps: bump some CI actions as of 2024-09-01

* missed one
2024-09-01 21:23:07 -04:00
Clement Tsang
2c03525945
other: regenerate the sample default config to match 0.10.2 (#1573)
The default sample config was outdated.
2024-08-27 18:10:31 -04:00
Clement Tsang
a095e67179
change: default config location on macOS considers XDG config var (#1570)
Actually support $XDG_CONFIG_HOME on macOS. Apparently in our docs we also say we do, but we, uh, don't, because dirs doesn't.

Note this is backwards-compatible, in that if a config file exists in the old default locations, we will check those first.
2024-08-22 01:00:55 +00:00
allcontributors[bot]
bb6a996c42
docs: add woodsb02 as a contributor for doc (#1567)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-08-19 10:56:58 -04:00
Ben Woods
74ae124fcc
docs: Add Terra installation instructions (#1566)
* README.md: Add Terra RPM repo instructions

* update some wording

---------

Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
2024-08-19 10:56:47 -04:00
Zeb Piasecki
cbe27997bd
fix: add extra row for basic cpu widget if using avg row on cores % 4 != 0 (#1565) 2024-08-19 10:51:03 -04:00
Clement Tsang
5a009987ac
docs: update docs around disable_gpu change. (#1562)
* docs: update changelog

* update docs
2024-08-14 20:27:32 -04:00
shurizzle
6b0a285541
refactor: rename flags.enable_gpu to flags.disable_gpu (false by default) (#1559)
Co-authored-by: shurizzle <me@shurizzle.dev>
2024-08-14 18:22:47 -04:00
Clement Tsang
1f011bd918
docs: update doc about mkdocs, changelog, and versioning (#1561)
* docs: update doc about mkdocs

* docs: more readme docs wording

* add some details about versioning
2024-08-13 22:44:32 -04:00
Clement Tsang
277a30bca5
docs: update changelog to mention the change to enable_gpu (#1560) 2024-08-13 22:31:41 -04:00
Clement Tsang
d9d9e1df9f
other: show N/A for Nvidia GPUs if we detect one but can't get temps (#1557)
* other: show N/A for Nvidia GPUs if we detect one but can't get the temperature

* refactor: driveby refactor of filter system and code for temp

* missed one
2024-08-11 17:20:07 -04:00
Clement Tsang
c65121c43a
refactor: clean up some config and panic code (#1556)
* clean up some code

* refactor cancellation system to a separate cancellation token struct and clean up panic code
2024-08-11 02:04:44 -04:00
Clement Tsang
96ed26d87a
other: add another test to validate default config (#1553)
* update changelog

* add another lib test to make sure valid integration configs are actually valid

* only test these on default config

* clippy

* add extra CI fail check

* fix windows
2024-08-08 04:44:48 -04:00
Clement Tsang
cf47cb9fae
other: add test to make sure default config is valid (#1552) 2024-08-08 01:36:42 +00:00
Frederick Zhang
4c8367225a
fix: missing parent section names in TOML (#1551) 2024-08-07 12:59:44 -04:00
Clement Tsang
218d1899fc
docs: fix Debian package links (#1550)
Fixes .deb package links in examples.
2024-08-06 11:17:42 -04:00
Clement Tsang
537a67152f
docs: fix all-contributors chart alignment (#1548) 2024-08-06 00:33:01 -04:00
Clement Tsang
53079c698a
docs: fix dupe in all-contributors chart (#1547) 2024-08-06 00:32:01 -04:00
Clement Tsang
2ec1fb56c9
uptick: 0.10.2 (#1544) 2024-08-05 20:28:17 -04:00
Clement Tsang
32f64f4d52
bug: fix occasionally wrong run time reported by sysinfo (#1542)
* bug: fix occasionally wrong runtime reported by sysinfo

Seems like on other platforms, sysinfo will sometimes report a run time
that starts from UNIX epoch - this gives a non-sensical value of 19000+
days, and it at least looks a little more reasonable to just return 0 in
this case. I guess we can also make it return N/A in the future but this
is a quick fix for now.

* update changelog
2024-08-05 20:15:22 -04:00
Clement Tsang
39672853e2
ci: bump codecov action to v4.5.0 (#1546) 2024-08-05 19:12:21 -04:00
Clement Tsang
b5b36f7c73
docs: update docs and requirements as of 2024-08-05 (#1545) 2024-08-05 19:03:18 -04:00
Clement Tsang
feb0c6912c
bug: fix default_cpu_entry arg not being used and missing from docs (#1543) 2024-08-05 18:55:05 -04:00
Clement Tsang
9f7e00497d
bug: fix not updating sysinfo processes correctly (#1541)
* bug: fix not updating sysinfo processes correctly

* also fix a potential panic spot on slow computers

* update changelog
2024-08-05 18:38:36 -04:00
Clement Tsang
d27790d6fa
docs: fix alphabetical ordering of the linux install docs (#1537)
Switch solus and snap.
2024-08-04 03:57:15 -04:00
Clement Tsang
64627629a3
docs: update some of the installation docs (#1536)
Just updating the wording for some of the installation docs.
2024-08-04 03:55:16 -04:00
Clement Tsang
1c5705a745
docs: fix incorrect link in all-contributors (#1535) 2024-08-03 01:17:04 -04:00
Clement Tsang
b6c3b54f02
docs: update changelog (#1534) 2024-08-03 05:12:35 +00:00
Zeb Piasecki
d6c2ef3e22
feat: add option to move avg CPU to another row (#1487)
Adds an `average_cpu_row` option to move the average CPU usage to its own row
when using basic mode.
2024-08-03 01:10:36 -04:00
Clement Tsang
9379c03595
ci: bump installed tools from cargo (#1532) 2024-08-02 01:09:54 -04:00
Clement Tsang
b58d982a31
ci: some more cirrus release tweaks (#1531)
* ci: better cirrus release

* add cancellation

* limit number of concurrent cargo jobs

* update test skip, clean up, clean tasks
2024-08-02 00:49:53 -04:00
Clement Tsang
eaff5d009a
ci: clean up cirrus CI (#1530)
* ci: try adding auto cancellation back to cirrus tasks

* tweak timeout

* some renaming

* modernizing

* Revert "modernizing"

This reverts commit d66b3aa0e9.

* hmmm

* bleh back to false
2024-08-01 19:52:11 -04:00
Clement Tsang
8811d54058
other: delete v1.0 schema directory (#1529)
I've already migrated the schema in schemastore to follow the new system of matching versions with bottom's version.
2024-08-01 16:38:09 +00:00
Clement Tsang
2f102bc1aa
uptick: 0.10.1 (#1527) 2024-08-01 15:56:39 +00:00
Clement Tsang
5b68b6ee81
other: add test to catch issues with incorrect long arg names (#1528) 2024-08-01 15:45:24 +00:00
Clement Tsang
03e69b3be0
bug: fix using clap macro incorrectly, causing broken long help name (#1526)
Basically, I did:

```
long = "blah blah blah"
```

but it should have been:

```
long,
long_help = "blah blah blah"
```

The former makes the _long help flag_ the description which... well,
isn't right.
2024-08-01 15:21:09 +00:00
Clement Tsang
9364955bcd
docs: fix invalid flag in docs (#1523)
The docs set the colour theme as a config flag, but we moved colours to styles.theme so that's invalid.
2024-08-01 11:03:14 -04:00
Clement Tsang
163a8dc74a
docs: update changelog (#1524) 2024-08-01 11:03:01 -04:00
Clement Tsang
ea46613c58
ci: bump winget-releaser (#1522) 2024-08-01 15:00:10 +00:00
Clement Tsang
8afae3fbe8
uptick: 0.10.0 (#1510)
* uptick: 0.10.0

* docs: fix changelog

* bump lockfile

* match clap

* add/update schema

* add note
2024-08-01 02:45:57 -04:00
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
38c6e70c1e
docs: update changelog (#1517) 2024-07-31 01:22:42 -04:00
allcontributors[bot]
b9c42265fd
docs: add CosmicHorrorDev as a contributor for code (#1516)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-07-31 00:36:31 -04:00
CosmicHorror
8f995f80e4
other: Add the config path to the error message if unable to create config (#1515) 2024-07-31 00:36:12 -04:00
Clement Tsang
4b14ccb56b
feature: support italic text styling (#1514)
Support italics as a text styling option.
2024-07-31 01:54:26 +00:00
Clement Tsang
c77256eaaf
change: make table headers bold by default (#1513)
* change: make table headers bold by default

* changelog
2024-07-31 00:37:38 +00:00
Clement Tsang
08a7b8b860
feature: support bold text (#1512)
* feature: support bold text

* add changelog

* more testing
2024-07-30 07:43:57 +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