Updated README

This commit is contained in:
Fabio Manganiello 2022-01-26 02:45:14 +01:00
parent 8592f985f0
commit e8364537b7
1 changed files with 29 additions and 0 deletions

View File

@ -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`