docs(themes/powerline-icon): add README.md

This commit is contained in:
Koichi Murase 2024-09-10 10:51:54 +09:00
parent 9f05765935
commit 154157c3e9

View File

@ -0,0 +1,34 @@
# Powerline Icon Theme
A theme derived from Powerline with emoji icons.
This is based on the Powerline theme. Please see also [the documentation of the
powerline theme](../powerline/README.md).
![Screenshot](./powerline-icon-dark.png?raw=true)
## Segments
The `powerline-icon` theme modifies the segments `user_info` and `cwd` of the
original Powerline theme so that they include icons. This theme also inserts a
date string in `user_info`.
## Configuration
Icons can be configured by setting values to the following shell variables.
```
OMB_THEME_POWERLINE_ICON_USER
OMB_THEME_POWERLINE_ICON_HOME
OMB_THEME_POWERLINE_ICON_EXIT_FAILURE
OMB_THEME_POWERLINE_ICON_EXIT_SUCCESS
```
The time format shown in the `user_info` segment can be configured by the
following shell variable:
```
OMB_THEME_POWERLINE_ICON_CLOCK
```
The default value is `%X %D`.