Kim Silkebækken
7fb67e7350
Create now playing segment
...
The segment currently provides info from mpd or Spotify.
2013-01-31 10:35:21 +01:00
Kim Silkebækken
fd5cd92101
Fix rendering of dividers without custom highlight group
2013-01-31 07:51:09 +01:00
Kim Silkebækken
7022b47ed9
Fix updating issue with Qtile widget
2013-01-30 10:53:28 +01:00
Kim Silkebækken
597f67b85a
Add Qtile widget
2013-01-30 10:35:01 +01:00
Kim Silkebækken
fb929b76cc
Fix vim matcher string comparison
...
Refs 2f361711fe
.
2013-01-30 09:54:34 +01:00
Kim Silkebækken
cc9b0daefc
Pad powerline segments with no-break spaces
...
Some applications using Pango and/or Cairo draw square unknown character
glyphs next to divider glyphs instead of regular spaces. Non-breaking
spaces resolves this issue, and they are probably more correct to use
(no application should break lines at the padding spaces since they
"glue" the segment and dividers together as one unit).
This commit appears to work fine in all supported applications on Linux.
This commit resolves the gvim font rendering problems mentioned in
issue #113 .
2013-01-30 09:54:34 +01:00
Kim Silkebækken
fb7a0d46e6
Rename AwesomeRenderer to PangoMarkupRenderer
...
Awesome WM uses the Pango Text Attribute Markup Language
(http://developer.gnome.org/pango/stable/PangoMarkupFormat.html ), and
since other applications and window managers may use the same markup
language it's better to have a common renderer for this markup language.
2013-01-30 09:54:31 +01:00
Kim Silkebækken
1f9741b8a2
Move awesome theme to generic WM theme
2013-01-29 13:47:13 +01:00
Kim Silkebækken
b918057c40
Use timedelta.total_seconds() to fetch seconds in uptime segment
...
Closes #143 .
2013-01-29 11:57:31 +01:00
Kim Silkebækken
59c316cb34
Remove percent placeholder from vim help theme
2013-01-29 08:58:44 +01:00
Kim Silkebækken
2f361711fe
Add cmdwin statusline for vim
2013-01-29 08:58:22 +01:00
Kim Silkebækken
29793259e1
Improve argument handling in powerline script
...
Modules can now be any string, and an informative error message will be
written to sys.stdout if the module doesn't exist. The
`last_pipe_status` argument will also automatically be split into
a list.
2013-01-28 17:29:02 +01:00
Kim Silkebækken
5db6f47562
Catch ImportErrors when importing renderer module
2013-01-28 17:28:00 +01:00
Kim Silkebækken
52a52c8eb6
Hide e-mail alert segment if there are no unseen e-mails
2013-01-28 14:09:51 +01:00
Kim Silkebækken
f8d6f53a24
Don't check for mail if username or password is missing
2013-01-28 14:06:19 +01:00
Kim Silkebækken
3f2ce0a570
Catch the correct imaplib exception
2013-01-28 14:02:03 +01:00
Kim Silkebækken
a3600158de
Add a quick setup guide to the docs
2013-01-28 13:55:45 +01:00
Kim Silkebækken
8c003c2683
Add e-mail alert segment
2013-01-28 13:55:36 +01:00
Kim Silkebækken
bda7384aa7
Add Awesome WM widget
2013-01-28 12:30:11 +01:00
Kim Silkebækken
1e4c3612ee
Pass segment contents to renderer hl() methods
...
This allows the hl() methods to wrap highlighting code *around* the
segment contents, this is required for e.g. Pango markup in Awesome
statuslines (segments must be wrapped in <span ...>...</span> tags).
2013-01-28 11:51:26 +01:00
Kim Silkebækken
7a1d7ecaf4
Add width argument to shell script
2013-01-28 07:40:42 +01:00
Kim Silkebækken
091400c84f
Join tmux/prompt shell scripts into one common script
2013-01-28 07:16:55 +01:00
Kim Silkebækken
57876a87e9
Make highlight_group optional if set in segment function
2013-01-28 06:55:22 +01:00
ZyX
17639a9e25
Add last_status and last_pipe_status segments
2013-01-28 06:52:10 +01:00
ZyX
c566064053
Add setopt promptpercent and promptsubst
...
These options are required for Powerline to work in zsh, but the latter
is off by default.
2013-01-28 06:40:27 +01:00
ZyX
45882f95e8
Restore export as it makes sense in bash
...
Bash has weird initialization: bashrc is sourced in non-login
interactive shell, but not in login interactive shell; profile is
sourced in login interactive shell, but not in non-login interactive,
thus exporting in profile does make sense. In zsh case zshrc is always
sourced when shell is interactive and exporting thus makes no sense.
2013-01-28 06:40:08 +01:00
ZyX
8dd5aeb09d
Remove "$()" method in pre-prompt hook
...
Using "$()" method on pre-prompt hook is just asking for security
trouble.
2013-01-28 06:39:10 +01:00
ZyX
99158e3ef2
Fix zsh prompt security and other issues
...
* Escape percent in zsh prompt
* Prevent some security issues (directory named `$(echo abc)` appeared as `abc`)
(`"$()"` → `'$()'`)
* Removed exports
2013-01-28 06:38:28 +01:00
ZyX
d20df5a382
Remove placeholder and use escaping instead
2013-01-28 06:38:17 +01:00
Kim Silkebækken
a42f9b6e2f
Add output_raw argument to Renderer.render() method
...
Update all ipython modules to use it to get unhighlighted prompt
Conflicts:
powerline/renderers/ipython.py
2013-01-28 06:36:52 +01:00
ZyX
0b251425da
Add IPython prompt support
2013-01-28 06:35:56 +01:00
Kim Silkebækken
98269a4bb5
Handle more KeyErrors in common weather segment
2013-01-27 17:42:11 +01:00
Kim Silkebækken
d6da2c8d98
Reset memoize cache if unable to unpickle
...
This is usually due to the cache being stored with Python 3 and then
attempted to being loaded in Python 2 which raises a ValueError.
Closes #138 .
2013-01-27 17:40:02 +01:00
Kim Silkebækken
38195f490e
Handle KeyErrors in common weather segment
...
If the query doesn't return valid weather information (e.g. if the
location query is invalid) it will return an empty weather segment.
Closes #128 .
2013-01-25 17:30:20 +01:00
Kim Silkebækken
1564e338b3
Remove percent placeholder from themes
...
The vim renderer now handles searching and replacing of the percent
placeholder internally so percent signs can be used directly in themes
and segments instead of the percent placeholder.
Refs #127 .
2013-01-25 14:52:43 +01:00
Sven Strothoff
0dd3393bb3
Replace old line number character
...
themes/vim/help.json still used the line number character from
vim-powerline.
2013-01-25 13:38:34 +01:00
Kim Silkebækken
147c96a270
Add Solarized Dark shell colorscheme
2013-01-25 11:50:26 +01:00
Kim Silkebækken
186c99f95c
Add Solarized Dark colorscheme
...
Closes #124 .
2013-01-25 11:41:56 +01:00
Kim Silkebækken
c06f8836b3
Update docs and create a common terminal feature support matrix
2013-01-25 10:48:44 +01:00
Kim Silkebækken
16b82cf070
Add configuration option and docs for 24-bit terminal colors
...
Closes #81 .
2013-01-25 10:08:12 +01:00
Kim Silkebækken
9985ca5313
Add hex colors for vim gradient
2013-01-25 09:44:31 +01:00
Kim Silkebækken
cfe96ff010
Fix minor doc issues
2013-01-25 09:40:07 +01:00
Kim Silkebækken
e49f760510
Use hex strings for RGB colors in colorschemes
...
Previously you'd have to convert a hex number to an integer, this change
makes it possible to use a hex string instead which is much more useful.
2013-01-25 09:37:03 +01:00
Kim Silkebækken
6ac9f0d602
Restructure and improve installation docs
...
The installation docs have been split into separate guides for OS X and
Linux, with OS-specific troubleshooting as part of the installation
guide.
Terminal emulator support tables have been added to both guides.
Closes #121 .
2013-01-24 17:35:16 +01:00
Kim Silkebækken
a87309899f
Add parameter for home dir shortening
...
Closes #115 .
2013-01-24 17:21:46 +01:00
Kim Silkebækken
cefa7ef5fe
Add file_size segment for vim
...
Closes #118 .
2013-01-24 12:36:13 +01:00
Kim Silkebækken
5d5841c1fa
Fix vim file_directory segment
...
Closes #117 .
Closes #119 .
2013-01-24 12:17:25 +01:00
Kim Silkebækken
9282bf61f4
Add package conflicts to Arch Linux PKGBUILDs
2013-01-24 08:00:18 +01:00
Daniel Hahler
0d2056ab04
Shorten /home/foo/ to ~foo in vim file directory segment
...
Replace "/home/foo/" with "~foo" (foo's home, not current user's).
This shortens paths like /home/www-data/foo/.
Closes #115 .
2013-01-24 07:25:31 +01:00
Kim Silkebækken
bacb260312
Revert "Remove Ubuntu Mono from fontconfig file"
...
This reverts commit b57174a16c
.
Closes #113 .
2013-01-24 08:21:44 +01:00