bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
Find a file
Tobi-wan Kenobi e8b3dfb4ef [modules/xrandr] Add display on/off toggling
This one is a bit tricky:
* Clicking on an active xrandr output will disable it
* Clicking on a disabled xrandr output will enable it -> if
  it is a left-click, it will put it as the left-most display
  if it is a right-click, as the right-most display

Also, it will reload the i3 bars (using a script that allows
you to write custom pieces of an i3 configuration that is applied
conditionally depending on the screens you have).

It goes like this:
* Base config is in ~/.i3/config.template
* Output-specific config is in ~/.i3/config.<screen name>
* Output-specific config when other screens are also active is in
  ~/.i3/config.<screen>-<other-screens-in-alphabetic-order>

For instance:
$ ls ~/.i3
config.template
config.eDP1 -> will be applied to eDP1 (always)
config.VGA1-eDP1 -> will be applied to VGA1, if eDP1 is also active
config.VGA1 -> will be applied to VGA1 (if eDP1 is inactive)

fixes #19
2016-11-26 13:57:33 +01:00
bin [modules/xrandr] Add display on/off toggling 2016-11-26 13:57:33 +01:00
bumblebee [modules/xrandr] Add display on/off toggling 2016-11-26 13:57:33 +01:00
screenshots [screenshots] Updated datetime 2016-11-26 09:12:22 +01:00
tests [tests] Added first module tests (for CPU) 2016-11-06 14:30:59 +01:00
themes [documentation] Updated all screenshots to be more uniform 2016-11-26 09:09:11 +01:00
.gitignore [gitignore] ignore vim swap files 2016-10-31 13:34:20 +01:00
bumblebee-status [general] Refactoring 2016-11-05 15:54:34 +01:00
LICENSE Initial commit 2016-10-30 15:07:21 +01:00
README.md [documentation] Updated all screenshots to be more uniform 2016-11-26 09:09:11 +01:00
runtests.sh [tests] Added first module tests (for CPU) 2016-11-06 14:30:59 +01:00

bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.

Focus is on:

  • Ease of use (no configuration files!)
  • Theme support
  • Extensibility (of course...)

I hope you like it and appreciate any kind of feedback: Bug reports, Feature requests, etc. :)

Thanks a lot!

Documentation

See the wiki for documentation.

Other resources:

Installation

$ git clone git://github.com/tobi-wan-kenobi/bumblebee-status

Usage

Next, open your i3wm configuration and modify the status_command for your i3bar like this:

bar {
	status_command = <path to bumblebee-status/bumblebee-status> -m <list of modules> -p <list of module parameters> -t <theme>
}

You can retrieve a list of modules and themes by entering:

$ cd bumblebee-status
$ ./bumblebee-status -l themes
$ ./bumblebee-status -l modules

As a simple example, this is what my i3 configuration looks like:

bar {
	font pango:Inconsolata 10
	position top
	tray_output none
	status_command ~/.i3/bumblebee-status/bumblebee-status -m nic disk:/ cpu memory battery date time pasink pasource dnf -p time.format="%H:%M CW %V" date.format="%a, %b %d %Y" -t solarized-powerline
}

Restart i3wm and - that's it!

Examples

Here are some screenshots for all themes that currently exist:

Gruvbox Powerline (-t gruvbox-powerline) (contributed by @paxy97):

Gruvbox Powerline

Solarized Powerline (-t solarized-powerline):

Solarized Powerline

Solarized (-t solarized):

Solarized

Powerline (-t powerline):

Powerline

Default (nothing or -t default):

Default