Commit graph

43 commits

Author SHA1 Message Date
Artemis Tosini 73886c37da
Update dependencies 2023-10-10 18:41:21 +00:00
Artemis Tosini 869c754d21
fallback to charge_full and charge_now 2023-10-10 18:30:02 +00:00
Artemis Tosini ea274f26c9
Use energy instead of charge in battery tile 2023-09-25 00:52:23 +00:00
Artemis Tosini 33be108857
Update flake.nix to use pkg-config 2023-09-22 01:50:58 +00:00
Artemis Tosini c21016e81a
Add an overlay that works 2021-11-20 03:50:10 +00:00
Artemis Tosini d2ae752053
Add an overlay 2021-11-20 03:19:25 +00:00
Artemis Tosini 8b19fa92c0
Replace shell.nix and defualt.nix with flakes 2021-11-20 01:36:34 +00:00
Artemis Tosini 56da46578d
Don't run the nonexistant tests when using nix 2021-08-27 19:02:11 +00:00
Artemis Tosini 892b43c83f
Add support for batteries not named BAT0 2021-08-27 18:37:40 +00:00
Artemis Tosini 3f69c3d2eb
Add default.nix to make this easy to build 2021-07-29 14:53:43 +00:00
Artemis Tosini 60004c3c8d
Update tokio, new iwd module 2021-07-29 04:50:46 +00:00
Skye Jensen 4ca561ccd8 Trim dependencies and rewrite prettify_kib 2020-08-10 20:56:21 -04:00
Artemis Tosini 1dc8605807
Clean up and use never type 2020-08-08 15:32:50 +00:00
Skye Jensen 49d7f5e19b Use futures_async_stream crate for writing streams 2020-08-07 21:13:02 -04:00
Skye Jensen c47d061fe6 Combine write calls in output::launch 2020-08-07 16:25:14 -04:00
Skye Jensen ce0ceba2f2 Propagate tile stream errors further before unwrapping 2020-08-07 15:00:03 -04:00
Skye Jensen 63d119a29f Remove unused imports 2020-08-07 14:17:53 -04:00
Skye Jensen 7d0c44bf5f Create TileResult type alias to clean up signatures 2020-08-07 14:15:40 -04:00
Skye Jensen 9ae994f637 rewrite hostname_stream to use dbus 2020-06-19 16:06:24 -04:00
Skye Jensen 9dfa11f0cf Actually include battery file 2020-06-15 20:52:31 -04:00
Skye Jensen 4d5604f775 Add battery tile implemented by reading from /sys 2020-06-15 20:48:49 -04:00
Skye Jensen 37d910d7f7 Add update config param 2020-06-14 01:37:32 -04:00
Skye Jensen e4e8fc11cc Move throttling outside of tiles 2020-06-13 22:22:30 -04:00
Skye Jensen dc78dfe4d6 Add debug feature to print latency 2020-06-13 20:11:48 -04:00
Skye Jensen aec10c000d Clean up AsyncIter 2020-06-05 20:08:23 -04:00
Skye Jensen 7131247e14 Add AsyncIter and test for it 2020-06-05 19:49:16 -04:00
Skye Jensen 6b9a5e1609 Use stream implementations of the tiles 2020-06-04 21:04:06 -04:00
Skye Jensen 68f2d4e3f1 Add stream implementations of tiles 2020-06-04 19:47:16 -04:00
Artemis Tosini 7db23d0a70
Add basic support for config files 2020-06-04 03:05:45 +00:00
Skye Jensen f08d1bdc7d Run rust fmt 2020-06-03 17:07:06 -04:00
Skye Jensen 187aa4e695 Reduce duplication between the tiles 2020-06-03 01:20:18 -04:00
Skye Jensen bd09432ba9 Replace Arc with Box on the tiles 2020-06-02 22:51:24 -04:00
Artemis Tosini 46d0f41f0f
Add memory tile 2020-06-03 02:38:26 +00:00
Skye Jensen 8e93d7e363 Use Infallible 2020-06-02 22:12:11 -04:00
Skye Jensen c0de250953 Convert Block::instance from a Box to an Arc
This will reduce an allocation and deallocation everytime a message is
sent
2020-06-02 21:57:02 -04:00
Artemis Tosini 11f31d24ad
Remove unnecessary async_std 2020-06-02 22:30:10 +00:00
Artemis Tosini 03379014b7
Fix load tile 2020-05-31 21:16:51 +00:00
Artemis Tosini f0e71ab4e1
Add hostname module 2020-05-31 18:43:43 +00:00
Artemis Tosini 224739a7ec
Add load, remove unwraps, fix high CPU 2020-05-31 02:48:45 +00:00
Artemis Tosini 49c82ade0b
Able to output basic structure 2020-05-30 21:37:17 +00:00
Artemis Tosini 03b06ce14f
Basic tile communication working 2020-05-30 19:45:43 +00:00
Artemis Tosini ed480f03d3
Add basic structure 2020-05-30 01:40:01 +00:00
Artemis Tosini 5b38d809aa
Initial commit 2020-05-29 21:21:53 +00:00