Font was found in the repo's
I cant remember what it started off as, but I got it and modified the crap out of it over the past few years. Some things were borrowed from others, some things, like the damn -<<<[NAME]>>>- stuff was done by hand with a lot of trial and error. Originally tried to use the font msmam10 ( I think it was called) and it caused conky to just not load.
Code:
# Conky
background no
no_buffers yes
out_to_console no
top_cpu_separate no
max_port_monitor_connections 256
cpu_avg_samples 2
net_avg_samples 3
total_run_times 0
update_interval 2
music_player_interval 3
# Text
uppercase no
override_utf8_locale yes
short_units no
pad_percents 0
text_buffer_size 512
max_user_text 16384
font Sans:size=13
use_xft yes
xftalpha 1.0
xftfont Sans:size=12
# Window
own_window yes
own_window_colour 010101
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type widget
# Graphics
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_shades no
draw_outline no
stippled_borders 5
max_specials 512
# Layout
alignment top_right
gap_x 12
gap_y 40
maximum_width 325
minimum_size 320 5
use_spacer none
# border_margin 4
border_inner_margin 5
border_outer_margin 5
border_width 0
# Colors
default_color ececec
default_outline_color ececec
default_shade_color ececec
color0 f9e1a7
color1 d9c28c
color2 db8e4f
color3 a76c3c
color4 f1b83d
color5 deb629
color6 523a06
color7 fcff00
color8 808080
color9 7229c3
# Misc
temperature_unit fahrenheit
# Lua
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
TEXT
###### System
#
${voffset -1}${font Sans:size=9:style=bold}-<<${voffset -1}${font Sans:size=12:style=bold}<<${voffset -3}${font Sans:size=15:style=bold}<<${font}[${font [F500]:size=17:style=bold}${color0}SYSTEM${color}${font}]${voffset -3}${font Sans:size=15:style=bold}>>${voffset -1}${font Sans:size=12:style=bold}>>${voffset -1}${font Sans:size=9:style=bold}>>-${font}
#
Distro> ${color0}$alignr${font OpenLogos:size=11}u${font} ${exec lsb_release -d | cut -c 14-19} ${exec lsb_release -c | cut -c 11-} ${exec lsb_release -r | cut -c 10-} ${color}
#Hostname> ${color0}$alignr$nodename${color}
Kernel> ${color0}$alignr$kernel${color}
CPU Type> ${color0}$alignr$machine${color}
GPU Temp> ${color0}$alignr${execi 60 echo "`nvidia-settings -t -q GPUCoreTemp` *9/5+32" | bc}°${color}
Updates> ${color0}$alignr}${execi 1800 aptitude search "~U" | wc -l | tail} available${color}
Uptime> ${color0}$alignr$uptime${color}
#
###### CPU and MEM
#
${voffset -1}${font Sans:size=9:style=bold}-<<${voffset -1}${font Sans:size=12:style=bold}<<${voffset -3}${font Sans:size=15:style=bold}<<${font}[${font [F500]:size=17:style=bold}${color0}CPU/MEM${color}${font}]${voffset -3}${font Sans:size=15:style=bold}>>${voffset -1}${font Sans:size=12:style=bold}>>${voffset -1}${font Sans:size=9:style=bold}>>-${font}
#
CPU0 Freq> ${color0}${freq_g cpu1}ghz${color} ${alignr}CPU1 Freq> ${color0}${freq_g cpu2}ghz${color}
CPU0 Temp> ${color0}${platform coretemp.0 temp 1}°${color}${alignr}CPU1 Temp> ${color0}${platform coretemp.1 temp 1}°${color}
${cpugraph cpu1 20,150 7229c3 db8e4f} ${alignr}${cpugraph cpu2 20,150 7229c3 db8e4f}
CPU0> ${color0}${cpu cpu1}%${alignr}${color2}${alignr}${cpubar cpu1 6,200}${color}
CPU1> ${color0}${cpu cpu2}%${alignr}${color2}${alignr}${cpubar cpu2 6,200}${color}
Ram> ${color0}${alignr}$mem / $memmax ($memperc%)
${color2}${membar 6}${color}
Swap> ${color0}${alignr}$swap / $swapmax ($swapperc%)
${color2}${swapbar 6}${color}
Highest CPU> $alignr CPU% MEM%
1> ${color1}${top name 1}$alignr${top cpu 1} ${top mem 1}${color}
2> ${color2}${top name 2}$alignr${top cpu 2} ${top mem 2}${color}
3> ${color3}${top name 3}$alignr${top cpu 3} ${top mem 3}${color}
Highest MEM> $alignr CPU% MEM%
1> ${color1}${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1}${color}
2> ${color2}${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2}${color}
3> ${color3}${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3}${color}
#
###### Drives
#
${voffset -1}${font Sans:size=9:style=bold}-<<${voffset -1}${font Sans:size=12:style=bold}<<${voffset -3}${font Sans:size=15:style=bold}<<${font}[${font [F500]:size=17:style=bold}${color0}Drives${color}${font}]${voffset -3}${font Sans:size=15:style=bold}>>${voffset -1}${font Sans:size=12:style=bold}>>${voffset -1}${font Sans:size=9:style=bold}>>-${font}
#
#Root> ${color0}${fs_type /}${alignr}${fs_size /}${color}
#Free> ${color0}${fs_free_perc /}%${alignr}${fs_free /}${color}
#Used> ${color0}${fs_used_perc /}%${alignr}${fs_used /}${color}
#${color2}${fs_bar 6 /}${color}
Home> ${color0}${fs_type /home/boogeyman}${alignr}${fs_size /home/boogeyman}${color}
Free> ${color0}${fs_free_perc /home/boogeyman}%${alignr}${fs_free /home/boogeyman}${color}
Used> ${color0}${fs_used_perc /home/boogeyman}%${alignr}${fs_used /home/boogeyman}${color}
${color2}${fs_bar 6 /home/boogeyman/}${color}
TV Shows> ${color0}${fs_type /home/boogeyman/TV-Shows}${alignr}${fs_size /home/boogeyman/TV-Shows}${color}
Free> ${color0}${fs_free_perc /home/boogeyman/TV-Shows}%${alignr}${fs_free /home/boogeyman/TV-Shows}${color}
Used> ${color0}${fs_used_perc /home/boogeyman/TV-Shows}%${alignr}${fs_used /home/boogeyman/TV-Shows}${color}
${color2}${fs_bar 6 /home/boogeyman/TV-Shows}${color}
Movies> ${color0}${fs_type /home/boogeyman/Videos}${alignr}${fs_size /home/boogeyman/Videos}${color}
Free> ${color0}${fs_free_perc /home/boogeyman/Videos}%${alignr}${fs_free /home/boogeyman/Videos}${color}
Used> ${color0}${fs_used_perc /home/boogeyman/Videos}%${alignr}${fs_used /home/boogeyman/Videos}${color}
${color2}${fs_bar 6 /home/boogeyman/Videos}${color}
Misc-Storage> ${color0}${fs_type /home/boogeyman/Misc-Storage}${alignr}${fs_size /home/boogeyman/Misc-Storage}${color}
Free> ${color0}${fs_free_perc /home/boogeyman/Misc-Storage}%${alignr}${fs_free /home/boogeyman/Misc-Storage}${color}
Used> ${color0}${fs_used_perc /home/boogeyman/Misc-Storage}%${alignr}${fs_used /home/boogeyman/Misc-Storage}${color}
${color2}${fs_bar 6 /home/boogeyman/Misc-Storage}${color}
WinLinXross> ${color0}${fs_type /home/boogeyman/WinLinXross}${alignr}${fs_size /home/boogeyman/WinLinXross}${color}
Free> ${color0}${fs_free_perc /home/boogeyman/WinLinXross}%${alignr}${fs_free /home/boogeyman/WinLinXross}${color}
Used> ${color0}${fs_used_perc /home/boogeyman/WinLinXross}%${alignr}${fs_used /home/boogeyman/WinLinXross}${color}
${color2}${fs_bar 6 /home/boogeyman/WinLinXross}${color}
#
###### Network
#
${voffset -1}${font Sans:size=9:style=bold}-<<${voffset -1}${font Sans:size=12:style=bold}<<${voffset -3}${font Sans:size=15:style=bold}<<${font}[${font [F500]:size=17:style=bold}${color0}Network${color}${font}]${voffset -3}${font Sans:size=15:style=bold}>>${voffset -1}${font Sans:size=12:style=bold}>>${voffset -1}${font Sans:size=9:style=bold}>>-${font}
#
Public IP> ${alignr}${color0}${exec wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}${color}
Local IP>${color0}${alignr}${addr eth0}${color}
Down> ${color0}${downspeedf eth0} k/s${color} ${alignr}Up> ${color0}${upspeedf eth0} k/s${color}
${downspeedgraph eth0 20,150 7229c3 d9c28c} ${alignr}${upspeedgraph eth0 20,150 7229c3 d9c28c}
Total> ${color0}${totaldown eth0}${color} ${alignr}Total> ${color0}${totalup eth0}${color}
#
###### Music
#
${voffset -1}${font Sans:size=9:style=bold}-<<${voffset -1}${font Sans:size=12:style=bold}<<${voffset -3}${font Sans:size=15:style=bold}<<${font}[${font [F500]:size=17:style=bold}${color0}Now Playing${color}${font}]${voffset -3}${font Sans:size=15:style=bold}>>${voffset -1}${font Sans:size=12:style=bold}>>${voffset -1}${font Sans:size=9:style=bold}>>-${font}
#
Artist> $alignr${color0}${if_match "${execi 5 expr length "`rhythmbox-client --print-playing-format %ta | head -n 1`"}" >= "37"}${scroll 37 1 ${exec rhythmbox-client --print-playing-format %ta --no-start}}${else}${exec rhythmbox-client --print-playing-format %ta --no-start}${endif}${color}
Album> $alignr${color0}${if_match "${execi 5 expr length "`rhythmbox-client --print-playing-format %at | head -n 1`"}" >= "33"}${scroll 33 1 ${exec rhythmbox-client --print-playing-format %at --no-start}}${else}${exec rhythmbox-client --print-playing-format %at --no-start}${endif}${color}
Song> $alignr${color0}${if_match "${execi 5 expr length "`rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "37"}${scroll 37 1 ${exec rhythmbox-client --print-playing-format %tt --no-start}}${else}${exec rhythmbox-client --print-playing-format %tt --no-start}${endif}${color}
lua script
Code:
--[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
Changelog:
+ v1.0 -- Original release (07.10.2009)
]]
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=0
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000
bg_alpha=0.6
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end
Link to thread for full screenshot, easier to understand why I used those colors:
http://ubuntuforums.org/showthread.p...3#post12082493
Bookmarks