From e8364537b7f8c48c1c30b5a881bcef5c05ab9c37 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 26 Jan 2022 02:45:14 +0100 Subject: [PATCH] Updated README --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 05ad179..a539517 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,37 @@ lxpanel plugin for the CutiePi battery ## Installation from sources +1. Install the dependencies + ```shell $ sudo apt install \ build-essential autoconf automake libtool intltool \ libglib2.0-dev libgtk2.0-dev lxpanel-dev ``` + +2. Clone the repo, compile and install the plugin + +```shell +$ git clone https://github.com/BlackLight/cutiepi-lxpanel-battery.git +$ cd cutiepi-lxpanel-battery +$ ./autogen.sh +$ make +$ sudo make install +``` + +3. Restart `lxpanel` if it's running + +```shell +$ lxpanelctl restart +``` + +## Usage + +1. Right click on the panel + +2. Select `Add / Remove Panel Items` + +3. Click `Add` + +4. Select `CutiePi battery` +