Add arch prompt for displaying CPU architecture

Adds the `arch` prompt to `p10k.zsh`, `ARCH_ICON` to `icons.zsh`, and commented entries in the default configs
This commit is contained in:
brent-moffit 2022-02-02 17:47:46 -08:00
commit c5203a3da2
6 changed files with 40 additions and 0 deletions

View file

@ -94,6 +94,7 @@
todo # todo items (https://github.com/todotxt/todo.txt-cli)
timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# arch # current CPU Architecture
# time # current time
# =========================[ Line #2 ]=========================
newline # \n
@ -1549,6 +1550,10 @@
# P9K_WIFI_NOISE | noise in dBm, from -120 to 0
# P9K_WIFI_BARS | signal strength in bars, from 0 to 4 (derived from P9K_WIFI_RSSI and P9K_WIFI_NOISE)
##############################[ arch: current cup architecture ]##############################
# Default CPU Aricheture (section is hidden when current architecture matches default)
# typeset -g POWERLEVEL9K_ARCH_DEFAULT='i386'
####################################[ time: current time ]####################################
# Current time color.
typeset -g POWERLEVEL9K_TIME_FOREGROUND=66

View file

@ -93,6 +93,7 @@
todo # todo items (https://github.com/todotxt/todo.txt-cli)
timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# arch # current CPU Architecture
# time # current time
# =========================[ Line #2 ]=========================
newline # \n
@ -1530,6 +1531,10 @@
# P9K_WIFI_NOISE | noise in dBm, from -120 to 0
# P9K_WIFI_BARS | signal strength in bars, from 0 to 4 (derived from P9K_WIFI_RSSI and P9K_WIFI_NOISE)
##############################[ arch: current cup architecture ]##############################
# Default CPU Aricheture (section is hidden when current architecture matches default)
# typeset -g POWERLEVEL9K_ARCH_DEFAULT='i386'
####################################[ time: current time ]####################################
# Current time color.
typeset -g POWERLEVEL9K_TIME_FOREGROUND=6

View file

@ -93,6 +93,7 @@
todo # todo items (https://github.com/todotxt/todo.txt-cli)
timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# arch # current CPU Architecture
# time # current time
# =========================[ Line #2 ]=========================
newline
@ -1526,6 +1527,10 @@
# P9K_WIFI_NOISE | noise in dBm, from -120 to 0
# P9K_WIFI_BARS | signal strength in bars, from 0 to 4 (derived from P9K_WIFI_RSSI and P9K_WIFI_NOISE)
##############################[ arch: current cup architecture ]##############################
# Default CPU Aricheture (section is hidden when current architecture matches default)
# typeset -g POWERLEVEL9K_ARCH_DEFAULT='i386'
####################################[ time: current time ]####################################
# Current time color.
typeset -g POWERLEVEL9K_TIME_FOREGROUND=66

View file

@ -94,6 +94,7 @@
todo # todo items (https://github.com/todotxt/todo.txt-cli)
timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# arch # current CPU Architecture
# time # current time
# =========================[ Line #2 ]=========================
newline
@ -1634,6 +1635,10 @@
# P9K_WIFI_NOISE | noise in dBm, from -120 to 0
# P9K_WIFI_BARS | signal strength in bars, from 0 to 4 (derived from P9K_WIFI_RSSI and P9K_WIFI_NOISE)
##############################[ arch: current cup architecture ]##############################
# Default CPU Aricheture (section is hidden when current architecture matches default)
# typeset -g POWERLEVEL9K_ARCH_DEFAULT='i386'
####################################[ time: current time ]####################################
# Current time color.
typeset -g POWERLEVEL9K_TIME_FOREGROUND=0