From fea2bd24e83c90c311f4e77ccf46f1464a6f5afb Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 3 Nov 2024 16:09:10 -0600 Subject: update temp widget to be fancier and other small stuff --- hosts/T430.lua | 3 +++ hosts/libreX60.lua | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 hosts/T430.lua (limited to 'hosts') diff --git a/hosts/T430.lua b/hosts/T430.lua new file mode 100644 index 0000000..c268fca --- /dev/null +++ b/hosts/T430.lua @@ -0,0 +1,3 @@ +local bar_widgets = require("bar") + +bar_widgets.temp.file = "/sys/class/hwmon/hwmon0/temp1_input" diff --git a/hosts/libreX60.lua b/hosts/libreX60.lua index 3ce5619..294c1a1 100644 --- a/hosts/libreX60.lua +++ b/hosts/libreX60.lua @@ -1,4 +1,5 @@ local wibox = require("wibox") local bar_widgets = require("bar") -bar_widgets.textclock.format = "%a, %b %e, %-H:%M" +bar_widgets.textclock.format = "%a, %b %-e, %-H:%M" +bar_widgets.temp.file = "/sys/class/hwmon/hwmon2/temp1_input" -- cgit v1.2.3