diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2024-01-01 22:25:35 -0500 |
---|---|---|
committer | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2024-01-01 22:25:35 -0500 |
commit | 9efe60c66f6acb5ab0fa12fbf909e52d4d470ad3 (patch) | |
tree | bb55aa0eee9422eb604912084d66aa58845e76e9 | |
parent | c242b4aff31696e24ebbae49cfb5e761d0c6a9c0 (diff) |
rename battery info widget file
-rw-r--r-- | src/widgets.rs | 4 | ||||
-rw-r--r-- | src/widgets/battery_widget.rs | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/widgets.rs b/src/widgets.rs index 167a954e..21cf0479 100644 --- a/src/widgets.rs +++ b/src/widgets.rs @@ -1,4 +1,4 @@ -pub mod battery_widget; +pub mod battery_info; pub mod cpu_graph; pub mod disk_table; pub mod mem_graph; @@ -6,7 +6,7 @@ pub mod net_graph; pub mod process_table; pub mod temperature_table; -pub use battery_widget::*; +pub use battery_info::*; pub use cpu_graph::*; pub use disk_table::*; pub use mem_graph::*; diff --git a/src/widgets/battery_widget.rs b/src/widgets/battery_widget.rs deleted file mode 100644 index 68bbca79..00000000 --- a/src/widgets/battery_widget.rs +++ /dev/null @@ -1,5 +0,0 @@ -#[derive(Default)] -pub struct BatteryWidgetState { - pub currently_selected_battery_index: usize, - pub tab_click_locs: Option<Vec<((u16, u16), (u16, u16))>>, -} |