Commit graph

20 commits

Author SHA1 Message Date
Clement Tsang
2e5d59f84d
other: clean up some cfg usage (#1205)
* other: convert some cfg if

* fix
2023-06-13 01:25:20 -04:00
Clement Tsang
3618449d42
deps: update clap to 4.x (#1107)
* deps: update clap to 4.x

* changelog

* fix test

* add gpu feature/flag test
2023-04-21 00:07:34 -04:00
Clement Tsang
4ca68b621d
ci: fix missing target in tests (#757)
Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.
2022-06-27 01:36:45 -04:00
ClementTsang
798683b81f other: add test for battery flag if battery feature is off 2022-05-01 17:15:54 -04:00
Clement Tsang
d297ee4639
refactor: remove some simple as-casts (#697)
Remove some simple as casts that are easy to change to .into(), or easy to check.
2022-03-27 22:01:06 -04:00
Clement Tsang
01f6bddab6
deps: update clap to 3.x (#690)
Updates bottom to use clap 3.x, along with some small refactoring changes.
2022-03-07 22:53:02 -05:00
Chloe Brown
cd1fe8b495 bug: Tests try to modify user home directory (#535)
Fixes a bug where running `cargo test` would try to create a
configuration file for the user.
2021-07-06 21:01:22 +01:00
Clement Tsang
fb7b1226fd
feature: add nord and nord-light colours (#406)
Adds colour schemes for Nord, along with a light variant.
2021-02-15 14:12:43 -05:00
ClementTsang
663ae6c5c2 bug: fix broken check from last commit, add tests 2020-09-01 03:08:46 -04:00
Clement Tsang
a4ddd649e1
refactor: Update error messages w/ anyhow and thiserror (#216)
Refactoring and updating of error messages + tests to be more useful.
2020-08-31 23:59:33 -04:00
Clement Tsang
364049ee5f
chore: update travis a bit for msrv 2020-05-04 18:53:05 -04:00
ClementTsang
1ff2606c90 update tests to deal with msrv 2020-05-04 18:23:34 -04:00
ClementTsang
f4c6cb95e4 test: add config tests, update arg tests 2020-04-23 15:33:51 -04:00
ClementTsang
4d512afdae refactor: update arg tests to use new binary env 2020-04-23 13:29:10 -04:00
Clement Tsang
0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -04:00
ClementTsang
648864176f Updated documentation, made error in args clearer 2020-03-10 01:51:28 -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
2435b9d90c Fixed tests. 2019-09-14 22:29:40 -04:00
ClementTsang
4846175638 Added error util, finished network graph. 2019-09-14 21:48:29 -04:00