Skip to content

Commit

Permalink
widget.temp: reset path to /sys/devices; closes #441
Browse files Browse the repository at this point in the history
  • Loading branch information
lcpz committed Aug 27, 2019
1 parent 9120182 commit 71ca1bd
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 71ca1bd

Please sign in to comment.