1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

doc cleanup

This commit is contained in:
romkatv 2020-02-09 12:22:53 +01:00
parent 925f18936e
commit 6fb0e8d7f5

View file

@ -318,9 +318,9 @@ public API for defining segments that are as fast and as flexible as built-in on
https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/custom-segment.gif) https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/custom-segment.gif)
On Linux you can fetch current CPU temperature by reading `/sys/class/thermal/thermal_zone0/temp`. On Linux you can fetch current CPU temperature by reading `/sys/class/thermal/thermal_zone0/temp`.
The screencast shows how to define prompt segment `my_cpu_temp` to display this value. Once the The screencast shows how to define a prompt segment to display this value. Once the segment is
segment is defined, you can use it like any other segment. All standard customization parameters defined, you can use it like any other segment. All standard customization parameters will work for
will work for it out of the box. it out of the box.
Type `p10k help segment` for reference. Type `p10k help segment` for reference.