]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

widget.temp: reset path to /sys/devices; closes #441
authorLuca Capezzuto <luca.capezzuto@soton.ac.uk>
Tue, 27 Aug 2019 16:08:37 +0000 (17:08 +0100)
committerLuca Capezzuto <luca.capezzuto@soton.ac.uk>
Tue, 27 Aug 2019 16:08:37 +0000 (17:08 +0100)
widget/temp.lua
wiki

index 2b97a4e27dbdb6a8c761597e78177a7b882c6318..e909b322f14a197b1d51f4448dc845ab18df1069 100644 (file)
@@ -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
diff --git a/wiki b/wiki
index 8b3ab9e38a9876cc2e29766c6ecafffbc1c6ff34..2899629c445cb12efb72cc538e36cfc2ec812201 160000 (submodule)
--- a/wiki
+++ b/wiki
@@ -1 +1 @@
-Subproject commit 8b3ab9e38a9876cc2e29766c6ecafffbc1c6ff34
+Subproject commit 2899629c445cb12efb72cc538e36cfc2ec812201