Skip to content

Commit

Permalink
Added error info to lemonbar readme, note about i3 config
Browse files Browse the repository at this point in the history
  • Loading branch information
CopperBadger committed Feb 21, 2016
1 parent 79075e2 commit 8b87dab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
17 changes: 13 additions & 4 deletions dots/.i3/lemonbar-new/README.md
@@ -1,18 +1,27 @@
![At the end of our lives, it's nice to be the only thing left](http://i.imgur.com/ZSo85b2.png)
![At the end of our lives, it's good to be the only thing left](http://i.imgur.com/ZSo85b2.png)

## Installation + Usage

Dependencies are:

* [lemonbar-xft](https://aur.archlinux.org/packages/lemonbar-xft-git/)
* Python3 (default on Arch Linux, you will probably have to make some changes to the code if you're on another distro)
* The [i3-ipc](https://aur.archlinux.org/packages/i3ipc-python-git/) Python library
* Python3
* The [i3ipc library](https://pypi.python.org/pypi/i3ipc) via pip (it's also available [via the AUR](https://aur.archlinux.org/packages/i3ipc-python-git/)).
* [Conky](https://aur.archlinux.org/packages/conky-git/)
* Some kind of [Font Awesome](https://aur.archlinux.org/packages/otf-font-awesome/)
* [Font Awesome](https://aur.archlinux.org/packages/otf-font-awesome/) (I recommend [`xfd`](https://www.archlinux.org/packages/extra/x86_64/xorg-xfd/) for browsing icons)
* [Noto Sans](https://aur.archlinux.org/packages/ttf-noto/) is the default font, feel free to switch it out in `i3_lemonbar_config`
* If you want the same workspace icons + names I use, please consult / copy from [my i3 config](https://github.com/CopperBadger/dotfiles/blob/master/dots/.i3/config-new).

To run the lemonbar, simply run the included `i3_lemonbar.sh` script.

Because `i3ipc` likes to crash sometimes, the bar might freeze from time to time
(this seems to happen disproportionately on X startup). If this happens, simply run
the included `lb-restart` script included here. On much more rare occaisions, all of i3
will freeze. I am not sure if this is related to the bar or not, but in case it is,
I'll note here that the best way to fix this is to open a separate TTY terminal on
your machine (`Ctrl+Alt+F2`, for example), log in, and kill the `i3` process.

## Disclaimer

This Lemonbar setup is by GitHub user **electro7**. I've made several personal
changes to get my system and theme, but you should check out his original repo
Expand Down
4 changes: 4 additions & 0 deletions dots/.i3/lemonbar-new/lb-restart
@@ -0,0 +1,4 @@
#!/bin/bash

pkill lemonbar
$HOME/.i3/lemonbar/i3_lemonbar.sh &2> /dev/null > /dev/null

0 comments on commit 8b87dab

Please sign in to comment.