Commit Graph

2144 Commits

Author SHA1 Message Date
Clement Tsang 776f8cb3d3 refactor: bump 'msrv' to 1.81 and update deprecated code (#1615)
* refactor: ignore warning for deprecated panic hook from Rust 1.82.0

* refactor: bump 'msrv' to 1.81 and update deprecated code

* some more cleanup

* even more cleanup
2024-11-01 17:51:12 +00:00
Clement Tsang f2e329b00a docs: bump docs requirements.txt (#1609) 2024-10-16 00:25:43 +00:00
Clement Tsang 76fb7598e9 deps: bump lockfile deps (#1608)
* deps: bump lockfile deps

* left one
2024-10-15 02:03:13 +00:00
Clement Tsang 318ed9fd6f deps: bump starship-battery to 0.10.0 (#1607) 2024-10-14 21:53:44 -04:00
Clement Tsang 4189ae0935 deps: bump a few root deps (#1606) 2024-10-15 01:00:57 +00:00
Clement Tsang ca6ee28fb1 ci: fix nightly job not skipping if no change (#1601) 2024-09-21 02:09:16 -04:00
Clement Tsang 5b3803f905 docs: update changelog for #1596 (#1599) 2024-09-16 05:38:21 +00:00
allcontributors[bot] d8a83cdf90 docs: add llc0930 as a contributor for code (#1597)
* 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-09-13 14:39:31 -04:00
llc0930 fe25055cc1 bug: fix support for nilfs2 file system (#1596)
Fix the problem that the nilfs2 file system partition is not displayed in the disk list.
2024-09-13 14:39:20 -04:00
Clement Tsang 4e47f9b51a bug: fix incorrect default config definitions for chart legends (#1594)
I had changed how this was parsed in-code but I forgot to update the default configs. This also adds some e2e tests to hopefully catch this all for real in the future, since the schema ones don't catch this stuff and the constants test doesn't actually run the binary for a proper e2e test.
2024-09-12 09:51:23 +00:00
Clement Tsang 3edf430908 bug: fix using 'none' for chart legend position in configs (#1593)
* bug: fix using 'none' for legend position in configs

* forgot memory oops

* update changelog
2024-09-12 05:23:20 -04:00
allcontributors[bot] eaa56238be docs: add jasongwartz as a contributor for doc (#1589)
* 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-09-09 10:16:18 -04:00
Jason Gwartz 35a7eca134 docs: Update demo caption from "--color" to "--theme" (#1588)
As per [the changelog](https://github.com/ClementTsang/bottom/blob/d20dc49c95e085dd2ba3aa2b699c5a830ea9753a/CHANGELOG.md?plain=1#L90), `--color` was replaced by `--theme`. This updates the screenshot comment in the README to reflect this change.
2024-09-09 10:16:09 -04:00
Clement Tsang d20dc49c95 deps: bump a few root deps (#1587) 2024-09-09 02:24:51 +00:00
Clement Tsang 7678c46f42 docs: update README (#1585)
* docs: update README

* also fix ci if
2024-09-06 02:15:00 +00:00
Clement Tsang 2e5000e399 ci: merge mock + init job in nightly (#1584)
* ci: merge mock + init job in nightly

* also slightly bump timeout as a safeguard
2024-09-04 22:56:48 -04:00
Clement Tsang 6c42770b5e ci: fix a few actions (#1583)
A few small things:

- Tweak timeouts
- Disable audit workflow as codecov mostly handles it now
- Fix mock check in nightly
2024-09-05 02:08:01 +00:00
Clement Tsang c9a99886a5 deps: bump a few root deps as of 2024-09-03 (#1582)
* deps: bump a few root deps as of 2024-09-03

I didn't touch the TUI ones (crossterm, ratatui) or sysinfo for now.

* also run cargo update
2024-09-03 21:58:34 -04:00
Clement Tsang 97358d09c3 ci: fix CI pass check conditions (#1581)
* ci: fix CI pass check conditions

* also disable test because it's borked for some things
2024-09-03 23:58:07 +00:00
Clement Tsang 78879fc068 docs: update changelog (#1580) 2024-09-03 19:46:28 -04:00
Clement Tsang 1a715206be ci: try using GHA instead of Cirrus for FreeBSD in basic CI (#1577)
Ideally we minimize our usage of Cirrus CI, especially for typical PR CI workflows, since it's a bit cludgy to work with. This method is also more extendable to things like OpenBSD.

Fine for deploys I guess since that's not super frequent and at this point I have that working fairly well when automated + I don't usually have to wait for it.
2024-09-03 08:33:13 +00:00
allcontributors[bot] 21a09fd6bc docs: add stephen-huan as a contributor for code (#1579)
* 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-09-03 03:27:26 -04:00
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) 0.10.2 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