tune trailing whitespace for all icons when using typical non-monospace fonts

pull/198/head
romkatv 5 years ago
parent b3abfc089a
commit 7d6400774f

@ -23,7 +23,7 @@ function _p9k_init_icons() {
RIGHT_SUBSEGMENT_SEPARATOR '\uE0B3' # 
CARRIAGE_RETURN_ICON '\u21B5 ' # ↵
ROOT_ICON '\uE801' # 
SUDO_ICON '\uF09C' # 
SUDO_ICON '\uE0A2' # 
RUBY_ICON '\uE847 ' # 
AWS_ICON '\uE895 ' # 
AWS_EB_ICON '\U1F331' # 🌱
@ -96,16 +96,16 @@ function _p9k_init_icons() {
VCS_HG_ICON '\uE1C3 ' # 
VCS_SVN_ICON 'svn'
RUST_ICON 'R'
PYTHON_ICON '\ue63c' # 
SWIFT_ICON ''
GO_ICON ''
PUBLIC_IP_ICON ''
PYTHON_ICON '\uE63C ' #  (doesn't always work)
SWIFT_ICON 'Swift'
GO_ICON 'Go'
PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UE138' # 
EXECUTION_TIME_ICON '\UE89C ' # 
SSH_ICON 'ssh'
VPN_ICON 'vpn'
KUBERNETES_ICON '\U2388 ' # ⎈
DROPBOX_ICON '\UF16B' # 
DROPBOX_ICON '\UF16B ' #  (doesn't always work)
DATE_ICON '\uE184 ' # 
TIME_ICON '\uE12E ' # 
JAVA_ICON '\U2615' # ☕︎
@ -145,7 +145,7 @@ function _p9k_init_icons() {
APPLE_ICON '\uF179 ' # 
WINDOWS_ICON '\uF17A ' # 
FREEBSD_ICON '\U1F608' # 😈
ANDROID_ICON '\uE17B ' # 
ANDROID_ICON '\uE17B ' #  (doesn't always work)
LINUX_ICON '\uF17C ' # 
LINUX_ARCH_ICON '\uF17C ' # 
LINUX_DEBIAN_ICON '\uF17C ' # 
@ -195,12 +195,12 @@ function _p9k_init_icons() {
VCS_HG_ICON '\uF0C3 ' # 
VCS_SVN_ICON 'svn'
RUST_ICON '\uE6A8' # 
PYTHON_ICON '\ue63c' # 
SWIFT_ICON ''
GO_ICON ''
PUBLIC_IP_ICON ''
PYTHON_ICON '\uE63C ' # 
SWIFT_ICON 'Swift'
GO_ICON 'Go'
PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UF023' # 
EXECUTION_TIME_ICON '\uF253'
EXECUTION_TIME_ICON '\uF253 ' # 
SSH_ICON 'ssh'
VPN_ICON '\uF023'
KUBERNETES_ICON '\U2388' # ⎈
@ -232,17 +232,17 @@ function _p9k_init_icons() {
RIGHT_SUBSEGMENT_SEPARATOR '\uE0B3' # 
CARRIAGE_RETURN_ICON '\u21B5' # ↵
ROOT_ICON '\u'$CODEPOINT_OF_OCTICONS_ZAP # 
SUDO_ICON '\u'$CODEPOINT_OF_AWESOME_UNLOCK # 
SUDO_ICON '\u'$CODEPOINT_OF_AWESOME_UNLOCK' ' # 
RUBY_ICON '\u'$CODEPOINT_OF_OCTICONS_RUBY' ' # 
AWS_ICON '\u'$CODEPOINT_OF_AWESOME_SERVER # 
AWS_ICON '\u'$CODEPOINT_OF_AWESOME_SERVER' ' # 
AWS_EB_ICON '\U1F331' # 🌱
BACKGROUND_JOBS_ICON '\u'$CODEPOINT_OF_AWESOME_COG' ' # 
TEST_ICON '\u'$CODEPOINT_OF_AWESOME_BUG # 
TODO_ICON '\u'$CODEPOINT_OF_AWESOME_CHECK_SQUARE_O # 
BATTERY_ICON '\U'$CODEPOINT_OF_AWESOME_BATTERY_FULL # 
TEST_ICON '\u'$CODEPOINT_OF_AWESOME_BUG' ' # 
TODO_ICON '\u'$CODEPOINT_OF_AWESOME_CHECK_SQUARE_O' ' # 
BATTERY_ICON '\U'$CODEPOINT_OF_AWESOME_BATTERY_FULL' ' # 
DISK_ICON '\u'$CODEPOINT_OF_AWESOME_HDD_O' ' # 
OK_ICON '\u'$CODEPOINT_OF_AWESOME_CHECK # 
FAIL_ICON '\u'$CODEPOINT_OF_AWESOME_TIMES #
OK_ICON '\u'$CODEPOINT_OF_AWESOME_CHECK' ' # 
FAIL_ICON '\u'$CODEPOINT_OF_AWESOME_TIMES #
SYMFONY_ICON 'SF'
NODE_ICON '\u2B22' # ⬢
MULTILINE_FIRST_PROMPT_PREFIX '\u256D\U2500' # ╭─
@ -271,18 +271,18 @@ function _p9k_init_icons() {
LINUX_SABAYON_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX' ' # 
LINUX_SLACKWARE_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX' ' # 
SUNOS_ICON '\u'$CODEPOINT_OF_AWESOME_SUN_O' ' # 
HOME_ICON '\u'$CODEPOINT_OF_AWESOME_HOME # 
HOME_SUB_ICON '\u'$CODEPOINT_OF_AWESOME_FOLDER_OPEN # 
FOLDER_ICON '\u'$CODEPOINT_OF_AWESOME_FOLDER_O # 
HOME_ICON '\u'$CODEPOINT_OF_AWESOME_HOME' ' # 
HOME_SUB_ICON '\u'$CODEPOINT_OF_AWESOME_FOLDER_OPEN' ' # 
FOLDER_ICON '\u'$CODEPOINT_OF_AWESOME_FOLDER_O' ' # 
ETC_ICON '\u'$CODEPOINT_OF_AWESOME_COG' ' # 
NETWORK_ICON '\u'$CODEPOINT_OF_AWESOME_RSS # 
NETWORK_ICON '\u'$CODEPOINT_OF_AWESOME_RSS' ' # 
LOAD_ICON '\u'$CODEPOINT_OF_AWESOME_BAR_CHART' ' # 
SWAP_ICON '\u'$CODEPOINT_OF_AWESOME_DASHBOARD # 
RAM_ICON '\u'$CODEPOINT_OF_AWESOME_DASHBOARD # 
SERVER_ICON '\u'$CODEPOINT_OF_AWESOME_SERVER # 
VCS_UNTRACKED_ICON '\u'$CODEPOINT_OF_AWESOME_QUESTION_CIRCLE # 
VCS_UNSTAGED_ICON '\u'$CODEPOINT_OF_AWESOME_EXCLAMATION_CIRCLE # 
VCS_STAGED_ICON '\u'$CODEPOINT_OF_AWESOME_PLUS_CIRCLE # 
SWAP_ICON '\u'$CODEPOINT_OF_AWESOME_DASHBOARD' ' # 
RAM_ICON '\u'$CODEPOINT_OF_AWESOME_DASHBOARD' ' # 
SERVER_ICON '\u'$CODEPOINT_OF_AWESOME_SERVER' ' # 
VCS_UNTRACKED_ICON '\u'$CODEPOINT_OF_AWESOME_QUESTION_CIRCLE' ' # 
VCS_UNSTAGED_ICON '\u'$CODEPOINT_OF_AWESOME_EXCLAMATION_CIRCLE' ' # 
VCS_STAGED_ICON '\u'$CODEPOINT_OF_AWESOME_PLUS_CIRCLE' ' # 
VCS_STASH_ICON '\u'$CODEPOINT_OF_AWESOME_INBOX' ' # 
VCS_INCOMING_CHANGES_ICON '\u'$CODEPOINT_OF_AWESOME_ARROW_CIRCLE_DOWN' ' # 
VCS_OUTGOING_CHANGES_ICON '\u'$CODEPOINT_OF_AWESOME_ARROW_CIRCLE_UP' ' # 
@ -290,7 +290,7 @@ function _p9k_init_icons() {
VCS_BOOKMARK_ICON '\u'$CODEPOINT_OF_OCTICONS_BOOKMARK # 
VCS_COMMIT_ICON '\u'$CODEPOINT_OF_OCTICONS_GIT_COMMIT' ' # 
VCS_BRANCH_ICON '\u'$CODEPOINT_OF_OCTICONS_GIT_BRANCH' ' # 
VCS_REMOTE_BRANCH_ICON '\u'$CODEPOINT_OF_OCTICONS_REPO_PUSH # 
VCS_REMOTE_BRANCH_ICON '\u'$CODEPOINT_OF_OCTICONS_REPO_PUSH' ' # 
VCS_LOADING_ICON ''
VCS_GIT_ICON '\u'$CODEPOINT_OF_AWESOME_GIT' ' # 
VCS_GIT_GITHUB_ICON '\u'$CODEPOINT_OF_AWESOME_GITHUB_ALT' ' # 
@ -299,15 +299,15 @@ function _p9k_init_icons() {
VCS_HG_ICON '\u'$CODEPOINT_OF_AWESOME_FLASK' ' # 
VCS_SVN_ICON 'svn'
RUST_ICON '\uE6A8' # 
PYTHON_ICON '🐍'
PYTHON_ICON '\U1F40D' # 🐍
SWIFT_ICON '\uE655 ' # 
PUBLIC_IP_ICON '\u'$CODEPOINT_OF_AWESOME_GLOBE # 
PUBLIC_IP_ICON '\u'$CODEPOINT_OF_AWESOME_GLOBE' ' # 
LOCK_ICON '\u'$CODEPOINT_OF_AWESOME_LOCK # 
EXECUTION_TIME_ICON '\u'$CODEPOINT_OF_AWESOME_HOURGLASS_END # 
EXECUTION_TIME_ICON '\u'$CODEPOINT_OF_AWESOME_HOURGLASS_END' ' # 
SSH_ICON 'ssh'
VPN_ICON '\u'$CODEPOINT_OF_AWESOME_LOCK
KUBERNETES_ICON '\U2388' # ⎈
DROPBOX_ICON '\u'$CODEPOINT_OF_AWESOME_DROPBOX # 
DROPBOX_ICON '\u'$CODEPOINT_OF_AWESOME_DROPBOX' ' # 
DATE_ICON '\uF073 ' # 
TIME_ICON '\uF017 ' # 
JAVA_ICON '\U2615' # ☕︎
@ -500,7 +500,7 @@ function _p9k_init_icons() {
PYTHON_ICON 'Py'
SWIFT_ICON 'Swift'
GO_ICON 'Go'
PUBLIC_IP_ICON ''
PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UE0A2'
EXECUTION_TIME_ICON ''
SSH_ICON 'ssh'

Loading…
Cancel
Save