From bf217ddfd62d23dc467e5e04c039d496c737cf8e Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sun, 4 Jun 2023 13:59:41 +0300 Subject: [PATCH 1/3] [fix] Fix the CPU tempreature file path --- src/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 05d3d12..5101675 100644 --- a/src/config.h +++ b/src/config.h @@ -69,7 +69,7 @@ static const struct arg args[] = { { run_command, "BR:%s%% ", "xbacklight -get | awk '{printf \"%.0f\", $1}'" }, { cpu_perc, "CPU:%s%%|", NULL }, { cpu_freq, "%s ", NULL }, - { temp, "%s\u00b0C ", "/sys/class/thermal/thermal_zone8/temp" }, + { temp, "%s\u00b0C ", "/sys/class/hwmon/hwmon5/temp1_input" }, { ram_perc, "RAM:%s%% ", NULL }, // { netspeed_tx, " %s ^ ", "wlan0" }, // { netspeed_rx, " %s ", "wlan0" }, From cc504d7ad53c1b9412a3ba1702d6d0fd45fb7a2f Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sun, 4 Jun 2023 14:04:44 +0300 Subject: [PATCH 2/3] [add/garbage] Add some g arbage --- .idea/git_toolbox_prj.xml | 16 ++++++++++++++++ .idea/vcs.xml | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 .idea/git_toolbox_prj.xml diff --git a/.idea/git_toolbox_prj.xml b/.idea/git_toolbox_prj.xml new file mode 100644 index 0000000..4e57990 --- /dev/null +++ b/.idea/git_toolbox_prj.xml @@ -0,0 +1,16 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 35eb1dd..6ca94fb 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,8 @@ + + + \ No newline at end of file From 0f9474144ad5ba9452daccd8598bdad5a2dc6053 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sun, 4 Jun 2023 14:05:38 +0300 Subject: [PATCH 3/3] [deploy] Bump the version --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 8671f81..918b36e 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # slstatus version -VERSION = 1.0.0 +VERSION = 1.0.1 # customize below to fit your system