Skip to content

M_cpufreq

vbextreme edited this page Sep 13, 2018 · 4 revisions

Cpufreq config wiki

Show cpu frequency and governor

Module Specific Attribute

# unit, view value is read value / unit, 1 unit == 1 Mhz
unit = 1000

Enviroment

$0 available governor

$1 scaling min fq core 0
$2 scaling max fq core 0
$3 scaling current fq core 0
$4 current governor core 0
$5 scaling min fq core 1
$6 scaling max fq core 1
$7 scaling current fq core 1
$8 current governor core 1

# CORE*4+1 scaling min fq core N
# CORE*4+2 scaling max fq core N
# CORE*4+3 scaling current fq core N
# CORE*4+4 current governor core N

Formatting

for formatting enviroment

# string
format[0] = ''
format[CORE*4+1] = ''
# double
format[CORE*4+2] = 4.2
format[CORE*4+3] = 4.2
format[CORE*4+4] = 4.2

example format scaling current fq with 1 decimal

format[0] = 3.1

Icon

icon = "💻"

Example

show current icon with current fq

text.long = "$@ $2 Ghz"
Clone this wiki locally