It is incorrect to set it at all because what powerline outputs depends on
locale used, and if locale is utf8 then tmux should already set this option.
The names of AC adapters are straight from ACPI and are sometimes called
"ADPx" instead of "ACx". To avoid confusion, look at the battery status
instead. Check for a power supply with a capacity instead of names that
start with "BAT" for the same reason.
Fixes#1498
Otherwise the mpd function will fail when it encounters non-ASCII
metadata as it tries to do a unicode.format() and attempts to decode
the incoming data as ASCII, throwing a UnicodeDecodeError exception.
Fixes#1500
This changes the buffer highlight groups from buf and buf_nc to
buf, buf_nc, buf_mod, and buf_nc_mod. Doing this allows a higher
level of configurability for the highlight groups used in the
buffer-only tabline.
vim_getbufoption(segment, 'buflisted') was causing vim to update the tabline for every
keystroke. using vim.eval('buflisted(nr)') allows vim to optimize when
it needs to update
Fixes#1281
Fix a bug where the `online` property is checked inside battery
instead of AC.
As specified in issue #1483, `online` is found only inside
`/sys/class/power_supply/AC<x>/` directories, and equals `1` when cable is
plugged, and `0` when unplugged.
Edit: updated with --amend according to ZyX-I hints in order to work with
powerline daemon.
- Added ability to hide domain part of the user name to common.env.user segment.
- Added ability to show conda environment to virtualenv segment.
- Added systemd service file.
- Added ability to detect internal_ip interface using default gateway.
- Added support for password-protected connections in mpd player bindings.
- Added `output` option to i3wm.workspaces segment to filter workspaces based on
their output.
- Added “charging” indicator to battery segment.
- Made tmux bindings show zoom indicator in window status.
- Fixed tmux bindings so that they support tmux-2.1.
- Fixed support for unicode characters in common.time.date segment.
Tmux-2.1 appears not to output leading `%` when using `tmux display -p '#D'`.
This change changes type of the `pane_id` argument: leading `%` turns it into
a literal string, number in front makes it be parsed as a JSON number.
Fixes#1470