Skip to content

Commit

Permalink
widget.temp: reset path to /sys/devices; closes lcpz#441
Browse files Browse the repository at this point in the history
  • Loading branch information
lcpz authored and bladecoates committed Jan 28, 2020
1 parent 9d4416a commit c3ad4bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion widget/temp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local function factory(args)
local settings = args.settings or function() end

function temp.update()
helpers.async({"find", "/sys/devices/virtual/thermal", "-type", "f", "-name", "*temp*"}, function(f)
helpers.async({"find", "/sys/devices", "-type", "f", "-name", "*temp*"}, function(f)
temp_now = {}
local temp_fl, temp_value
for t in f:gmatch("[^\n]+") do
Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 8b3ab9 to 289962

0 comments on commit c3ad4bd

Please sign in to comment.