From 0073322a3645e82626d32e9a583fcc4423187922 Mon Sep 17 00:00:00 2001 From: Sinuhe Tellez Rivera Date: Mon, 11 Dec 2023 21:16:45 -0500 Subject: [PATCH] adding battery plugin --- README.md | 1 + channel.json | 5 ++++- plugins/micro-battery.json | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 plugins/micro-battery.json diff --git a/README.md b/README.md index 158fb1f..6753ee6 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ This repository contains the 'channel.json' file which lists all official micro | `jump` | Jump to any function, class or heading with F4. Go, Markdown, Python, C and in 40 other languages | https://github.com/terokarvinen/micro-jump | :heavy_check_mark: | | `detectindent` | Automatically detect indentation settings | https://github.com/dmaluka/micro-detectindent | :heavy_check_mark: | | `lsp` | An basic LSP client implementation | https://github.com/AndCake/micro-plugin-lsp | :heavy_check_mark: | +| `battery` | Displays battery percentage on the infobar | https://github.com/dubyte/micro-battery | :heavy_check_mark: | ## Adding your own plugin diff --git a/channel.json b/channel.json index 112427d..d503ebb 100644 --- a/channel.json +++ b/channel.json @@ -78,5 +78,8 @@ "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-detectindent.json", // lsp plugin - "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-plugin-lsp.json" + "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-plugin-lsp.json", + + // battery plugin + "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-battery.json" ] diff --git a/plugins/micro-battery.json b/plugins/micro-battery.json new file mode 100644 index 0000000..e7acc2c --- /dev/null +++ b/plugins/micro-battery.json @@ -0,0 +1,16 @@ +[{ + "Name": "battery", + "Description": "Battery displays battery percentage", + "Tags": ["battery", "laptop"], + "Website": "https://github.com/dubyte/micro-dubyte", + "License": "MIT", + "Versions": [ + { + "Version": "0.0.1", + "Url": "https://github.com/micro-editor/plugin-channel/releases/download/plugins/micro-battery-0.0.1.zip", + "Require": { + "micro": ">=2.0.0" + } + } + ] + }] \ No newline at end of file