2016-05-19 10:41:06 -04:00
|
|
|
Lemonbuddy
|
|
|
|
==========
|
|
|
|
|
2016-05-19 17:46:50 -04:00
|
|
|
A fast and easy-to-use tool for [Lemonbar](https://github.com/LemonBoy/bar/).
|
2016-05-19 10:41:06 -04:00
|
|
|
|
2016-05-20 05:20:58 -04:00
|
|
|
**Lemonbuddy** aims to help users build beautiful and highly customizable status bars
|
2016-05-19 17:46:50 -04:00
|
|
|
without messing with named pipes, MacGyver-like scripting or non-blocking
|
|
|
|
loops lobotomizing your CPU.
|
2016-05-19 10:41:06 -04:00
|
|
|
|
2016-05-19 17:46:50 -04:00
|
|
|
Please note that the project hasn't been tested, other then by myself, so
|
|
|
|
bugs and various bumps is to be expected. Please report any issues here on
|
|
|
|
github.
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2016-05-20 05:20:58 -04:00
|
|
|
### Arch Linux
|
|
|
|
Install the AUR package `lemonbuddy`
|
|
|
|
|
|
|
|
### Void Linux
|
|
|
|
A package will be written for XBPS so stay tuned.
|
2016-05-19 17:46:50 -04:00
|
|
|
|
|
|
|
### Dependencies:
|
|
|
|
|
2016-05-19 22:35:09 -04:00
|
|
|
A C++ compiler with C++14 support. For example `clang`.
|
|
|
|
|
2016-05-19 23:33:16 -04:00
|
|
|
- lemonbar (obviously)
|
|
|
|
- NOTE: The application has only been tested against the `single-mon` fork.
|
|
|
|
If you have trouble with your version of lemonbar, install the fork which is
|
2016-05-23 20:55:25 -04:00
|
|
|
included in the `contrib` folder.
|
|
|
|
|
|
|
|
There are plans to integrate `lemonbar` into the project.
|
|
|
|
- cmake
|
2016-05-23 14:27:10 -04:00
|
|
|
- boost
|
2016-05-19 17:46:50 -04:00
|
|
|
- libx11
|
|
|
|
- libxrandr
|
2016-05-23 22:06:29 -04:00
|
|
|
- wireless_tools _(optional: used by the network module)_
|
|
|
|
- alsa-lib _(optional: used by the volume module)_
|
|
|
|
- libmpdclient _(optional: used by the mpd module)_
|
|
|
|
- libsigc++ _(optional: used by the i3 module)_
|
2016-05-19 17:46:50 -04:00
|
|
|
|
2016-05-23 22:06:29 -04:00
|
|
|
**Installing using pacman:**
|
2016-05-19 17:46:50 -04:00
|
|
|
~~~ sh
|
2016-05-23 20:55:25 -04:00
|
|
|
$ pacman -S cmake boost libx11 libxrandr wireless_tools alsa-lib libmpdclient libsigc++ i3-wm
|
2016-05-19 17:46:50 -04:00
|
|
|
~~~
|
|
|
|
|
2016-05-23 22:06:29 -04:00
|
|
|
**Installing using xbps-install:**
|
2016-05-19 17:46:50 -04:00
|
|
|
~~~ sh
|
2016-05-23 20:55:25 -04:00
|
|
|
$ xbps-install -S cmake alsa-lib-devel boost-devel i3-devel libX11-devel libXrandr-devel libmpdclient-devel libsigc++-devel wireless_tools-devel
|
2016-05-19 17:46:50 -04:00
|
|
|
~~~~
|
|
|
|
|
2016-05-23 22:06:29 -04:00
|
|
|
**Installing using apt-get:**
|
|
|
|
|
2016-05-23 22:21:02 -04:00
|
|
|
> NOTE: `libmpdclient-dev` and `i3-wm` are located in the `universe` repository, so if you want support for the
|
|
|
|
> mpd/i3 modules you need to make sure it's included in the list of sources in `/etc/apt/sources.list`.
|
|
|
|
> For example:
|
2016-05-23 22:06:29 -04:00
|
|
|
>
|
|
|
|
> `deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe`
|
|
|
|
|
|
|
|
~~~ sh
|
|
|
|
$ apt-get install cmake libx11-dev libxrandr-dev libboost-dev libiw-dev libmpdclient-dev libsigc++-dev i3-wm
|
|
|
|
~~~~
|
|
|
|
|
|
|
|
|
2016-05-19 17:46:50 -04:00
|
|
|
<br>
|
|
|
|
|
|
|
|
## Building from source
|
|
|
|
|
|
|
|
#### Automatic installation using ./build.sh
|
|
|
|
|
|
|
|
If you haven't worked with builds before you could try to run the following
|
|
|
|
command chain:
|
|
|
|
|
|
|
|
~~~ sh
|
2016-05-24 08:43:02 -04:00
|
|
|
$ git clone --branch 0.1.2 --recursive https://github.com/jaagr/lemonbuddy.git
|
2016-05-19 17:46:50 -04:00
|
|
|
$ cd lemonbuddy
|
|
|
|
$ ./build.sh
|
|
|
|
~~~
|
|
|
|
|
2016-05-23 22:21:02 -04:00
|
|
|
> NOTE: `git-perl` is required for submodules to work in **Void Linux**
|
2016-05-19 17:46:50 -04:00
|
|
|
|
|
|
|
#### It is of course recommended that you control the build process yourself.
|
|
|
|
|
|
|
|
~~~ sh
|
2016-05-24 08:43:02 -04:00
|
|
|
$ git clone --branch 0.1.2 --recursive https://github.com/jaagr/lemonbuddy.git
|
2016-05-19 17:46:50 -04:00
|
|
|
$ mkdir lemonbuddy/build
|
|
|
|
$ cd lemonbuddy/build
|
2016-05-19 22:35:09 -04:00
|
|
|
$ cmake ..
|
2016-05-23 22:21:02 -04:00
|
|
|
# Optionally list and edit build variables
|
2016-05-19 17:46:50 -04:00
|
|
|
$ make edit_cache
|
|
|
|
$ sudo make install
|
|
|
|
~~~
|
2016-05-23 22:21:02 -04:00
|
|
|
|
2016-05-19 17:46:50 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2016-05-23 22:21:02 -04:00
|
|
|
> The MIT License (MIT)<br>
|
2016-05-19 17:46:50 -04:00
|
|
|
> Copyright (c) 2016 Michael Carlberg
|
|
|
|
>
|
|
|
|
> Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
> this software and associated documentation files (the "Software"), to deal in
|
|
|
|
> the Software without restriction, including without limitation the rights to
|
|
|
|
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
|
|
> the Software, and to permit persons to whom the Software is furnished to do so,
|
|
|
|
> subject to the following conditions:
|
|
|
|
>
|
|
|
|
> The above copyright notice and this permission notice shall be included in all
|
|
|
|
> copies or substantial portions of the Software.
|
|
|
|
>
|
|
|
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
|
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
|
|
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
|
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|