Commit Graph

2669 Commits

Author SHA1 Message Date
Foo b29988b7ec Add functional tests for lemonbar bindings 2016-01-08 19:30:49 +01:00
S0lll0s ee5f471b49 Deprecate "bar" bindings in favor of lemonbar 2016-01-08 19:30:49 +01:00
S0lll0s 7b60b941fd Let segment_info overwrite i3wm workspace output 2016-01-08 01:46:23 +01:00
Nikolai Aleksandrovich Pavlov 59e66dca32 Merge pull request #1510 from ZyX-I/remove-status-utf8
Remove status-utf8 option
2015-12-17 03:09:04 +03:00
Foo b40119a187 Remove status-utf8 option
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.
2015-12-17 00:08:37 +03:00
Nikolai Aleksandrovich Pavlov d611cc2e43 Merge pull request #1499 from mook/1498-bat-linux-path
[Battery - Linux] Ignore AC adapters, use battery status instead
2015-11-28 23:53:06 +03:00
Mook 1e0228a3c7 [Battery - Linux] Look at battery status instead of AC online-ness
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
2015-11-28 12:07:01 -08:00
Nikolai Aleksandrovich Pavlov 78c6c730ca Merge pull request #1501 from mook/1500-mpd-utf8
[Players - mpd] Use Unicode where available
2015-11-28 22:49:06 +03:00
Mook 4265da2e1d [Players - mpd] Use Unicode where available
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
2015-11-28 11:28:51 -08:00
Nikolai Aleksandrovich Pavlov 3b50893ed0 Merge pull request #1503 from chmelevskij/patch-1
Add iTerm fix solution.
2015-11-25 01:57:08 +03:00
chmelevskij dbb968cdc3 Add iTerm fix solution.
Add a iTerm fix solution from https://github.com/powerline/fonts/issues/44
2015-11-24 22:46:44 +00:00
Nikolai Aleksandrovich Pavlov eaa772f195 Merge pull request #1495 from ZyX-I/extended-logging
Add more logging options
2015-11-22 06:35:56 +03:00
Foo 3f59edc060 Add more logging options 2015-11-22 06:08:37 +03:00
Foo 48469c02ef Enable python-3.5 build 2015-11-22 06:04:01 +03:00
Nikolai Aleksandrovich Pavlov 649757af1b Merge pull request #1491 from johnmiked15/feature/tabline_updates
Tabline and bufferlister updates
2015-11-15 06:30:11 +03:00
John Drouhard 31210242ef use str.format() instead of % operator; add comment to explain the usage of vim.eval('buflisted..') 2015-11-14 20:16:22 -06:00
John Drouhard 3f400f7d1a update test_tabline.vim with new tab:divider highlight group 2015-11-14 19:39:35 -06:00
John Drouhard a85b54d923 Update vim test module to implement 'getbufvar(...)'
This allows the tests for the buffer tablist to pass, since it now uses
getbufvar(nr, '&modified') to detect whether the buffer needs to be
modified
2015-11-14 19:39:35 -06:00
John Drouhard 63214c8a79 Update highlight groups for tabline
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.
2015-11-14 15:12:48 -06:00
John Drouhard 6efabc170d Fix performance issue with tabline and showtabline=2
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
2015-11-14 14:49:42 -06:00
Nikolai Aleksandrovich Pavlov 4e7f39926a Merge pull request #1486 from michelesr/develop
Fix #1483 -- [Battery - Linux] Fix AC status fetch
2015-11-08 18:10:28 +03:00
Michele Sorcinelli 2063411d34 Fix #1483 -- [Battery - Linux] Fix AC status fetch
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.
2015-11-08 15:44:32 +01:00
Nikolai Aleksandrovich Pavlov 5364919b47 Merge pull request #1482 from fernandezcuesta/develop
Include dist folder to MANIFEST.in
2015-11-04 19:30:50 +03:00
Jesús Fernández 9fcf8fa0c1 Including `dist` folder to MANIFEST.in 2015-11-04 12:19:28 +01:00
Foo fc6c3d9474 Merge branch 'release-2.3' into develop 2015-10-20 12:54:26 +03:00
Foo 312301b3f4 Update base version 2015-10-20 12:54:26 +03:00
Nikolai Aleksandrovich Pavlov a7dc28fb4d Merge pull request #1472 from ZyX-I/pr-1426
Add hide_domain argument to common.env.user segment
2015-10-20 00:03:41 +03:00
= e0a62f9cf7 Add hide_domain argument to common.env.user segment
If true, this argument hides `@` and the following characters from the user
name.

