mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-01-06 02:43:41 +01:00
confgen sets device temperatures
This commit is contained in:
parent
e589be73e9
commit
6ef9f64084
2 changed files with 10 additions and 3 deletions
|
@ -23,9 +23,9 @@ block = "temperature"
|
||||||
interval = 5
|
interval = 5
|
||||||
format = " $icon $min - $average ~ $max +"
|
format = " $icon $min - $average ~ $max +"
|
||||||
chip = "*-isa-*"
|
chip = "*-isa-*"
|
||||||
idle = 50
|
idle = <% opt.temperatures.normal %>
|
||||||
info = 70
|
info = <% opt.temperatures.medium %>
|
||||||
warning = 85
|
warning = <% opt.temperatures.high %>
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "music"
|
block = "music"
|
|
@ -20,4 +20,11 @@ opts.commands = {
|
||||||
file_manager = "thunar",
|
file_manager = "thunar",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Device temperature levels. Used for status bar.
|
||||||
|
opts.temperatures = {
|
||||||
|
normal = 40,
|
||||||
|
medium = 65,
|
||||||
|
high = 80,
|
||||||
|
}
|
||||||
|
|
||||||
return opts
|
return opts
|
||||||
|
|
Loading…
Reference in a new issue