Added a cpu temperature custom module. (#446)
* Added a CPU Temperature module. * Update defauls and add wiki link. * Move celsius to fahr conversion to method.
This commit is contained in:
23
options.ts
23
options.ts
@@ -303,6 +303,15 @@ const options = mkOptions(OPTIONS, {
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.5em'),
|
||||
},
|
||||
cpuTemp: {
|
||||
enableBorder: opt(false),
|
||||
border: opt(colors.peach),
|
||||
background: opt(colors.base2),
|
||||
text: opt(colors.peach),
|
||||
icon: opt(colors.peach),
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.5em'),
|
||||
},
|
||||
storage: {
|
||||
enableBorder: opt(false),
|
||||
border: opt(colors.pink),
|
||||
@@ -987,6 +996,20 @@ const options = mkOptions(OPTIONS, {
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
cpuTemp: {
|
||||
icon: opt(''),
|
||||
sensor: opt(''),
|
||||
label: opt(true),
|
||||
round: opt(true),
|
||||
showUnit: opt(true),
|
||||
unit: opt<UnitType>('metric'),
|
||||
pollingInterval: opt(2000),
|
||||
leftClick: opt(''),
|
||||
rightClick: opt(''),
|
||||
middleClick: opt(''),
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
storage: {
|
||||
label: opt(true),
|
||||
icon: opt(''),
|
||||
|
||||
Reference in New Issue
Block a user