mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 11:23:05 +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
|
||||
format = " $icon $min - $average ~ $max +"
|
||||
chip = "*-isa-*"
|
||||
idle = 50
|
||||
info = 70
|
||||
warning = 85
|
||||
idle = <% opt.temperatures.normal %>
|
||||
info = <% opt.temperatures.medium %>
|
||||
warning = <% opt.temperatures.high %>
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
|
@ -20,4 +20,11 @@ opts.commands = {
|
|||
file_manager = "thunar",
|
||||
}
|
||||
|
||||
-- Device temperature levels. Used for status bar.
|
||||
opts.temperatures = {
|
||||
normal = 40,
|
||||
medium = 65,
|
||||
high = 80,
|
||||
}
|
||||
|
||||
return opts
|
||||
|
|
Loading…
Reference in a new issue