diff options
author | Matan Kushner <hello@matchai.me> | 2019-05-22 12:29:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-22 12:29:39 -0400 |
commit | 5b989fcb9c3583d1d1ed1a4c7d30e189209ad9b6 (patch) | |
tree | 9fd13ef85beb6c470aff126048f1112b619ee59c /src/modules/mod.rs | |
parent | 4d034351e8cbedee06ec7516bb382b4bdb878a6a (diff) |
feat: Add battery module(#63)
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r-- | src/modules/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs index a16409e74..808e33744 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -1,3 +1,4 @@ +mod battery; mod character; mod directory; mod git_branch; @@ -26,6 +27,7 @@ pub fn handle(module: &str, context: &Context) -> Option<Module> { "git_branch" => git_branch::segment(context), "git_status" => git_status::segment(context), "username" => username::segment(context), + "battery" => battery::segment(context), _ => panic!("Unknown module: {}", module), } |