-
Notifications
You must be signed in to change notification settings - Fork 2
Refactor/more themes #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
e73dd67
871c3d6
5b08ed9
c20045e
af19636
6072df5
d8944fc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| CMake | ||
| GitHub | ||
| Kubernetes | ||
| Powerline | ||
|
|
@@ -6,6 +7,7 @@ chroot | |
| config | ||
| hostname | ||
| js | ||
| Powerpuff | ||
| runtime | ||
| username | ||
| workspace | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My only issue with these screenshots is that the cursor character looks different between them. Probably because it is blinking? A small nitpick to be sure.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. This comes from the automated screenshot scripts, so that the cursor is always displayed. Should I patch them in Gimp or is it OK as is?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My need for perfection wants it patched out, but you can do whatever. |
nojhan marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| Power2lines | ||
| *********** | ||
|
|
||
| This ``power2line`` theme rearranges the sections of :doc:`powerline_plus`, but on two rows instead of one. | ||
| That is, the data sections are displayed on a first row, and the interactive prompt forms a second row. | ||
| This gives room for long command lines, and let the user find the prompt always at the same location. | ||
|
|
||
|
|
||
| Preview | ||
| ======= | ||
|
|
||
| If there is nothing special about the current context, the appearance of | ||
| Powerline might be as simple as this: | ||
|
|
||
| .. image:: images/power2lines-short.png | ||
|
|
||
| A slightly longer prompt with more data: | ||
|
|
||
| .. image:: images/power2lines-med.png | ||
|
|
||
| When Liquid Prompt is displaying nearly everything, it may look like this: | ||
|
|
||
| .. image:: images/power2lines-long.png | ||
|
|
||
|
|
||
| Setup & Configuration | ||
| ===================== | ||
|
|
||
| This theme as the same core configuration than the :doc:`powerline_plus` theme. | ||
|
|
||
| Theme Configuration | ||
| ------------------- | ||
|
|
||
| Colors | ||
| ______ | ||
|
|
||
| .. attribute:: POWERLINE_LINE_COLOR | ||
| :type: array<int> | ||
| :value: (240 -1 0 0 14 -1) | ||
|
|
||
| Color of the decorative lines. | ||
|
|
nojhan marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| Powerpuff | ||
| ********* | ||
|
|
||
| This ``powerpuff`` theme go even further in rearranging the sections of the :doc:`powerline_plus` theme: | ||
|
|
||
| - Data sections are spread on two rows, | ||
| - each of which has a left-aligned and a right-aligned section. | ||
| - A third row hosts the actual interactive prompt. | ||
| - A horizontal line link the left and right sections of the first line. | ||
| - A new line is drawn before the first row. | ||
|
|
||
| The meta-sections are thus less prone to move around when more data is displayed, | ||
| and the user will find it easier to spot new information. | ||
| The horizontal line and the new line gap also helps in parsing screens with a lot of history. | ||
|
|
||
|
|
||
| Preview | ||
| ======= | ||
|
|
||
| If there is nothing special about the current context, the appearance of | ||
| Powerline might be as simple as this: | ||
|
|
||
| .. image:: images/powerpuff-short.png | ||
|
|
||
| A slightly longer prompt with more data: | ||
|
|
||
| .. image:: images/powerpuff-med.png | ||
|
|
||
| When Liquid Prompt is displaying nearly everything, it may look like this: | ||
|
|
||
| .. image:: images/powerpuff-long.png | ||
|
|
||
|
|
||
| Setup & Configuration | ||
| ===================== | ||
|
|
||
| This theme as the same core configuration than the :doc:`power2lines` theme. | ||
|
|
Uh oh!
There was an error while loading. Please reload this page.