mirror of
https://github.com/BlackLight/cutiepi-lxpanel-battery.git
synced 2024-11-24 04:35:11 +01:00
Updated README
This commit is contained in:
parent
8592f985f0
commit
e8364537b7
1 changed files with 29 additions and 0 deletions
29
README.md
29
README.md
|
@ -4,8 +4,37 @@ lxpanel plugin for the CutiePi battery
|
||||||
|
|
||||||
## Installation from sources
|
## Installation from sources
|
||||||
|
|
||||||
|
1. Install the dependencies
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ sudo apt install \
|
$ sudo apt install \
|
||||||
build-essential autoconf automake libtool intltool \
|
build-essential autoconf automake libtool intltool \
|
||||||
libglib2.0-dev libgtk2.0-dev lxpanel-dev
|
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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue