Commit Graph

801 Commits

Author SHA1 Message Date
Kim Silkebækken b57174a16c Remove Ubuntu Mono from fontconfig file
Refs #60.
2013-01-20 19:15:22 +01:00
Kim Silkebækken f108ab04c4 Update pip install URI in the docs 2013-01-20 19:15:12 +01:00
Kim Silkebækken dfe5d5d829 Restructure extension directories
Refs #74.
2013-01-19 18:09:20 +01:00
Kim Silkebækken 65e358dee2 Move terminal and tmux segments into common module
This should ideally be renamed to something else since it's not strictly
an extension. A better module naming scheme could be something like:

	powerline.segments.ext.{extension}
	powerline.segments.common

This would move all segments out of their respective extension
directory, and might be a bit confusing. The ext directories may also
need some changes to make this work properly.
2013-01-19 17:01:06 +01:00
ZyX 78e54e0c84 Addd “default_module” theme key support
Refs #3.
2013-01-19 16:55:39 +01:00
Kim Silkebækken 1557ff2c03 Cleanup weather condition codes 2013-01-19 16:44:56 +01:00
ZyX 41da160339 Add Gentoo live ebuild
Still needed to push this ebuild to some overlay or main tree; otherwise
it requires more effort to use.

Users need to use

    eselect fontconfig enable 10-powerline-symbols.conf

to actually use the fontconfig file (should be added to the docs).
Ebuild itself installs the file, but doesn't enable it.
2013-01-19 16:43:55 +01:00
ZyX 7d668de169 Raise TypeError only if it is segment type that has problems
It raised TypeError also when module did not have required function
2013-01-19 16:43:55 +01:00
ZyX 06d4b4555f Make VCS guess() function respect .git files
Closes #67.
2013-01-19 16:43:06 +01:00
Kim Silkebækken 0acfd8437a Change default IP address lookup URI
icanhazip.com has two other domains for fine-tuned IP lookup,
ipv4.icanhazip.com will always return the IPv4 address, and
ipv6.icanhazip.com will always return the IPv6 address (the latter
appears to only work if you actually have an IPv6 address).

Details at http://rackerhacker.com/icanhazip-com-faq/.

