Skip to content

Instantly share code, notes, and snippets.

@mattonem
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattonem/2cbdd1f2662f3dccd300 to your computer and use it in GitHub Desktop.
Save mattonem/2cbdd1f2662f3dccd300 to your computer and use it in GitHub Desktop.
background yes
use_xft yes
xftfont shrapnel:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
no_buffers yes
minimum_size 250 20
#default_bar_size 60 8
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color c6c4c7
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 50
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 9f907d
color2 01C400
##############################################
# Output
##############################################
TEXT
${alignc}${offset -80}${voffset -12}${font ubuntu it:size=70}${color c6c4c7}${time %I}
${color 999999}${alignc}${voffset -60}${font ubuntu it:size=75}${time %M}
${font ubuntu it:size=10}${voffset -90}${color c6c4c7}${time %A}
${voffset 0}${color C6C4C7}${time %B %d}
${font ubuntu:bold:size=10}${color Tan1}System ${color slate grey}${hr 2}${font}
${color1}Hostname ${alignr}${color}${nodename}
${color1}${sysname} ${alignr}${color}${kernel}-${machine}
${color1}CPU ${alignr}${color}${freq_g}GHz
${color1}Loadaverage ${alignr}${color}${loadavg 1} ${loadavg 2} ${loadavg 3}
${color1}Uptime ${alignr}${color}${uptime}
${color1}Cpu Temperature ${alignr}${color}${acpitemp}C
${font ubuntu:bold:size=10}${color Tan1}Processors ${color slate grey}${hr 2}${font}
${color1}Core 1 ${alignr}${color}${cpu cpu1}%${cpugraph cpu1 10,100}
${color1}Core 2 ${alignr}${color}${cpu cpu2}%${cpugraph cpu2 10,100}
${font ubuntu:bold:size=10}${color Tan1}Memory ${color slate grey}${hr 2}${font}
${color1}Memory ${color}${alignr}${memeasyfree} / ${memmax}
${color1}Currently ${color}${alignr}${memperc}%
${membar 5}
${font ubuntu:bold:size=10}${color Tan1}Filesystem ${color slate grey}${hr 2}${font}
${color1}/ ${color}${alignc}${fs_used /} / ${fs_size /} ${color}${alignr}${fs_free_perc /} %
${color}${fs_bar 5 /}
${font ubuntu:bold:size=10}${color Tan1}Networking ${color slate grey}${hr 2}${font}
${if_existing /proc/net/route wlan0}${color1}Ip ${color}${alignr}${addr wlan0}
${color1}AP ${color}${alignr}${wireless_essid wlan0}
${color1}Signal ${color}${alignr}${wireless_link_qual_perc wlan0}${wireless_link_bar 10,100 wlan0}
${color1}Download ${alignr}${color}${downspeed wlan0}${downspeedgraph wlan0 10,100}
${color1}Upload ${alignr}${color}${upspeed wlan0}${upspeedgraph wlan0 10,100}
${color1}Total Down/Up ${alignr}${color}${totaldown wlan0}${color1}/${color}${totalup wlan0}
${else}${if_existing /proc/net/route eth0}${color1}Ip ${color}${alignr}${addr eth0}
${color1}Download ${alignr}${color}${downspeed eth0}${downspeedgraph eth0 10,100}
${color1}Upload ${alignr}${color}${upspeed eth0}${upspeedgraph eth0 10,100}
${color1}Total Down/Up ${alignr}${color}${totaldown eth0}${color1}/${color}${totalup eth0}${endif}${endif}
${font ubuntu:bold:size=10}${color Tan1}Top Processes ${color slate grey}${hr 2}${font}
${color1}${top name 1} ${alignr}${color}${top cpu 1} ${top mem 1}
${color1}${top name 2} ${alignr}${color}${top cpu 2} ${top mem 2}
${color1}${top name 3} ${alignr}${color}${top cpu 3} ${top mem 3}
${color1}${top name 4} ${alignr}${color}${top cpu 4} ${top mem 4}
${color1}${top name 5} ${alignr}${color}${top cpu 5} ${top mem 5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment