Add CPU temp to slstatus
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -1,4 +1,3 @@
|
||||
# TODO
|
||||
|
||||
- Add CPU temp to SLSTATUS
|
||||
- Find a more automated way to replace SLSTATUS if possible
|
||||
|
||||
@@ -76,7 +76,8 @@ static const struct arg args[] = {
|
||||
{ battery_perc, "[ %s", "BAT0" },
|
||||
{ battery_perc, "%s%%] ", "cw2015-battery" },
|
||||
{ run_command, "[ %s%%] ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
|
||||
{ cpu_perc, "[ %s%%] ", NULL },
|
||||
{ cpu_perc, "[ %s%%", NULL },
|
||||
{ temp, " %sC] ", "/sys/class/thermal/thermal_zone0/temp" },
|
||||
{ ram_used, "[ %s", NULL },
|
||||
{ ram_perc, " %s%%] ", NULL },
|
||||
{ datetime, "[ %s]", "%d/%m/%y %l:%M %p" },
|
||||
|
||||
@@ -76,7 +76,8 @@ static const struct arg args[] = {
|
||||
{ battery_perc, "[ %s", "BAT0" },
|
||||
{ battery_perc, "%s%%] ", "cw2015-battery" },
|
||||
{ run_command, "[ %s%%] ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
|
||||
{ cpu_perc, "[ %s%%] ", NULL },
|
||||
{ cpu_perc, "[ %s%%", NULL },
|
||||
{ temp, " %sC] ", "/sys/class/thermal/thermal_zone0/temp" },
|
||||
{ ram_used, "[ %s", NULL },
|
||||
{ ram_perc, " %s%%] ", NULL },
|
||||
{ datetime, "[ %s]", "%d/%m/%y %l:%M %p" },
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user