Commit Graph

2757 Commits

Author SHA1 Message Date
Nikolai Aleksandrovich Pavlov e0a70986ed Fix a few typos/strange wording in installation/osx.rst 2016-03-24 23:18:47 +03:00
Nikolai Aleksandrovich Pavlov 6ff06016da Merge pull request #1556 from FocusedWolf/1555-fix-attribute-error-lc_messages
Fix LC_MESSAGES AttributeError
2016-03-24 22:55:21 +03:00
FocusedWolf 2f1893a968 Fix LC_MESSAGES AttributeError
Adds code to check if locale has the 'LC_MESSAGES' attribute before
    executing the following line of code:

        locale.getlocale(locale.LC_MESSAGES)[1]

    Fixes #1555
2016-03-24 04:52:45 -04:00
Nikolai Aleksandrovich Pavlov d7e913280c Merge pull request #1552 from jtyr/jtyr-ipython_config
More specific instructions for iPython
2016-03-22 15:11:36 +03:00
Jiri Tyr ecf088539b More specific instructions for iPython 2016-03-22 11:53:11 +00:00
Nikolai Aleksandrovich Pavlov a44c9a8ec9 Merge pull request #1542 from s-ol/i3-scratch
Add segments.i3wm.scratchpad
2016-03-20 04:50:44 +04:00
s-ol eec80dfb6c Add test for segments.i3wm.scratchpad 2016-03-20 01:22:10 +01:00
Nikolai Aleksandrovich Pavlov 09f32c053b Merge pull request #1549 from ZyX-I/fix-1547
Make Popen.communicate receive only bytes
2016-03-20 00:35:46 +04:00
Foo e9b70b9edf Make Popen.communicate receive only bytes
Fixes #1547
Closes #1548
2016-03-19 23:07:01 +03:00
s-ol f710a87ba6 Add segments.i3wm.scratchpad 2016-03-13 21:06:32 +01:00
Nikolai Aleksandrovich Pavlov a10003802b Merge pull request #1540 from blueyed/fix-doc-usage-other
docs/source/usage/other.rst: fix typo in note
2016-03-07 09:16:50 +03:00
Daniel Hahler 00212fa208 docs/source/usage/other.rst: fix typo in note 2016-03-06 19:54:15 +01:00
Nikolai Aleksandrovich Pavlov 8e5bc2538b Merge pull request #1532 from mynameisfiber/feature/1288-multiple-battery
Fixes bug in multi-battery support
2016-02-21 21:32:05 +03:00
Foo 3fb4f55a06 Merge branch 'pr-1508' into develop
Closes #1508
2016-02-21 21:39:50 +03:00
Kamus Hadenes 289e59e789 Add support for OS X en0 on internal_ip 2016-02-21 21:36:53 +03:00
Micha Gorelick 7e319f2ede filename bugfix
Filename reference in `/sys/` method for the battery segment referenced
a non-existant file.
2016-02-21 13:30:07 -05:00
Nikolai Aleksandrovich Pavlov 08b19a99d2 Merge pull request #1531 from mynameisfiber/feature/1288-multiple-battery
Multiple Battery Support

Fixes #1288 
Closes #1522
2016-02-21 02:19:29 +03:00
Micha Gorelick ff2b37a633 flake8 2016-02-20 16:30:57 -05:00
Micha Gorelick 71f56ff102 Multiple Battery Support 2016-02-20 16:25:34 -05:00
Nikolai Aleksandrovich Pavlov f20565570c Merge pull request #1527 from powerline/ZyX-I-patch-1
Update command used to install macvim with brew
2016-02-10 23:10:34 +03:00
Nikolai Aleksandrovich Pavlov 73dcc78136 Update command used to install macvim with brew
Flag `--override-system-vim` is deprecated.

Fixes #1526.
2016-02-10 23:10:02 +03:00
Nikolai Aleksandrovich Pavlov b7ddafa410 Merge pull request #1525 from S0lll0s/hotfix
Fix bug in xrandr output detection
2016-02-09 01:54:05 +03:00
S0lll0s 953a55f789 Fix output detection when setting primary outputs
in powerline.bindings.wm.get_connected_xrandr_outputs
2016-02-08 22:14:03 +01:00
Nikolai Aleksandrovich Pavlov 6d7f242e1b Merge pull request #1524 from mrshu/mrshu/fix-dbus-battery-status
fix: Make dbus battery status consistent
2016-02-08 00:20:56 +03:00
Nikolai Aleksandrovich Pavlov 0f13e8a9f7 Merge pull request #1523 from mrshu/mrshu/fix-docs-small-typo
docs: Fix a small typo in develop/segments.rst
2016-02-07 19:15:50 +03:00
mr.Shu 3dd71c61da fix: Make dbus battery status consistent
* In #1499 a change was introduced that made use of the "Discharging"
  status of a battery in order to detect whether the AC power is
  available.

  The DBus part of the function that gets this data, however, stayed
  unchanged. In order to keep it consistent this commit changes it in
  such a way that it preforms the same function as the code introduced
  in #1499 by checking for the Discharging state of the battery as
  described here:
  http://upower.freedesktop.org/docs/Device.html#Device:State

Signed-off-by: mr.Shu <mr@shu.io>
2016-02-07 15:48:00 +01:00
mr.Shu f3fe6d99f6 docs: Fix a small typo in develop/segments.rst
* The display_condition key in the docs was rendered as
  'display_condition`' due to a small typo. This commit fixes that.

Signed-off-by: mr.Shu <mr@shu.io>
2016-02-07 15:32:12 +01:00
Foo c0b56d3888 Merge branch 'pr-1517' into develop
Closes #1517
2016-02-04 04:44:25 +03:00
S0lll0s 623c1f85bc Add tests for i3wm listers and workspace segment 2016-02-04 04:43:26 +03:00
S0lll0s 10243ad89f Make workspace(strip) strip `{number}:` prefix if true 2016-02-04 04:41:58 +03:00
S0lll0s db99ad1d90 Refactor i3wm segment and lemonbar binding
Move get_i3_connection and get_xrandr_outputs into bindings.wm
2016-02-04 04:37:30 +03:00
S0lll0s 24fa03567e Add listers for i3wm workspaces and outputs 2016-01-31 16:10:10 +01:00
S0lll0s bc7d571d00 Add i3wm segment for singular workspace 2016-01-31 16:10:07 +01:00
S0lll0s 53aca6b190 Add i3wm segment_info keys to developer reference 2016-01-15 15:44:07 +01:00
Nikolai Aleksandrovich Pavlov 63af1456b4 Merge pull request #1431 from S0lll0s/develop
Rename bar (bar-aint-recursive) to lemonbar
2016-01-09 01:19:46 +03:00
Foo 646b0ea5ea Improve powerline-lemonbar documentation
Changes:

- Usage determination transferred back to argparse (it wraps).
- Added complete description of lemonbar script to wm-widgets.rst.
- --interval and --height got their arguments clarified by metavar: it was not
  clear what units they use.
- --bar-command got its metavar because it is better then default BAR_COMMAND.
- --bar-command short variant is now -C.
2016-01-08 19:30:49 +01:00
Foo 8168ad1428 Improve powerline_automan: fix some bugs and add minimal argument
Bugs:
- Default action is store_true while it should be just store.
- nargs default depends on metavar while it should only depend on action.
- REMAINDER nargs is not supported.

Minimal argument means minimal mode which removes all section and creates 
a container with “synopsis” and “description” sections’ contents.
2016-01-08 19:30:49 +01:00
Foo 619ae9050e Lint test configuration 2016-01-08 19:30:49 +01:00
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