Skip to content

Instantly share code, notes, and snippets.

@webmasterninjay
Created June 26, 2016 18:09
Show Gist options
  • Save webmasterninjay/8192eaed261cf1109f4a38d7a129fa45 to your computer and use it in GitHub Desktop.
Save webmasterninjay/8192eaed261cf1109f4a38d7a129fa45 to your computer and use it in GitHub Desktop.
My Conky Script
use_xft yes
xftfont NotoSans:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no
double_buffer yes
minimum_size 300 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_shade_color black
default_outline_color white
default_bar_size 150 5
default_gauge_size 20 20
imlib_cache_size 0
draw_shades no
alignment top_right
gap_x 15
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
default_color ECEAE4
color1 ffffff
color2 01C400
TEXT
${font NotoSans:bold:size=10}${color Tan1}Info ${color Tan1}${hr 2}${font}
${color1}Date ${alignr}${color1}${time %A,} ${color}${time %e %B %G}
${color1}Time ${alignr}${color}${time %T}
${font NotoSans:bold:size=10}${color Tan1}System ${color Tan1}${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}
${font NotoSans:bold:size=10}${color Tan1}Processors ${color Tan1}${hr 2}${font}
${color1}Core 1 ${alignr}${color}${cpu cpu1}% ${cpubar cpu1}
${color1}Core 2 ${alignr}${color}${cpu cpu2}% ${cpubar cpu2}
${font NotoSans:bold:size=10}${color Tan1}Memory ${color Tan1}${hr 2}${font}
${color1}Memory ${color}${alignr}${memeasyfree} / ${memmax}
${color1}Currently ${color}${alignr}${memperc}% ${membar}
${font NotoSans:bold:size=10}${color Tan1}Filesystem ${color Tan1}${hr 2}${font}
${color1}/ ${color}${alignc}${fs_used /} / ${fs_size /} ${color}${alignr}${fs_free_perc /} %
${color}${fs_bar 5,300 /}
${font NotoSans:bold:size=10}${color Tan1}Networking ${color Tan1}${hr 2}${font}
${color1}Public IP ${alignr}${color}${execi 3600 wget -O - http://ip.tupeux.com | tail}
${if_existing /proc/net/route wlan0}${color1}Local 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 enp0s3}${color1}Local IP ${color}${alignr}${addr enp0s3}
${color1}Download ${alignr}${color}${downspeed enp0s3}${downspeedgraph enp0s3 10,100}
${color1}Upload ${alignr}${color}${upspeed enp0s3}${upspeedgraph enp0s3 10,100}
${color1}Total Down/Up ${alignr}${color}${totaldown enp0s3}${color1}/${color}${totalup enp0s3}${endif}${endif}
${font NotoSans:bold:size=10}${color Tan1}Top Processes ${color Tan1}${hr 2}${font}
${font NotoSans:bold:size=8}${color Tan1}APP ${alignr}${color Tan1}CPU MEM${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