Commit Graph

135 Commits

Author SHA1 Message Date
ZyX 2f7c44c29c Document how to create gradient colors 2014-07-10 18:35:24 +04:00
ZyX c570a98065 Add watcher option
Ref #818
2014-06-28 21:10:15 +04:00
ZyX 43ca0e828d Fix documentation 2014-06-28 17:36:41 +04:00
ZyX-I 828c953f84 Merge pull request #880 from ZyX-I/powerline-config-script
[RFC] Powerline config script
2014-06-25 21:58:04 +04:00
ZyX-I 35522b1511 Merge pull request #893 from ZyX-I/multiline-prompt
Multiline prompt support

Fixes #462
2014-06-24 23:50:03 +04:00
ZyX 9a4e1edfbc Update documentation 2014-06-24 21:38:07 +04:00
ZyX 90afccb219 Add note about lags to troubleshooting-common.rst 2014-06-23 21:09:15 +04:00
ZyX 490398675f Update documentation
Closes #872
2014-05-24 13:59:20 +04:00
Austin Beam f39b1dcf20 tmux: Enhance version checking for tmux
tmux configuration has become very fragmented between versions due to a
combination of new features and deprecation of older options. As such,
version checking for tmux became a requirement to allow maximum
functionality along with version-appropriate configuration. However,
wrapping nearly every line with `if-shell` is tedious and becomes
virtually unreadable.

This enhancement to tmux version-checking creates a logical
configuration file structure that reflects the development of tmux. As
additional configurations are added and tmux development continues, this
structure can be leveraged appropriately and extended as needed.

Rather than having multiple `if-shell` checks for the same version, each
version or version group with specific requirements can be checked only
once. This leads to simpler and fewer `if-shell` version checks. It also
reduces the ambiguity introduced by complex `if-shell` commands that
include an 'else' conditional.

A caveat to adding this enhancement is the additional requirement of the
end user to add a tmux variable definition (`POWERLINE_BINDINGS_DIR`) to
his/her `~/.tmux.conf` file. For existing tmux users leveraging
powerline, this may prove to be a slight one-time nuisance immediately
after upgrading. Without this definition, there is no way to determine
the location of the additional tmux powerline config files that have
been added with this enhancement. The docs have also been updated in
this commit to reflect this initial configuration requirement change.
Also added are some additional troubleshooting notes that point to
definition of this variable as a potential issue. Powerline will
continue to work without the definition of `POWERLINE_BINDINGS_DIR`, but
some of the functionality will be reduced and the appearance incomplete
(i.e. colors).

Ultimately, the caveat above is a small price to pay in exchange for a
framework that can be leveraged for proper version-appropriate
configuration of tmux going forward.
2014-05-06 00:12:10 -05:00
ZyX 032a363b81 Allow disabling prompt and/or tmux support in shells
Fixes #849
2014-05-04 13:30:43 +04:00
ZyX be2fe98a21 Add support for omitting VALUE
This will remove error reported in #853, but not its cause
2014-05-04 13:01:29 +04:00
ZyX-I cf4c1e05ad Merge pull request #365 from kierun/develop
Added terminus font and urxvt documentation.
2014-02-16 03:30:35 +03:00
ZyX 7ab74ab73b Remove duplicate troubleshooting question 2014-02-16 00:41:44 +04:00
ZyX 7e65332ddf Remove outdated information from troubleshooting 2014-02-16 00:37:17 +04:00
ZyX 13df3d376e More improved troubleshooting 2014-02-16 00:36:57 +04:00
ZyX 8041ea0956 Some style fixes 2014-02-15 21:01:14 +04:00
S0lll0s def68a2dc2 Update documentation to include i3 instructions 2014-02-09 12:45:01 +01:00
ZyX ba41b1f70c Add troubleshooting questions regarding updating 2014-01-25 13:08:13 +04:00
ZyX e489e549a6 Move setup to powerline-setup.fish
This file is supposed to be placed in /usr/share/fish/functions.
2014-01-23 19:32:19 +04:00
ZyX 972bd45c21 Make fish bindings feature complete, add documentation
Added features:
- Updating TMUX_PWD_* when PWD variable changes
- Updating TMUX_COLUMNS_* when WINCH signal is received
2014-01-19 17:45:52 +04:00
ZyX 49d8376845 Document problem found when exploring #749 2014-01-19 16:27:12 +04:00
Ryan Collins 40fe3cf938 A lowercase f for the unit caused the weather segment to silently fail. Putting in a capital F works correctly 2014-01-17 00:15:37 -05:00
ZyX-I d5720bfff8 Merge pull request #682 from toresbe/patch-1
Make clearer the naming conflict in PyPI (closes #681)
2014-01-10 09:35:32 -08:00
ZyX-I a145b11d85 Merge pull request #697 from ZyX-I/zsh-bindings-small-update-1
A few fixes to zsh bindings
2014-01-10 09:20:34 -08:00
ZyX ccf070cbcd Remove Gentoo ebuild and reference raiagent overlay 2013-12-01 14:23:29 +04:00
ZyX 3746548418 Do not mention zpython branch
It is not usable due to some bugs, not maintained and replaced by 
powerline-client
2013-11-04 23:16:45 +04:00
Tore Sinding Bekkedal 561b715824 Make clearer the naming conflict in PyPI (closes #681) 2013-10-16 01:42:07 +02:00
Aaron Schrab 0ffe6da4e6 Option to suppress error in python-less vim
If the g:powerline_no_python_error variable is set don't issue an error
message even if vim doesn't have the required Python support.  This
allows a common set of configuration files to be used across systems
where some of the copies of vim don't meet the requirements.
2013-08-20 09:33:32 -04:00
mwcz 17435ecf90 Fix documented path to fontpatcher.py 2013-06-28 13:55:28 +02:00
ZyX baa44475e5 Add note about POWERLINE_COMMAND to documentation 2013-05-24 07:21:40 +04:00
ZyX 658232a1aa Update documentation 2013-05-19 13:17:58 +04:00
ZyX 2a6a4a07e6 Replace {path} with {repository_root}
Closes #429
2013-04-16 07:58:24 +04:00
ZyX 7e57010c19 Move some code from powerline_autodoc to powerline.lib.inspect
To make it available later in lint checker.
2013-04-13 00:09:00 +04:00
ZyX a8eb0a2471 Special-case None priority in place of -1
This extends priorities in both directions, uses slightly faster `is None`
check, makes it consistent with `interval` special-casing also to `None` and
makes lint able to use one simple `.type()` check in place of `.either()` one.
2013-04-12 23:45:48 +04:00
ZyX 587789ebda Fix documentation for ThreadedSegment classes with @staticmethod’s 2013-04-12 23:45:47 +04:00
ZyX 9250d794d7 Remove `pl` argument and first argument to `render*` from docs 2013-04-12 23:45:47 +04:00
ZyX d1d05c9dcf Add support for reloading configuration in the main thread 2013-04-06 18:09:45 +04:00
ZyX af2f8f588b Replace MultiClientWatcher and Powerline threads with ConfigLoader
Also
- move file opening and parsing to ConfigLoader
- add interval configuration
2013-04-06 17:18:25 +04:00
ZyX 0a8e7c0e1e Add a note about vim-addon-manager 2013-04-06 17:16:55 +04:00
ZyX 66beaaaa9d Replace draw_soft_divider setting with draw_inner_divider
If weather or system_load segments were moved to the left draw_soft_divider
variant resulted in incorrect renderring. Thus it was replaced by
draw_inner_divider.
2013-04-02 17:22:55 +04:00
ZyX f15cdd9413 Replace draw_divider setting with draw_(soft|hard)_divider
Previous variant was bad because
1. draw_divider only applied to soft dividers. Hard dividers were always drawn
2. But there was a hack with width=auto segments: for this segments draw_divider 
   setting applied always.

Now there are no additional dependencies: draw_*_divider applies no matter what 
other properties of the segment are.
2013-04-02 17:21:22 +04:00
Kim Silkebækken bc7c5b784d Merge branch 'update-docs' into develop
TODO:

* Add info about code layout, debugging tips, etc.
* Add "developing powerline" section to docs (not contributing document)

Ref #287
2013-03-25 13:55:31 +01:00
kierun 491b48fd9c Added terminus font and urxvt documentation.
How to use terminus and urxvt and still get the powerline glyphs .
2013-03-25 08:03:44 +00:00
ZyX 1351207462 Some fixes for flake8 2013-03-24 19:59:56 +04:00
ZyX ed435f8063 Add required pl argument to segments
Fixes #340
Ref #330
2013-03-24 19:44:01 +04:00
ZyX a021916428 Make update_first configurable 2013-03-24 19:35:25 +04:00
ZyX 674a211cda Remove escape sequences from default strings in documentation
Note: to properly view some values in browser you need the browser to use 
patched font or fontconfig. Though there is not much difference between some 
cryptic escape sequence and singe wrongly displayed character.
2013-03-17 22:26:57 +04:00
ZyX 34fba2286a Fix documentation for wrapped functions 2013-03-17 22:07:27 +04:00
ZyX 19b45e609a Fix documentation for threaded segments 2013-03-17 22:06:52 +04:00
Kim Silkebækken d966921f04 Remove contibuting info from docs 2013-03-15 15:23:45 +01:00