Code: Select all
#alignment tl
alignment top_right
background no
border_inner_margin 0
border_width 0
default_color FFFFFF
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 10
gap_y 20
minimum_size 250 0
no_buffers yes
override_utf8_locale yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window yes
#own_window_type desktop
pad_percents 2
short_units yes
stippled_borders 0
top_name_width 5
update_interval 1
uppercase yes
use_spacer right
use_xft yes
xftalpha 1.0 #0.2
xftfont Terminus:bold:size=7
# Color scheme #
default_color ffffff
color1 FFFFFF
color2 FF9616
color3 1CE3BB
color4 FF0000
###########################
own_window_argb_value 0
own_window_argb_visual no
own_window_colour 000000
TEXT
${goto 12}+----${color2}${nodename}${color}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- OS${goto 125}${sysname}
${goto 15}|${goto 38}+-- Kernel ${goto 125}${kernel}
${goto 15}|${goto 38}+-- Machine${goto 125}${machine}
${goto 15}|
${goto 12}+----${color3}Memory${color}
${goto 15}|${goto 38}+-- Total${goto 125}${memmax}
${goto 15}|${goto 38}+-- ${color4}In Use${color}${goto 125}${mem} (${memperc}%)
${goto 15}|${goto 38}+-- Free${goto 125}${memfree}
${goto 15}|${goto 38}+-- Up to${goto 125}${memeasyfree} freed easily
${goto 15}|${goto 38}+-- Swap
${goto 15}|${goto 60}+-- Total${goto 125}${swapmax}
${goto 15}|${goto 60}+-- Used${goto 125}${swap} - ${swapperc}%
${goto 15}|${goto 60}+-- Free${goto 125}${swapfree}
${goto 15}|
${goto 12}+----${color3}Status${color}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU${goto 125}${cpu cpu0}% - ${freq_g}GHz - ${hwmon 0 temp 1}°C
${goto 15}|${goto 38}+-- Ram${goto 125}${memperc}%
${goto 15}|${goto 38}+-- Load Avg${goto 125}${loadavg}
${goto 15}|${goto 38}+-- System Disk${goto 125}${fs_used_perc /}% used - Temp ${exec /usr/sbin/hddtemp /dev/sdb | awk '{print $4}'}
${goto 15}|${goto 38}+-- Disk IO ${goto 125}${diskio}
${goto 15}|${goto 60}+-- Read${goto 125}${diskio_read}
${goto 15}|${goto 60}+-- Write${goto 125}${diskio_write}
${goto 15}|
${goto 12}+----${color3}Storage (Free / Total)${color}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- 500GB (MX)${goto 125}${fs_free /} / ${fs_size /}
${goto 15}|${goto 38}+-- 1000GB (BU)${goto 125}${fs_free /path/to/second/drive's/mount/partition/} / ${fs_size /path/to/second/drive's/mount/partition/}
${goto 15}|
${goto 12}+----${color3}Processes${color}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Total${goto 125}${processes}
${goto 15}|${goto 38}+-- Running${goto 125}${running_processes}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU
${goto 15}|${goto 40}|${goto 60}+-- ${top name 1}${goto 125}${top cpu 1}${top mem 1}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 2}${goto 125}${top cpu 2}${top mem 2}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 3}${goto 125}${top cpu 3}${top mem 3}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- MEM
${goto 15}|${goto 60}+-- ${top_mem name 1}${goto 125}${top_mem cpu 1}${top_mem mem 1}
${goto 15}|${goto 60}+-- ${top_mem name 2}${goto 125}${top_mem cpu 2}${top_mem mem 2}
${goto 15}|${goto 60}+-- ${top_mem name 3}${goto 125}${top_mem cpu 3}${top_mem mem 3}
${goto 15}|
${goto 12}+----${color3}Network${color}
${goto 15}|${goto 32}|
${goto 15}|${goto 32}+-- Up
${goto 15}|${goto 32}|${goto 60}+-- Speed${goto 125}${upspeedf eth0}KiB
${goto 15}|${goto 32}|${goto 60}+-- Total${goto 125}${totalup eth0}KiB
${goto 15}|${goto 32}|
${goto 15}|${goto 32}+-- Down
${goto 15}|${goto 32}|${goto 60}+-- Speed${goto 125}${downspeedf eth0}KiB
${goto 15}|${goto 32}|${goto 60}+-- Total${goto 125}${totaldown eth0}KiB
- Change "/path/to/second/drive's/mount/partition" in line 77 to the actual mount point of your second drive, i.e. /media/username/drive2/
- Near the end, in lines 97-102, change eth0 to back to wlan0 if you use wifi instead of Ethernet.
- If the CPU temperature under STATUS doesn't display, try a different numeric value for hwmon in line 66 (change it from 0 to 1, 2, etc.) until you find one that works. It seems to depend on what chipset you have. "temp 1" tells it to show core 1's temperature. Change that number to use a different core. I haven't found a way yet to make it show the average of all cores' temps.
- You'll probably need to change /dev/sdb to /dev/sda in line 69: sdb is my system drive and sda is my second drive for backups storage. I have my SATA cables connected backwards and can't be bothered to change them.
- Relabel your drives in lines 76 & 77 to something that lets you recognize which of your drives is which.