Fixes #1420
Closes #1426
2015-10-19 23:53:23 +03:00
Nikolai Aleksandrovich Pavlov e041f0e6ac Merge pull request #1451 from QuLogic/virtualenv-conda
Show conda environment in virtualenv segment.
2015-10-19 23:50:05 +03:00
Nikolai Aleksandrovich Pavlov ddfbb20eba Merge pull request #1471 from ZyX-I/tmux-2.1-update
Support tmux-2.1
2015-10-19 23:34:12 +03:00
Foo 0233909189 Do not allow failures any more 2015-10-19 23:29:34 +03:00
Foo 688e507967 Install old virtualenvwrapper for 2.6 UCS2 Python 2015-10-19 22:46:20 +03:00
Foo c4b4097b0c Transform pane_id to unicode before using
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
2015-10-19 22:00:45 +03:00
Nikolai Aleksandrovich Pavlov 3b3d8f0188 Merge pull request #1408 from ti-mo/develop
Added tips for Urxvt compiler flags
2015-10-16 00:21:49 +03:00
Timo Beckers e6d484a329 Added troubleshooting for Urxvt & Unicode 2015-10-15 23:14:52 +02:00
Nikolai Aleksandrovich Pavlov 841c25f6b6 Merge pull request #1467 from S0lll0s/i3-docs
Add i3 to the tagline
2015-10-08 20:07:56 +03:00
S0lll0s 9247567ae9 Add i3 to the tagline 2015-10-08 11:52:29 +02:00
Nikolai Aleksandrovich Pavlov 44b2f91729 Merge pull request #1466 from ZyX-I/fix-pypy3-test
Skip date test on PyPy3
2015-10-06 02:15:06 +03:00
Foo 76be911b81 Skip date test on PyPy3
See https://bitbucket.org/pypy/pypy/issues/2161/pypy3-strftime-does-not-accept-unicode
2015-10-06 01:46:25 +03:00
Foo 1cd992b4e3 Merge branch 'disable-python2.6-ucs2-tests' into develop 2015-10-06 01:40:15 +03:00
Foo 20ceaac885 Allow the whole CPython-2.6 UCS2 section to fail 2015-10-06 01:39:30 +03:00
Foo a839b15ecd Merge branch 'pull-1461' into develop 2015-10-06 00:41:40 +03:00
Håken Lid c6a6041b0d Allow unicode characters in time segment in Python-2 2015-10-06 00:40:54 +03:00
Nikolai Aleksandrovich Pavlov 3696782368 Merge pull request #1464 from powerline/ZyX-I-patch-2
Fix typo (missing letter) in installation/osx.rst
2015-10-06 00:27:32 +03:00
Nikolai Aleksandrovich Pavlov 69d3bdf328 Fix typo (missing letter) in installation/osx.rst
Closes #1463
2015-10-06 00:27:08 +03:00
Nikolai Aleksandrovich Pavlov 6a62e82925 Merge pull request #1462 from S0lll0s/i3-docs
Include i3wm segments in configuration docs
2015-10-05 21:59:50 +03:00
S0lll0s 811498d21b Include i3wm segments in Configuration docs
Close #1457
2015-10-05 20:57:26 +02:00
Nikolai Aleksandrovich Pavlov aa33599e3f Merge pull request #1456 from powerline/ZyX-I-patch-1
Do not state that patched font does not work for rxvt-unicode
2015-09-29 14:18:48 +03:00
Nikolai Aleksandrovich Pavlov 783b0f7f84 Do not state that patched font does not work for rxvt-unicode
Fixes #1455
2015-09-29 13:50:40 +03:00
Elliott Sales de Andrade 56aa31a66d Show conda environment in virtualenv segment.
Either conda or virtualenv checks can be disabled using the new
ignore_venv or ignore_conda options to this segment.
2015-09-14 02:36:06 -04:00