[mark@ArchLinux ~]$ cat .conkyrc
override_utf8_locale yes
# Output
########
TEXT
${font sans:bold:size=12}CPU ${cpubar cpu0}
${font sans:bold:size=12}RAM $membar
${font sans:bold:size=12}BAT $battery_bar
${font sans:bold:size=12}CPU Temp: $alignr${execi 10 sensors | grep ^"temp1:" | awk '{print $2}'}
${font sans:bold:size=12}Fan: $alignr${execi 10 sensors | grep ^"fan1:" | awk '{print $2}'}RPM
#${font sans:bold:size=12}SYSTEM ${hr 2}
#${font sans:normal:size=12}$sysname $kernel $alignr $machine
#Host:$alignr$nodename
#Uptime:$alignr$uptime
${font sans:bold:size=12}TOP PROCESSES ${hr 2}
${font sans:normal:size=12}CPU: ${top name 1}${alignr}${top cpu 1}%
${font sans:normal:size=12}IO: ${top_io name 1}${alignr}${top_io io_write 1}
${font sans:normal:size=12}Mem: ${top_mem name 1}${alignr}${top_mem mem 1}%
########
TEXT
${font sans:bold:size=12}CPU ${cpubar cpu0}
${font sans:bold:size=12}RAM $membar
${font sans:bold:size=12}BAT $battery_bar
${font sans:bold:size=12}CPU Temp: $alignr${execi 10 sensors | grep ^"temp1:" | awk '{print $2}'}
${font sans:bold:size=12}Fan: $alignr${execi 10 sensors | grep ^"fan1:" | awk '{print $2}'}RPM
#${font sans:bold:size=12}SYSTEM ${hr 2}
#${font sans:normal:size=12}$sysname $kernel $alignr $machine
#Host:$alignr$nodename
#Uptime:$alignr$uptime
${font sans:bold:size=12}TOP PROCESSES ${hr 2}
${font sans:normal:size=12}CPU: ${top name 1}${alignr}${top cpu 1}%
${font sans:normal:size=12}IO: ${top_io name 1}${alignr}${top_io io_write 1}
${font sans:normal:size=12}Mem: ${top_mem name 1}${alignr}${top_mem mem 1}%
沒有留言:
張貼留言