(05-05-2018, 01:43 PM)trinidad link Wrote: ${color1}CPU Core0 Temp: ${color2}${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C
${color1}CPU Core1 Temp: ${color2}${exec sensors | grep 'Core 1' | awk '{print $3}' | cut -c2-3}°C
This is my code for a core 2 duo. First cpu is always 0. Run lmsensors first to find sensors.
TC
Used your code and cleaned up CPU temps (thanks for that). Still need to fix GPU temp (which would have to be Intel rather than Nvidia) and fan speed.
I ran lm-sensors, sensors-detect, and hddtemp. I'm thinking if I get a different code compatible with my Intel GPU, it will all work.
![[Image: Vo2yCYtl.png]](http://imgur.com/Vo2yCYtl.png)
background no
font Sans

use_xft yes
xftalpha 0.9
update_interval 5.0
total_run_times 0
own_window yes
own_window_type normal
own_window_argb_visual no
own_window_argb_value 196
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 190
maximum_width 220
draw_shades yes
draw_outline no
draw_borders no
border_inner_margin 5
#border_inner_margin 20
draw_graph_borders yes
default_color CDE0E7
default_shade_color black
default_outline_color green
alignment top_left
gap_x 0
gap_y 90
no_buffers yes
uppercase no # set to yes if you want all text to be in uppercase
cpu_avg_samples 2
override_utf8_locale no
own_window_colour 000000
TEXT
${voffset 1} ${voffset -1}
${color white}SYSTEM ${hr 1}${color}
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
${color1}CPU Core0 Temp: ${color2}${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C
${color1}CPU Core1 Temp: ${color2}${exec sensors | grep 'Core 1' | awk '{print $3}' | cut -c2-3}°C
Fan 1: ${alignr}${hwmon 1 fan 1} RPM
Fan 2: ${alignr}${hwmon 1 fan 2} RPM
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
${color yellow}CPU LOAD ${hr 1}${color}
${color b0b000}CPU Frequency: ${alignr}${freq} MHz
CPU1 ${alignr}${cpu cpu1}%
${cpubar cpu1}
${cpugraph cpu1 000000 ffffff}
CPU2 ${alignr}${cpu cpu2}%
${cpubar cpu2}
${cpugraph cpu2 000000 ffffff}
CPU3 ${alignr}${cpu cpu3}%
${cpubar cpu3}
${cpugraph cpu3 000000 ffffff}
CPU4 ${alignr}${cpu cpu4}%
${cpubar cpu4}
${cpugraph cpu4 000000 ffffff}
${color b0b040}CPU All
${cpugraph cpu0 000000 ff0000}${color}
${color 30b030}RESOURCE USAGE ${hr 1}${color}
${color 30b030}RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
We only get one shot at this thing called life, let's make the best of it.