Closes #68.
2013-01-19 16:38:41 +01:00
Kim Silkebækken c5b37b3913 Add troubleshooting info for iTerm2
Closes #65.
2013-01-18 16:53:32 +01:00
Kim Silkebækken 1637a1312f Improve font installation in Arch Linux package 2013-01-18 16:52:03 +01:00
Kim Silkebækken 2ace41857f Update font installation instructions
Refs #60.
2013-01-18 16:44:31 +01:00
Kim Silkebækken 162b94bf59 Add fontconfig fallback configuration 2013-01-18 16:32:13 +01:00
Kim Silkebækken c1bf60dbce Move font patcher stuff out of package directory 2013-01-18 16:31:32 +01:00
Kim Silkebækken 18813c5f06 Install symbol font in Arch Linux package
Refs #60.
2013-01-18 11:19:38 +01:00
Kim Silkebækken 14c4ba45b3 Move Arch Linux package into separate directory 2013-01-18 11:03:29 +01:00
Kim Silkebækken 56f06f8871 Update font installation instructions
Refs #60.
2013-01-18 10:58:23 +01:00
Kim Silkebækken 2cfd01ec73 Add PowerlineSymbols font file
On Linux it appears to work perfectly to just have this font file
present on the system as it automatically chooses fallback fonts if
a glyph isn't present in the current font.
2013-01-17 21:32:15 +01:00
Kim Silkebækken a67ab948e5 Remove example tmux.conf 2013-01-17 20:16:35 +01:00
Kim Silkebækken 2fba8f0502 Don't explicitly reset tmux attributes 2013-01-17 20:16:35 +01:00
Kim Silkebækken 0ea7615167 Add network load tmux segment 2013-01-17 20:16:35 +01:00
Kim Silkebækken 7eca187d02 Add imports to lib init file 2013-01-17 20:16:35 +01:00
Kim Silkebækken 245be99307 Add humanize_bytes function to library 2013-01-17 20:16:31 +01:00
Kim Silkebækken 07f1b7d697 Rename weather segment 2013-01-17 20:01:39 +01:00
Kim Silkebækken 9ec3a8ef5e Reset highlighting at end of rendered result
Closes #57.
2013-01-17 17:25:00 +01:00
Kim Silkebækken 1a99fbd36a Update terminal prompt usage instructions
Closes #56.
2013-01-17 17:07:58 +01:00
Kim Silkebækken 8a5b8719cd Escape command in prompt usage instructions 2013-01-17 10:08:51 +01:00
Kim Silkebækken 20b17cebe0 Add troubleshooting info about OSX ImportError
Closes #39.
2013-01-17 10:03:29 +01:00
Kim Silkebækken 6207f90734 Add troubleshooting info about NameError in MacVim
Refs #48.
2013-01-17 10:03:00 +01:00
Kim Silkebækken f18bf7087d Add troubleshooting info for iTerm2 question mark issue
Closes #27.
Refs #48.
2013-01-17 10:01:48 +01:00
Kim Silkebækken 7d613baec2 Fix font patching instructions for OS X
Closes #46.
2013-01-17 10:01:11 +01:00
Kim Silkebækken 6bf501df51 Add usage instructions for terminal/tmux 2013-01-17 09:42:39 +01:00
Kim Silkebækken a091d04a8c Update terminal rendering for bash 2013-01-17 09:42:15 +01:00
Kim Silkebækken fd94c7c0ba Install tmux/prompt files as scripts 2013-01-17 09:25:56 +01:00
Kim Silkebækken 4fc6bd756a Update README 2013-01-17 08:29:04 +01:00
ZyX 128c012553 Add foreign local themes support
Refs #3.
2013-01-16 16:17:23 +01:00
Kim Silkebækken ecf9e7eea7 Update terminal renderer output depending on shell
Bash and zsh have different ways of escaping colors in the prompt, this
update checks the $SHELL environment variable and uses the correct
escape sequence for the current shell.

A known issue with this method is that $SHELL doesn't get updated when
switching shells (i.e. if you're running /bin/bash when you're in a zsh
shell) so in rare cases rendering errors may occur. A workaround which
is much slower is to parse the output of `ps -p $$` which always returns
the current shell.
2013-01-16 09:39:20 +01:00
Kim Silkebækken b91009404f Use midline ellipsis for dir shortening 2013-01-16 09:04:26 +01:00
Kim Silkebækken bf23ae286e Move tmux example into extension directory 2013-01-16 09:00:19 +01:00
Kim Silkebækken 884bbd3f29 Make mode_translations optional in colorschemes 2013-01-16 08:47:49 +01:00
Kim Silkebækken b7ff63ccc0 Separate colorschemes by extension
Refs #45.
2013-01-16 08:44:17 +01:00
Kim Silkebækken 07771d7773 Add Liam Curry to contributors list
Refs #44.
2013-01-16 08:31:41 +01:00
Kim Silkebækken 28aaed0c77 Merge branch 'feature/tmux' into develop
Closes #41.
Closes #43.
Closes #44.
2013-01-16 08:23:49 +01:00
Kim Silkebækken 52c2ba5c9f Enable tmux segments 2013-01-16 08:21:52 +01:00
Kim Silkebækken 5f0ec038e4 Create neutral tmux colorscheme 2013-01-16 08:21:36 +01:00
Liam Curry f6050fc08f Add right/left options to tmux script 2013-01-16 08:05:51 +01:00
Kim Silkebækken f827420ea1 Rename default colorscheme 2013-01-16 08:01:15 +01:00
Kim Silkebækken 27c0faa220 Merge branch 'develop' into feature/tmux
Conflicts:
	powerline/ext/tmux/segments.py
2013-01-16 07:59:57 +01:00
Kim Silkebækken 6d3dea1f0b Cleanup Python files to comply better with PEP 8
Removed excessive newlines and comments, and fixed whitespace issues.
2013-01-15 08:57:38 +01:00