Commit graph

36 commits

Author SHA1 Message Date
Artemis Tosini c0f832bcef
WIP NetworkManager tile 2023-12-14 23:29:46 +00:00
Artemis Tosini ca44c81e73
Move tick to beginning of loop
The first tick completes immediately. Before this change messages would
be sent twice at first.
2023-12-14 21:10:32 +00:00
Artemis Tosini 92a611581f
Generate dbus bindings from xml descriptions 2023-12-14 21:08:33 +00:00
Artemis Tosini b22089d58b
tiles send to an mpsc directly, builds on stable rust 2023-12-14 05:34:58 +00:00
Artemis Tosini f85d9b4910
Fix padding in internet time 2023-12-14 01:21:13 +00:00
Artemis Tosini 8e968f13e6
Add Internet Time for some reason 2023-12-12 21:41:44 +00:00
Artemis Tosini ecf78a4264
Might handle leap seconds better 2023-12-12 20:40:27 +00:00
Artemis Tosini d0ce857365
Add new local_time and system_time tiles 2023-12-11 05:14:03 +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 892b43c83f
Add support for batteries not named BAT0 2021-08-27 18:37:40 +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
Skye Jensen 49d7f5e19b Use futures_async_stream crate for writing streams 2020-08-07 21:13:02 -04:00
Skye Jensen ce0ceba2f2 Propagate tile stream errors further before unwrapping 2020-08-07 15:00:03 -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 e4e8fc11cc Move throttling outside of tiles 2020-06-13 22:22:30 -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 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