mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
doc cleanup
This commit is contained in:
parent
925f18936e
commit
6fb0e8d7f5
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue