<commit_before>Lemonbuddy
==========

[![Build Status](https://travis-ci.org/jaagr/lemonbuddy.svg?branch=master)](https://travis-ci.org/jaagr/lemonbuddy)

A fast and easy-to-use tool for [Lemonbar](https://github.com/LemonBoy/bar/).

**Lemonbuddy** aims to help users build beautiful and highly customizable status bars
without messing with named pipes, MacGyver-like scripting or non-blocking
loops lobotomizing your CPU.

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.

Here's a screenshot showing you an example of what it could look like:

[![bspwm workspace](http://i.imgur.com/xvlw9iHh.png)](http://i.imgur.com/xvlw9iH.png)


## Installation

###  Arch Linux
Install the AUR package `lemonbuddy-git`

###  Void Linux
A package will be written for XBPS so stay tuned.

### Dependencies:

A C++ compiler with C++14 support. For example `clang`.

- lemonbar
  > **NOTE:** The application has only been tested against the `single-mon` fork.
  > If you have trouble running it with your current version, install the one
  > included in `contrib/lemonbar-sm-git`.
  > Plans are to make `lemonbar` an internal module.
- cmake
- boost
- libx11
- libxrandr
- 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)_

**Install dependencies using pacman:**
~~~ sh
$ sudo pacman -S cmake boost libx11 libxrandr wireless_tools alsa-lib libmpdclient libsigc++ i3-wm
$ yaourt ttf-font-awesome
~~~

**Install dependencies using xbps-install:**
~~~ sh
$ sudo xbps-install cmake alsa-lib-devel boost-devel i3-devel libX11-devel libXrandr-devel libmpdclient-devel libsigc++-devel wireless_tools-devel
$ sudo xbps-install font-awesome
~~~

**Install dependencies using apt-get:**

> **NOTE:** To get support for the mpd and i3 modules, the `universe` repository
> needs to be added to the list of sources in `/etc/apt/sources.list`.
>
> Packages in the `universe` repository: `libmpdclient-dev` `i3-wm` `fonts-font-awesome`

~~~ sh
$ sudo apt-get install cmake libx11-dev libxrandr-dev libboost-dev libiw-dev libasound2-dev libmpdclient-dev libsigc++-2.0-dev i3-wm
$ sudo apt-get install fonts-font-awesome
~~~


### Building from source

> **NOTE:** In Void Linux you will need to install `git-perl` to get support for submodules.

  ~~~ sh
  $ git clone --branch 0.1.3 --recursive https://github.com/jaagr/lemonbuddy.git
  $ mkdir lemonbuddy/build
  $ cd lemonbuddy/build
  $ cmake ..
  # Optionally list and edit build settings before compiling
  # $ make edit_cache
  $ sudo make install
  ~~~
<commit_msg>fix(docs): Update dependency package lists<commit_after>Lemonbuddy
==========

[![Build Status](https://travis-ci.org/jaagr/lemonbuddy.svg?branch=master)](https://travis-ci.org/jaagr/lemonbuddy)

A fast and easy-to-use tool for [Lemonbar](https://github.com/LemonBoy/bar/).

**Lemonbuddy** aims to help users build beautiful and highly customizable status bars
without messing with named pipes, MacGyver-like scripting or non-blocking
loops lobotomizing your CPU.

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.

Here's a screenshot showing you an example of what it could look like:

[![bspwm workspace](http://i.imgur.com/xvlw9iHh.png)](http://i.imgur.com/xvlw9iH.png)


## Installation

###  Arch Linux
Install the AUR package `lemonbuddy-git`

###  Void Linux
A package will be written for XBPS so stay tuned.

### Dependencies:

A C++ compiler with C++14 support. For example `clang`.

- lemonbar
  > **NOTE:** The application has only been tested against the `single-mon` fork.
  > If you have trouble running it with your current version, install the one
  > included in `contrib/lemonbar-sm-git`.
  > Plans are to make `lemonbar` an internal module.
- cmake
- boost
- libx11
- libxrandr
- 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)_

**Install dependencies using pacman:**
~~~ sh
$ sudo pacman -S cmake boost libx11 libxrandr wireless_tools alsa-lib libmpdclient libsigc++
$ yaourt ttf-font-awesome
~~~

**Install dependencies using xbps-install:**
~~~ sh
$ sudo xbps-install cmake alsa-lib-devel boost-devel i3-devel libX11-devel libXrandr-devel libmpdclient-devel libsigc++-devel wireless_tools-devel
$ sudo xbps-install font-awesome
~~~

**Install dependencies using apt-get:**

> **NOTE:** To get support for the mpd and i3 modules, the `universe` repository
> needs to be added to the list of sources in `/etc/apt/sources.list`.
>
> Packages in the `universe` repository: `libmpdclient-dev` `fonts-font-awesome`

~~~ sh
$ sudo apt-get install cmake libxrandr-dev libboost-dev libiw-dev libasound2-dev libmpdclient-dev libsigc++-2.0-dev
$ sudo apt-get install fonts-font-awesome
~~~


### Building from source

> **NOTE:** In Void Linux you will need to install `git-perl` to get support for submodules.

  ~~~ sh
  $ git clone --branch 0.1.3 --recursive https://github.com/jaagr/lemonbuddy.git
  $ mkdir lemonbuddy/build
  $ cd lemonbuddy/build
  $ cmake ..
  # Optionally list and edit build settings before compiling
  # $ make edit_cache
  $ sudo make install
  ~~~

{'fraction_non_alphanumeric': 0.11411465892597968, 'fraction_numerical': 0.007801161103047896, 'mean_word_length': 4.2454804947668885, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3646723', 'n_tokens_mistral': 1876, 'n_tokens_neox': 1768, 'n_words': 620}