-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1490 from ryanoasis/feature/inverted-pl-arrowheads
Add inverse powerline arrow heads
- Loading branch information
Showing
7 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
#!/usr/bin/env bash | ||
# Nerd Fonts Version: 3.1.1 | ||
# Script Version: 1.0.1 | ||
# Script Version: 1.1.0 | ||
# | ||
# A more conceise version of the Powerline test, designed to show | ||
# the dreaded 'faint vertical lines' phenomenon from LCD antialiasing | ||
|
||
function some_output { | ||
printf "\ | ||
%s \n\ | ||
Under \ue0b2%s lap %s\ue0b0 and \ue0b6%s top %s\ue0b4 mop \ue0b2\ue0d6 \ue0d7\ue0b0 \n\ | ||
%sOver \ue0b2%s lap %s\ue0b0 and \ue0b6%s top %s\ue0b4 mop trop lop klop\n\ | ||
\n" \ | ||
"${1}" "${2}" "${1}" "${2}" "${1}" \ | ||
"${1}" "${2}" "${1}" "${2}" "${1}" | ||
} | ||
|
||
COL_A=$(printf '\033[48;5;51m\033[38;5;200m') | ||
COL_B=$(printf '\033[48;5;200m\033[38;5;51m') | ||
COL_C=$(printf '\033[48;5;238m\033[38;5;253m') | ||
COL_D=$(printf '\033[48;5;253m\033[38;5;238m') | ||
|
||
printf "\ | ||
%s \n\ | ||
Under \ue0b2%s lap %s\ue0b0 and \ue0b6%s top %s\ue0b4 mop \n\ | ||
%sOver \ue0b2%s lap %s\ue0b0 and \ue0b6%s top %s\ue0b4 mop trop lop klop\n\ | ||
\n" \ | ||
"${COL_A}" "${COL_B}" "${COL_A}" "${COL_B}" "${COL_A}" \ | ||
"${COL_A}" "${COL_B}" "${COL_A}" "${COL_B}" "${COL_A}" | ||
|
||
printf "\ | ||
%s \n\ | ||
Under \ue0b2%s lap %s\ue0b0 and \ue0b6%s top %s\ue0b4 mop \n\ | ||
%sOver \ue0b2%s lap %s\ue0b0 and \ue0b6%s top %s\ue0b4 mop trop lop klop\n\ | ||
\n" \ | ||
"${COL_C}" "${COL_D}" "${COL_C}" "${COL_D}" "${COL_C}" \ | ||
"${COL_C}" "${COL_D}" "${COL_C}" "${COL_D}" "${COL_C}" | ||
some_output "${COL_A}" "${COL_B}" | ||
some_output "${COL_C}" "${COL_D}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters