feat(p10k): catppuccinify #19

merged
opened by a.starrysky.fyi targeting main from private/minion/push-rtyvwrpwslxl

I've attempted to use colors that are fairly close to the original colors, and use the 8-bit shell colors where possible so these should change nicely with different terminal themes...

I've not changed colors of anything that looked related to a specific project (e.g. python logo colors) though I did change colors of some projects that didn't seem to particularly identify with the color picked (taskwarrior). I'm sure I've done something wrong. Oh well :shrugging: - maybe we should slim down/split up this p10k file as much as possible... we don't use most of the things here anyway...

I've not tested this on any theme except latte... perhaps at://thecoded.prof could take a look at how this looks on dark themes?

Changed files
+74 -74
packetmix
homes
minion
zsh
+74 -74
packetmix/homes/minion/zsh/p10k.zsh
··· 185 185 typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='·' 186 186 if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then 187 187 # The color of the filler. 188 - typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=252 188 + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=015 189 189 # Add a space between the end of left prompt and the filler. 190 190 typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL=' ' 191 191 # Add a space between the filler and the start of right prompt. ··· 204 204 205 205 ################################[ prompt_char: prompt symbol ]################################ 206 206 # Grey prompt symbol if the last command succeeded. 207 - typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=246 207 + typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=008 208 208 # Red prompt symbol if the last command failed. 209 - typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=196 209 + typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=001 210 210 # Default prompt symbol. 211 211 typeset -g POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIINS_CONTENT_EXPANSION='$' 212 212 # Prompt symbol in command vi mode. ··· 223 223 224 224 ##################################[ dir: current directory ]################################## 225 225 # Default current directory color. 226 - typeset -g POWERLEVEL9K_DIR_FOREGROUND=31 226 + typeset -g POWERLEVEL9K_DIR_FOREGROUND=006 227 227 # If directory is too long, shorten some of its segments to the shortest possible unique 228 228 # prefix. The shortened directory can be tab-completed to the original. 229 229 typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique 230 230 # Replace removed segment suffixes with this symbol. 231 231 typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= 232 232 # Color of the shortened directory segments. 233 - typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=103 233 + typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=007 234 234 # Color of the anchor directory segments. Anchor segments are never shortened. The first 235 235 # segment is always an anchor. 236 - typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39 236 + typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=012 237 237 # Display anchor directory segments in bold. 238 238 typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true 239 239 # Don't shorten directories that contain any of these files. They are anchors. ··· 391 391 if (( $1 )); then 392 392 # Styling for up-to-date Git status. 393 393 local meta='%f' # default foreground 394 - local clean='%76F' # green foreground 395 - local modified='%178F' # yellow foreground 396 - local untracked='%39F' # blue foreground 397 - local conflicted='%196F' # red foreground 394 + local clean='%002F' # green foreground 395 + local modified='%003F' # yellow foreground 396 + local untracked='%004F' # blue foreground 397 + local conflicted='%001F' # red foreground 398 398 else 399 399 # Styling for incomplete and stale Git status. 400 - local meta='%244F' # grey foreground 401 - local clean='%244F' # grey foreground 402 - local modified='%244F' # grey foreground 403 - local untracked='%244F' # grey foreground 404 - local conflicted='%244F' # grey foreground 400 + local meta='%007F' # grey foreground 401 + local clean='%007F' # grey foreground 402 + local modified='%007F' # grey foreground 403 + local untracked='%007F' # grey foreground 404 + local conflicted='%007F' # grey foreground 405 405 fi 406 406 407 407 local res ··· 507 507 typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,CONFLICTED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1 508 508 509 509 # Icon color. 510 - typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76 511 - typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244 510 + typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=002 511 + typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=000 512 512 # Custom icon. 513 513 typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION= 514 514 # Custom prefix. ··· 521 521 522 522 # These settings are used for repositories other than Git or when gitstatusd fails and 523 523 # Powerlevel10k has to fall back to using vcs_info. 524 - typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=76 525 - typeset -g POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=76 526 - typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=178 524 + typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=002 525 + typeset -g POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=002 526 + typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=004 527 527 528 528 ##########################[ status: exit code of the last command ]########################### 529 529 # Enable OK_PIPE, ERROR_PIPE and ERROR_SIGNAL status states to allow us to enable, disable and ··· 533 533 # Status on success. No content, just an icon. No need to show it if prompt_char is enabled as 534 534 # it will signify success by turning green. 535 535 typeset -g POWERLEVEL9K_STATUS_OK=false 536 - typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=70 536 + typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=002 537 537 typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔' 538 538 539 539 # Status when some part of a pipe command fails but the overall exit status is zero. It may look 540 540 # like this: 1|0. 541 541 typeset -g POWERLEVEL9K_STATUS_OK_PIPE=true 542 - typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=70 542 + typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=002 543 543 typeset -g POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION='✔' 544 544 545 545 # Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as 546 546 # it will signify error by turning red. 547 547 typeset -g POWERLEVEL9K_STATUS_ERROR=false 548 - typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160 548 + typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=001 549 549 typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘' 550 550 551 551 # Status when the last command was terminated by a signal. 552 552 typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL=true 553 - typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=160 553 + typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=001 554 554 # Use terse signal names: "INT" instead of "SIGINT(2)". 555 555 typeset -g POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false 556 556 typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION='✘' ··· 558 558 # Status when some part of a pipe command fails and the overall exit status is also non-zero. 559 559 # It may look like this: 1|0. 560 560 typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE=true 561 - typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=160 561 + typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=001 562 562 typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION='✘' 563 563 564 564 ###################[ command_execution_time: duration of the last command ]################### ··· 567 567 # Show this many fractional digits. Zero means round to seconds. 568 568 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 569 569 # Execution time color. 570 - typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101 570 + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=008 571 571 # Duration format: 1d 2h 3m 4s. 572 572 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' 573 573 # Custom icon. ··· 579 579 # Don't show the number of background jobs. 580 580 typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false 581 581 # Background jobs color. 582 - typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70 582 + typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=002 583 583 # Custom icon. 584 584 # typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐' 585 585 586 586 #######################[ direnv: direnv status (https://direnv.net/) ]######################## 587 587 # Direnv color. 588 - typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=178 588 + typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=003 589 589 # Custom icon. 590 590 # typeset -g POWERLEVEL9K_DIRENV_VISUAL_IDENTIFIER_EXPANSION='⭐' 591 591 592 592 ###############[ asdf: asdf version manager (https://github.com/asdf-vm/asdf) ]############### 593 593 # Default asdf color. Only used to display tools for which there is no color override (see below). 594 594 # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_FOREGROUND. 595 - typeset -g POWERLEVEL9K_ASDF_FOREGROUND=66 595 + typeset -g POWERLEVEL9K_ASDF_FOREGROUND=006 596 596 597 597 # There are four parameters that can be used to hide asdf tools. Each parameter describes 598 598 # conditions under which a tool gets hidden. Parameters can hide tools but not unhide them. If at ··· 740 740 741 741 #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## 742 742 # Ranger shell color. 743 - typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 743 + typeset -g POWERLEVEL9K_RANGER_FOREGROUND=003 744 744 # Custom icon. 745 745 # typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐' 746 746 747 747 ####################[ yazi: yazi shell (https://github.com/sxyazi/yazi) ]##################### 748 748 # Yazi shell color. 749 - typeset -g POWERLEVEL9K_YAZI_FOREGROUND=178 749 + typeset -g POWERLEVEL9K_YAZI_FOREGROUND=003 750 750 # Custom icon. 751 751 # typeset -g POWERLEVEL9K_YAZI_VISUAL_IDENTIFIER_EXPANSION='⭐' 752 752 753 753 ######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]####################### 754 754 # Nnn shell color. 755 - typeset -g POWERLEVEL9K_NNN_FOREGROUND=72 755 + typeset -g POWERLEVEL9K_NNN_FOREGROUND=004 756 756 # Custom icon. 757 757 # typeset -g POWERLEVEL9K_NNN_VISUAL_IDENTIFIER_EXPANSION='⭐' 758 758 759 759 ######################[ lf: lf shell (https://github.com/gokcehan/lf) ]####################### 760 760 # lf shell color. 761 - typeset -g POWERLEVEL9K_LF_FOREGROUND=72 761 + typeset -g POWERLEVEL9K_LF_FOREGROUND=002 762 762 # Custom icon. 763 763 # typeset -g POWERLEVEL9K_LF_VISUAL_IDENTIFIER_EXPANSION='⭐' 764 764 765 765 ##################[ xplr: xplr shell (https://github.com/sayanarijit/xplr) ]################## 766 766 # xplr shell color. 767 - typeset -g POWERLEVEL9K_XPLR_FOREGROUND=72 767 + typeset -g POWERLEVEL9K_XPLR_FOREGROUND=002 768 768 # Custom icon. 769 769 # typeset -g POWERLEVEL9K_XPLR_VISUAL_IDENTIFIER_EXPANSION='⭐' 770 770 771 771 ###########################[ vim_shell: vim shell indicator (:sh) ]########################### 772 772 # Vim shell indicator color. 773 - typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=34 773 + typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=002 774 774 # Custom icon. 775 775 # typeset -g POWERLEVEL9K_VIM_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' 776 776 777 777 ######[ midnight_commander: midnight commander shell (https://midnight-commander.org/) ]###### 778 778 # Midnight Commander shell color. 779 - typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=178 779 + typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=003 780 780 # Custom icon. 781 781 # typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='⭐' 782 782 ··· 795 795 796 796 ##################[ chezmoi_shell: chezmoi shell (https://www.chezmoi.io/) ]################## 797 797 # chezmoi shell color. 798 - typeset -g POWERLEVEL9K_CHEZMOI_SHELL_FOREGROUND=33 798 + typeset -g POWERLEVEL9K_CHEZMOI_SHELL_FOREGROUND=012 799 799 # Custom icon. 800 800 # typeset -g POWERLEVEL9K_CHEZMOI_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐' 801 801 802 802 ##################################[ disk_usage: disk usage ]################################## 803 803 # Colors for different levels of disk usage. 804 - typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=35 805 - typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=220 806 - typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=160 804 + typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=002 805 + typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=003 806 + typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=001 807 807 # Thresholds for different levels of disk usage (percentage points). 808 808 typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90 809 809 typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95 ··· 814 814 815 815 ######################################[ ram: free RAM ]####################################### 816 816 # RAM color. 817 - typeset -g POWERLEVEL9K_RAM_FOREGROUND=66 817 + typeset -g POWERLEVEL9K_RAM_FOREGROUND=008 818 818 # Custom icon. 819 819 # typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐' 820 820 821 821 #####################################[ swap: used swap ]###################################### 822 822 # Swap color. 823 - typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96 823 + typeset -g POWERLEVEL9K_SWAP_FOREGROUND=013 824 824 # Custom icon. 825 825 # typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐' 826 826 ··· 828 828 # Show average CPU load over this many last minutes. Valid values are 1, 5 and 15. 829 829 typeset -g POWERLEVEL9K_LOAD_WHICH=5 830 830 # Load color when load is under 50%. 831 - typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=66 831 + typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=002 832 832 # Load color when load is between 50% and 70%. 833 - typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=178 833 + typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=003 834 834 # Load color when load is over 70%. 835 - typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=166 835 + typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=001 836 836 # Custom icon. 837 837 # typeset -g POWERLEVEL9K_LOAD_VISUAL_IDENTIFIER_EXPANSION='⭐' 838 838 839 839 ################[ todo: todo items (https://github.com/todotxt/todo.txt-cli) ]################ 840 840 # Todo color. 841 - typeset -g POWERLEVEL9K_TODO_FOREGROUND=110 841 + typeset -g POWERLEVEL9K_TODO_FOREGROUND=014 842 842 # Hide todo when the total number of tasks is zero. 843 843 typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true 844 844 # Hide todo when the number of tasks after filtering is zero. ··· 862 862 863 863 ###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############ 864 864 # Timewarrior color. 865 - typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110 865 + typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=006 866 866 # If the tracked task is longer than 24 characters, truncate and append "…". 867 867 # Tip: To always display tasks without truncation, delete the following parameter. 868 868 # Tip: To hide task names and display just the icon when time tracking is enabled, set the ··· 874 874 875 875 ##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]############## 876 876 # Taskwarrior color. 877 - typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74 877 + typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=006 878 878 879 879 # Taskwarrior segment format. The following parameters are available within the expansion. 880 880 # ··· 894 894 895 895 ######[ per_directory_history: Oh My Zsh per-directory-history local/global indicator ]####### 896 896 # Color when using local/global history. 897 - typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_FOREGROUND=135 898 - typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_GLOBAL_FOREGROUND=130 897 + typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_FOREGROUND=013 898 + typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_GLOBAL_FOREGROUND=011 899 899 900 900 # Tip: Uncomment the next two lines to hide "local"/"global" text and leave just the icon. 901 901 # typeset -g POWERLEVEL9K_PER_DIRECTORY_HISTORY_LOCAL_CONTENT_EXPANSION='' ··· 907 907 908 908 ################################[ cpu_arch: CPU architecture ]################################ 909 909 # CPU architecture color. 910 - typeset -g POWERLEVEL9K_CPU_ARCH_FOREGROUND=172 910 + typeset -g POWERLEVEL9K_CPU_ARCH_FOREGROUND=003 911 911 912 912 # Hide the segment when on a specific CPU architecture. 913 913 # typeset -g POWERLEVEL9K_CPU_ARCH_X86_64_CONTENT_EXPANSION= ··· 918 918 919 919 ##################################[ context: user@hostname ]################################## 920 920 # Context color when running with privileges. 921 - typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=178 921 + typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=001 922 922 # Context color in SSH without privileges. 923 - typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=180 923 + typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=002 924 924 # Default context color (no privileges, no SSH). 925 - typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180 925 + typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=005 926 926 927 927 # Context format when running with privileges: bold user@hostname. 928 928 typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%B%n@%m' ··· 1077 1077 1078 1078 #################[ rust_version: rustc version (https://www.rust-lang.org) ]################## 1079 1079 # Rust version color. 1080 - typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=37 1080 + typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=166 1081 1081 # Show rust version only when in a rust project subdirectory. 1082 1082 typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true 1083 1083 # Custom icon. ··· 1117 1117 1118 1118 ###[ package: name@version from package.json (https://docs.npmjs.com/files/package.json) ]#### 1119 1119 # Package color. 1120 - typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=117 1120 + typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=012 1121 1121 # Package format. The following parameters are available within the expansion. 1122 1122 # 1123 1123 # - P9K_PACKAGE_NAME The value of `name` field in package.json. ··· 1532 1532 # '*:*prod*:*' PROD # These values are examples that are unlikely 1533 1533 # '*:*test*:*' TEST # to match your needs. Customize them as needed. 1534 1534 '*' DEFAULT) 1535 - typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=32 1535 + typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=012 1536 1536 # typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' 1537 1537 1538 1538 # Use POWERLEVEL9K_GOOGLE_APP_CRED_CONTENT_EXPANSION to specify the content displayed by ··· 1563 1563 1564 1564 ###############################[ public_ip: public IP address ]############################### 1565 1565 # Public IP color. 1566 - typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=94 1566 + typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=003 1567 1567 # Custom icon. 1568 1568 # typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐' 1569 1569 1570 1570 ########################[ vpn_ip: virtual private network indicator ]######################### 1571 1571 # VPN IP color. 1572 - typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81 1572 + typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=004 1573 1573 # When on VPN, show just an icon without the IP address. 1574 1574 # Tip: To display the private IP address when on VPN, remove the next line. 1575 1575 typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION= ··· 1585 1585 1586 1586 ###########[ ip: ip address and bandwidth usage for a specified network interface ]########### 1587 1587 # IP color. 1588 - typeset -g POWERLEVEL9K_IP_FOREGROUND=38 1588 + typeset -g POWERLEVEL9K_IP_FOREGROUND=006 1589 1589 # The following parameters are accessible within the expansion: 1590 1590 # 1591 1591 # Parameter | Meaning ··· 1607 1607 1608 1608 #########################[ proxy: system-wide http/https/ftp proxy ]########################## 1609 1609 # Proxy color. 1610 - typeset -g POWERLEVEL9K_PROXY_FOREGROUND=68 1610 + typeset -g POWERLEVEL9K_PROXY_FOREGROUND=004 1611 1611 # Custom icon. 1612 1612 # typeset -g POWERLEVEL9K_PROXY_VISUAL_IDENTIFIER_EXPANSION='⭐' 1613 1613 1614 1614 ################################[ battery: internal battery ]################################# 1615 1615 # Show battery in red when it's below this level and not connected to power supply. 1616 1616 typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20 1617 - typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=160 1617 + typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=001 1618 1618 # Show battery in green when it's charging or fully charged. 1619 - typeset -g POWERLEVEL9K_BATTERY_{CHARGING,CHARGED}_FOREGROUND=70 1619 + typeset -g POWERLEVEL9K_BATTERY_{CHARGING,CHARGED}_FOREGROUND=002 1620 1620 # Show battery in yellow when it's discharging. 1621 - typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=178 1621 + typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=003 1622 1622 # Battery pictograms going from low to high level of charge. 1623 1623 typeset -g POWERLEVEL9K_BATTERY_STAGES='\UF008E\UF007A\UF007B\UF007C\UF007D\UF007E\UF007F\UF0080\UF0081\UF0082\UF0079' 1624 1624 # Don't show the remaining time to charge/discharge. ··· 1626 1626 1627 1627 #####################################[ wifi: wifi speed ]##################################### 1628 1628 # WiFi color. 1629 - typeset -g POWERLEVEL9K_WIFI_FOREGROUND=68 1629 + typeset -g POWERLEVEL9K_WIFI_FOREGROUND=006 1630 1630 # Custom icon. 1631 1631 # typeset -g POWERLEVEL9K_WIFI_VISUAL_IDENTIFIER_EXPANSION='⭐' 1632 1632 ··· 1652 1652 1653 1653 ####################################[ time: current time ]#################################### 1654 1654 # Current time color. 1655 - typeset -g POWERLEVEL9K_TIME_FOREGROUND=66 1655 + typeset -g POWERLEVEL9K_TIME_FOREGROUND=000 1656 1656 # Format for the current time: 09:51:02. See `man 3 strftime`. 1657 1657 typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' 1658 1658 # If set to true, time will update when you hit enter. This way prompts for the past ··· 1722 1722 emulate -L zsh 1723 1723 cd "$1" 1724 1724 1725 - local black='%0F' 1726 - local grey='%244F' 1727 - local green='%2F' 1728 - local blue='%39F' 1729 - local red='%196F' 1730 - local yellow='%3F' 1731 - local cyan='%6F' 1732 - local magenta='%5F' 1725 + local black='%000F' 1726 + local grey='%008F' 1727 + local green='%002F' 1728 + local blue='%004F' 1729 + local red='%001F' 1730 + local yellow='%003F' 1731 + local cyan='%006F' 1732 + local magenta='%005F' 1733 1733 1734 1734 ## jj_add 1735 1735 # jj --at-operation=@ debug snapshot # not needed since as we use watchman...