To use this segment, you need to activate it by adding os_icon
to your
P9K_LEFT_PROMPT_ELEMENTS
or P9K_RIGHT_PROMPT_ELEMENTS
array, depending
where you want to show this segment.
You can change the foreground and background color of this segment by setting
P9K_OS_ICON_FOREGROUND='red'
P9K_OS_ICON_BACKGROUND='blue'
The main Icon can be changed by setting P9K_OS_ICON_ICON="my_icon"
. To change the
icon color only, set P9K_OS_ICON_ICON_COLOR="red"
.