Skip to content

Instantly share code, notes, and snippets.

@vierbergenlars
Last active December 18, 2015 00:08
Show Gist options
  • Save vierbergenlars/5693854 to your computer and use it in GitHub Desktop.
Save vierbergenlars/5693854 to your computer and use it in GitHub Desktop.
Installation instructions: Install fonts (move to /usr/share/fonts/); Move files as indicated
# About this gist: http://vierbergenlars.wordpress.com/2013/06/07/tweaking-ubuntu-gnome-with-conky/
# Conky settings #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
if_up_strictness address
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
#imlib_cache_size 0
temperature_unit celsius
# Window specifications #
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 12
border_outer_margin 0
#minimum_size 600 70
#maximum_width 520
alignment mm
gap_x -12
gap_y 0
# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color black
default_shade_color red
default_outline_color green
# Text settings #
use_xft yes
override_utf8_locale yes
xftfont Play:normal:size=7
xftalpha 0.9
uppercase no
temperature_unit celsius
default_color 000000
color0 01A6A6
color1 02fffc
color2 1994D1
#color3 1994D1
# Lua Load ##${voffset 750}
lua_load ~/.conky/rings.lua
#lua_draw_hook_pre ring_stats
lua_draw_hook_pre conky_main
TEXT
${font Play:normal:size=7}${voffset 4}${color1}${goto 120}${freq_g cpu0} Ghz${alignr 330}
${font Play:normal:size=7}${voffset 0}${goto 120}${color1}CPU 1 ${alignr 330}${color1}${cpu cpu0}%
${font Play:normal:size=7}${voffset 2}${goto 120}${color1}CPU 2${alignr 330}${color1}${cpu cpu1}%
#${font Play:normal:size=7}${voffset 2}${goto 120}${color1}CPU 3${alignr 330}${color1}${cpu cpu2}%
#${font Play:normal:size=7}${voffset 2}${goto 120}${color1}CPU 4${alignr 330}${color1}${cpu cpu3}%
${voffset 2}
${voffset 2}
${goto 50}${voffset 16}${font Play:normal:size=7}${color1}${top name 1}${alignr 306}${top cpu 1}%
${goto 50}${font Play:normal:size=7}${color1}${top name 2}${alignr 306}${top cpu 2}%
${goto 50}${font Play:normal:size=7}${color1}${top name 3}${alignr 306}${top cpu 3}%
${font Michroma:size=10}${color0}${goto 80}${voffset 4}CPU
${font Michroma:size=10}${color0}${goto 394}${voffset 44}MEMORY
${goto 324}${voffset -6}${font Play:normal:size=7}${color1}${top_mem name 1}${alignr 40}${top_mem mem 1}%
${goto 324}${font Play:normal:size=7}${color1}${top_mem name 2}${alignr 40}${top_mem mem 2}%
${goto 324}${font Play:normal:size=7}${color1}${top_mem name 3}${alignr 40}${top_mem mem 3}%
${font Play:normal:size=7}${voffset 14}${goto 348}${color1}SWAP${alignr 40}${color1}${swap} / ${color1}${swapmax}
${font Play:normal:size=7}${voffset 4}${goto 348}${color1}RAM ${alignr 40}${color1}${mem} / ${color1}${memmax}
${font Play:normal:size=7}${goto 80}${voffset -68}Root${color1}${alignr 310}${fs_used /} / ${fs_size /}
#${font Play:normal:size=7}${goto 80}${voffset 0}Home${alignr 310}${color1}${fs_used /home} / ${fs_size /home}
#${font Play:normal:size=7}${goto 80}${voffset 0}Usr${alignr 310}${color1}${fs_used /usr} / ${fs_size /usr}
${font Michroma:size=10}${color0}${goto 66}${voffset 30}HARD DRIVE
${font Michroma:size=10}${color0}${voffset 34}${goto 320}INTERNET INFO
# |--ETH0
${font Play:normal:size=7}${color1}${goto 298}${voffset 2}Up${goto 370}${color1}${lua conky_ifs_agg totalup} / ${color1}${lua conky_ifs_agg upspeed}
${font Play:normal:size=7}${goto 298}${color1}Down${goto 370}${color1}${lua conky_ifs_agg totaldown} / ${color1}${lua conky_ifs_agg downspeed}
${font Play:normal:size=8}${goto 300}${voffset 2}Public IP${goto 370}${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${execp ~/.conky/if_list.sh}
${font Michroma:size=9}${goto 90}${voffset -38}${color0}${time %a} ${color0}${time %x}
${font Michroma:size=18}${goto 118}${color1}${voffset -4}${time %H}:${time %M}
${font Michroma:size=8}${color0}${goto 296}${voffset 14}BATTERY
${font Play:size=8}${color0}${goto 278}${voffset 4}${color1}${battery_percent BAT1}%
#${font Play:normal:size=7}${goto 180}Uptime${color1}${alignr 100}${uptime_short}
#${font Michroma:size=11}${color0}${voffset 70}${alignr 130}${pre_exec cat /etc/issue.net} ${machine}
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment