1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-20 06:21:58 +00:00

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

This commit is contained in:
romkatv 2019-08-26 12:06:06 +02:00
parent b3abfc089a
commit 7d6400774f

View file

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