You are not logged in.
qute liking the simple CPU graphs on the simple arch background...
looks nice
"Arch Linux - One update away from learning chroot" - Griemak
Offline
qute liking the simple CPU graphs on the simple arch background...
Wow, that looks really cool, can you post the config? Do you know if it would be possible to integrate it with the wallpaper? For example, this is my wallpaper right now. It would be really awesome to have the spiral "fill up" as the CPU usage increased.
Last edited by w1ntermute (2010-07-05 21:21:20)
Offline
can you post the config? Do you know if it would be possible to integrate it with the wallpaper? For example...
well.. to make it "spiral" you'd need to know how to code or edit lua code.
Here is the basic code for the rings (look at the code comments it is not made by me)
You need to edit the "x" and "y" coordinates to fit your desktop. Edit, have fun...
lua
--[[
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/rings-v1.2.1.lua
lua_draw_hook_pre ring_stats
Changelog:
+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009)
+ v1.2 -- Added option for the ending angle of the rings (07.10.2009)
+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009)
+ v1.0 -- Original release (28.09.2009)
]]
conky_background_color = 0x151515
conky_background_alpha = 0
ring_background_color = 0x424242
ring_background_alpha = 0.1
ring_foreground_color = 0x86c113
ring_foreground_color2 = 0x1994d1
ring_foreground_color3 = 0xaa0000
ring_foreground_alpha = 0.3
settings_table = {
-- {
-- Edit this table to customise your rings.
-- You can create more rings simply by adding more elements to settings_table.
-- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
-- name='time',
-- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
-- arg='%I.%M',
-- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
-- max=12,
-- "bg_colour" is the colour of the base ring.
-- bg_colour=ring_background_color,
-- "bg_alpha" is the alpha value of the base ring.
-- bg_alpha=ring_background_alpha,
-- "fg_colour" is the colour of the indicator part of the ring.
-- fg_colour=ring_foreground_color,
-- "fg_alpha" is the alpha value of the indicator part of the ring.
-- fg_alpha=ring_foreground_alpha,
-- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
-- x=26, y=25,
-- "radius" is the radius of the ring.
-- radius=10,
-- "thickness" is the thickness of the ring, centred around the radius.
-- thickness=6,
-- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
-- start_angle=0,
-- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger (e.g. more clockwise) than start_angle.
-- end_angle=360
-- },
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=680, y=360,
radius=360,
thickness=66,
start_angle=-120,
end_angle=-60
},
{
name='cpu',
arg='cpu2',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=580, y=360,
radius=360,
thickness=66,
start_angle=60,
end_angle=120
}
}
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_round_rect(cr, x0, y0, w, h, r)
if (w == 0) or (h == 0) then return end
local x1 = x0 + w
local y1 = y0 + h
if w/2 < r then
if h/2 < r then
cairo_move_to (cr, x0, (y0 + y1)/2)
cairo_curve_to (cr, x0 ,y0, x0, y0, (x0 + x1)/2, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, (y0 + y1)/2)
cairo_curve_to (cr, x1, y1, x1, y1, (x1 + x0)/2, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, (y0 + y1)/2)
else
cairo_move_to (cr, x0, y0 + r)
cairo_curve_to (cr, x0 ,y0, x0, y0, (x0 + x1)/2, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, y0 + r)
cairo_line_to (cr, x1 , y1 - r)
cairo_curve_to (cr, x1, y1, x1, y1, (x1 + x0)/2, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, y1- r)
end
else
if h/2 < r then
cairo_move_to (cr, x0, (y0 + y1)/2)
cairo_curve_to (cr, x0 , y0, x0 , y0, x0 + r, y0)
cairo_line_to (cr, x1 - r, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, (y0 + y1)/2)
cairo_curve_to (cr, x1, y1, x1, y1, x1 - r, y1)
cairo_line_to (cr, x0 + r, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, (y0 + y1)/2)
else
cairo_move_to (cr, x0, y0 + r)
cairo_curve_to (cr, x0 , y0, x0 , y0, x0 + r, y0)
cairo_line_to (cr, x1 - r, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, y0 + r)
cairo_line_to (cr, x1 , y1 - r)
cairo_curve_to (cr, x1, y1, x1, y1, x1 - r, y1)
cairo_line_to (cr, x0 + r, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, y1- r)
end
end
cairo_close_path (cr)
end
function draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
cs, cr = nil -- initialize our cairo surface and context to nil
function conky_ring_stats()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
if conky_window==nil then return end
--local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
--local cr=cairo_create(cs)
if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
if cs then cairo_surface_destroy(cs) end
cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
end
if cr then cairo_destroy(cr) end
cr = cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
conky_round_rect(cr, 3, 0, conky_window.width-6, conky_window.height-3, 15)
cairo_set_source_rgba(cr, rgb_to_r_g_b(conky_background_color, conky_background_alpha))
cairo_fill(cr)
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
cairo_destroy(cr)
cr = nil
end
function conky_cairo_cleanup()
cairo_surface_destroy(cs)
cs = nil
end
conky holder
background no
update_interval 1.0
double_buffer yes
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
text_buffer_size 2048
imlib_cache_size 0
override_utf8_locale yes
# +++++ Window +++++
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
minimum_size 1280 768
maximum_width 1280
alignment bottom_middle
gap_x 0
gap_y 0
# +++++ Styles +++++
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
# +++++ Colors +++++
default_shade_color 101010
default_color 8F8F8F
lua_load ~/.conky/desktopconky.lua
# +++++ LUA +++++
lua_draw_hook_pre ring_stats
# +++++ Font +++++
use_xft yes
xftfont DejaVu Sans:size=5
xftalpha 0.1
uppercase no
TEXT
Offline
here are some more meters added in...
alternate backgrounds
lua
--[[
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/rings-v1.2.1.lua
lua_draw_hook_pre ring_stats
Changelog:
+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009)
+ v1.2 -- Added option for the ending angle of the rings (07.10.2009)
+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009)
+ v1.0 -- Original release (28.09.2009)
]]
conky_background_color = 0x151515
conky_background_alpha = 0
ring_background_color = 0x424242
ring_background_alpha = 0.1
ring_foreground_color = 0x86c113
ring_foreground_color2 = 0x1994d1
ring_foreground_color3 = 0xaa0000
ring_foreground_alpha = 0.3
settings_table = {
-- {
-- Edit this table to customise your rings.
-- You can create more rings simply by adding more elements to settings_table.
-- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
-- name='time',
-- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
-- arg='%I.%M',
-- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
-- max=12,
-- "bg_colour" is the colour of the base ring.
-- bg_colour=ring_background_color,
-- "bg_alpha" is the alpha value of the base ring.
-- bg_alpha=ring_background_alpha,
-- "fg_colour" is the colour of the indicator part of the ring.
-- fg_colour=ring_foreground_color,
-- "fg_alpha" is the alpha value of the indicator part of the ring.
-- fg_alpha=ring_foreground_alpha,
-- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
-- x=26, y=25,
-- "radius" is the radius of the ring.
-- radius=10,
-- "thickness" is the thickness of the ring, centred around the radius.
-- thickness=6,
-- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
-- start_angle=0,
-- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger (e.g. more clockwise) than start_angle.
-- end_angle=360
-- },
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=680, y=360,
radius=360,
thickness=66,
start_angle=-120,
end_angle=-60
},
{
name='cpu',
arg='cpu2',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=580, y=360,
radius=360,
thickness=66,
start_angle=60,
end_angle=120
},
{
name='fs_used_perc',
arg='/home/tawan/Data',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=580, y=360,
radius=290,
thickness=40,
start_angle=60,
end_angle=120
},
{
name='memperc',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=680, y=360,
radius=290,
thickness=40,
start_angle=-120,
end_angle=-60
},
{
name='fs_used_perc',
arg='/',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=580, y=360,
radius=240,
thickness=26,
start_angle=60,
end_angle=90
}
}
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_round_rect(cr, x0, y0, w, h, r)
if (w == 0) or (h == 0) then return end
local x1 = x0 + w
local y1 = y0 + h
if w/2 < r then
if h/2 < r then
cairo_move_to (cr, x0, (y0 + y1)/2)
cairo_curve_to (cr, x0 ,y0, x0, y0, (x0 + x1)/2, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, (y0 + y1)/2)
cairo_curve_to (cr, x1, y1, x1, y1, (x1 + x0)/2, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, (y0 + y1)/2)
else
cairo_move_to (cr, x0, y0 + r)
cairo_curve_to (cr, x0 ,y0, x0, y0, (x0 + x1)/2, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, y0 + r)
cairo_line_to (cr, x1 , y1 - r)
cairo_curve_to (cr, x1, y1, x1, y1, (x1 + x0)/2, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, y1- r)
end
else
if h/2 < r then
cairo_move_to (cr, x0, (y0 + y1)/2)
cairo_curve_to (cr, x0 , y0, x0 , y0, x0 + r, y0)
cairo_line_to (cr, x1 - r, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, (y0 + y1)/2)
cairo_curve_to (cr, x1, y1, x1, y1, x1 - r, y1)
cairo_line_to (cr, x0 + r, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, (y0 + y1)/2)
else
cairo_move_to (cr, x0, y0 + r)
cairo_curve_to (cr, x0 , y0, x0 , y0, x0 + r, y0)
cairo_line_to (cr, x1 - r, y0)
cairo_curve_to (cr, x1, y0, x1, y0, x1, y0 + r)
cairo_line_to (cr, x1 , y1 - r)
cairo_curve_to (cr, x1, y1, x1, y1, x1 - r, y1)
cairo_line_to (cr, x0 + r, y1)
cairo_curve_to (cr, x0, y1, x0, y1, x0, y1- r)
end
end
cairo_close_path (cr)
end
function draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
cs, cr = nil -- initialize our cairo surface and context to nil
function conky_ring_stats()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
if conky_window==nil then return end
--local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
--local cr=cairo_create(cs)
if cs == nil or cairo_xlib_surface_get_width(cs) ~= conky_window.width or cairo_xlib_surface_get_height(cs) ~= conky_window.height then
if cs then cairo_surface_destroy(cs) end
cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
end
if cr then cairo_destroy(cr) end
cr = cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
conky_round_rect(cr, 3, 0, conky_window.width-6, conky_window.height-3, 15)
cairo_set_source_rgba(cr, rgb_to_r_g_b(conky_background_color, conky_background_alpha))
cairo_fill(cr)
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
cairo_destroy(cr)
cr = nil
end
function conky_cairo_cleanup()
cairo_surface_destroy(cs)
cs = nil
end
conky
background no
update_interval 1.0
double_buffer yes
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
text_buffer_size 2048
imlib_cache_size 0
override_utf8_locale yes
# +++++ Window +++++
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
minimum_size 1280 768
maximum_width 1280
alignment bottom_middle
gap_x 0
gap_y 0
# +++++ Styles +++++
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
# +++++ Colors +++++
default_shade_color 101010
default_color 8F8F8F
lua_load ~/.conky/desktopconky.lua
# +++++ LUA +++++
lua_draw_hook_pre ring_stats
# +++++ Font +++++
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.1
uppercase no
TEXT
${goto 870}CPU2
${goto 816}DATA
${goto 770}ROOT
${goto 425}RAM
${goto 360}CPU1
${alignc}${uptime}
Last edited by tawan (2010-07-06 11:20:51)
Offline
w1ntermute wrote:can you post the config? Do you know if it would be possible to integrate it with the wallpaper? For example...
well.. to make it "spiral" you'd need to know how to code or edit lua code.
Oh, I don't know any Lua. I guess I'll just use your background/meter setup.
Offline
after a lot of messing around I decided once again that nale is just much more stylish than me and so I stole and adapted his conky (here).
I also added the transparrent image inoto the conkyrc so that the conky always has a bit of a background to it no matter the desktop image..
Offline
What happens to the CPU graph if you have more than 2 cores? Can it scale?
Offline
after a lot of messing around I decided once again that nale is just much more stylish than me and so I stole and adapted his conky (here).
I also added the transparrent image inoto the conkyrc so that the conky always has a bit of a background to it no matter the desktop image..
What terminal is that? and do you have your .Xdefaults?
Offline
What terminal is that? and do you have your .Xdefaults?
One of the coolest things is this script called TransFollow that sets the background windows and applications to be a little transparrent and the front window to be opaque. To make it work I just copied the code these guys wrote to a text file and I have that launched by Autostart.sh. You must have xcompmgr dana too
The terminal is urxvt with this:
.Xdefaults
Xcursor.theme: entis_mini_cursors_x11_others
! xpdf -----------------------------------------------------------------------
xpdf*enableFreetype: yes
xpdf*antialias: yes
xpdf*foreground: black
xpdf*background: white
xpdf*urlCommand: /usr/bin/firefox %s
! Xft settings ---------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
! urxvt ----------------------------------------------------------------------
URxvt.buffered: true
URxvt.background: #2d2d2d
URxvt.foreground: #86c113
URxvt.cursorColor: #86c113
URxvt.underlineColor: #86c113
URxvt.font: xft:gohufont:pixelsize=16:antialias=false
URxvt.boldFont: xft:gohufont:bold:pixelsize=16:antialias=false
!URxvt.perl-ext-common: default,tabbed
URxvt.title: Terminal
URxvt.scrollBar_right: true
URxvt.scrollstyle: plain
URxvt*geometry: 111x22
URxvt.perl-ext-common : default,matcher
URxvt.urlLauncher : chromium
URxvt.matcher.button : 1
!--------------------------------------------------
! file: terminal colours
!---------------------------------------------------
*background: #171717
*foreground: #ffffff
! Black --------------------------------------------
*color0: #292929
*color8: #3d3d3d
! Red ----------------------------------------------
*color1: #DE6951
*color9: #c56a47
! Green --------------------------------------------
*color2: #bcda55
*color10: #9dbf60
! Yellow -------------------------------------------
*color3: #E2A564
*color11: #EC8A25
! Blue ---------------------------------------------
*color4: #2187F6
*color12: #5495DC
! Magenta ------------------------------------------
*color5: #875C8D
*color13: #E41F66
! Cyan ---------------------------------------------
*color6: #4390B1
*color14: #276CC2
! White --------------------------------------------
*color7: #D2D2D2
*color15: #ffffff
! EOD ----------------------------------------------
Offline
after a lot of messing around I decided once again that nale is just much more stylish than me and so I stole and adapted his conky (here).
I also added the transparrent image inoto the conkyrc so that the conky always has a bit of a background to it no matter the desktop image..
can you post the config pls ?
الناس رجلان : رجل نام في النور، و رجل استيقظ في الظلام!!
فاين انت منهما ؟؟؟
archlinux x86_64 | مجتمع لينكس العربي
Offline
the config was already linked to in the post you quoted but here is my adaptation - the original work is by nale12 and this edit is by me...
conky
# -- Conky settings -- #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
# -- Window specifications -- #
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
minimum_size 320 800
maximum_width 320
alignment top_right
gap_x 0
gap_y 0
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# -- Text settings -- #
use_xft yes
xftfont Sans:size=24
xftalpha 0.4
uppercase no
#colors
#good blue 1994d1
#medium blue 083146
#dark blue 041e2c
#lime 86c113
color1 cdcdcd
color2 86c113
color3 1994d1
color4 aa0000
default_color EEEEEE
# -- Lua Load -- #
lua_load ~/.conky/nale.lua
lua_draw_hook_pre ring_stats
TEXT
${image ~/.conky/conky-img.png -p 0,0 -f 86400}
${voffset 10}${goto 168}${font Digital Readout Thick Upright:size=18}${color3}${time %H}${color2}${time %M}
${voffset 14}
${color1}${voffset -40}${goto 120}${font Nu:size=9}Mail:${offset 70}Updates:
${goto 118}${font Nu:size=9}${execpi 25 cat ~/mybin/gmail-chris} | ${execpi 20 cat ~/mybin/gmail-tawan}${offset 86}${execpi 30 cat ~/mybin/pacman-status}
${voffset 57}${goto 117}${font snap:size=8}${color2}${cpu cpu1}%
${goto 117}${color3}${cpu cpu2}%
${goto 117}${color}CPU
${voffset 19}${goto 145}${color2}${memperc}%
${goto 145}${color3}$swapperc%
${goto 145}${color}MEM
${voffset 25}${goto 170}${color4}${acpitemp} C
${goto 170}${color}TEMP
${voffset 27}${goto 198}${color2}${downspeedf wlan0}
${goto 198}${color3}${upspeedf wlan0}
${goto 205}${color}NET
${voffset 21}${goto 222}${color2}${fs_used /home/tawan/Data/}
${goto 222}${color3}${fs_used /}
${goto 230}${color}DISK
lua
--[[
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/rings-v1.2.1.lua
lua_draw_hook_pre ring_stats
Changelog:
+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009)
+ v1.2 -- Added option for the ending angle of the rings (07.10.2009)
+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009)
+ v1.0 -- Original release (28.09.2009)
]]
conky_background_color = 0x151515
conky_background_alpha = 0
ring_background_color = 0x424242
ring_background_alpha = 0.9
ring_foreground_color = 0x86c113
ring_foreground_color2 = 0x1994d1
ring_foreground_color3 = 0xaa0000
ring_foreground_alpha = 1
settings_table = {
{
name='time',
arg='%S',
max=60,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=191, y=145,
radius=40,
thickness=12,
start_angle=0,
end_angle=360
},
{
name='time',
arg='%I.%M',
max=12,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=191, y=145,
radius=50,
thickness=5,
start_angle=-140,
end_angle=-30
},
{
name='time',
arg='%M.%S',
max=60,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=191, y=145,
radius=50,
thickness=5,
start_angle=30,
end_angle=140
},
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=140, y=300,
radius=26,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='cpu',
arg='cpu2',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=140, y=300,
radius=20,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='memperc',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=170, y=350,
radius=26,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='swapperc',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=170, y=350,
radius=20,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='fs_used_perc',
arg='/',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=260, y=503,
radius=20,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='fs_used_perc',
arg='/home/tawan/Data/',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=260, y=503,
radius=26,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='upspeedf',
arg='wlan0',
max=200,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=230, y=452,
radius=20,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='downspeedf',
arg='wlan0',
max=800,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=230, y=452,
radius=26,
thickness=5,
start_angle=-90,
end_angle=180
},
{
name='acpitemp',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color3,
fg_alpha=ring_foreground_alpha,
x=200, y=401,
radius=26,
thickness=6,
start_angle=-90,
end_angle=180
},
}
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 draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
function conky_ring_stats()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
if conky_window==nil then return end
local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
local cr=cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
end
Offline
tawan,
really amazing work dude, where do you get those awesome wallpapers? I would like some of them just installed conky so still I dont think I can do things like that for now, better learn how it works first
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
conkyrc
colorise.lua
pacupdate.pl
Nothing fancy. Recent conky versions support a "panel" mode so windows won't overlap conky window.
Last edited by Foucault (2010-07-23 17:16:13)
Offline
conkyrc
colorise.lua
pacupdate.plNothing fancy. Recent conky versions support a "panel" mode so windows won't overlap conky window.
OT: How do you let Conky to sync to servers? This pacupdate.pl seems to only report if any packages are outdated with pacman -Qu.
Offline
Oh yes, you are right. I totally forgot about this. Syncronising is made by a cronjob. Create the following script (let's name it "sync_pacman")
#!/bin/sh
/usr/bin/pacman -Sy
return 0;
Make it executable and place it under /etc/cron.hourly. It will sync to the servers every hour.
Last edited by Foucault (2010-07-23 18:52:03)
Offline
Thank you, Foucault!
One more question: Seems like conky doesn't love the color stuff from echo. Here's my scriptie:
#!/bin/bash
CHECK=`curl -u user:pass --silent "https://mail.google.com/mail/feed/atom" | tr -d '\n' | awk -F '<entry>' '{for (i=2; i<=NF; i++) {print $i}}' | perl -pe 's/^<title>(.*)<\/title>.*<name>(.*)<\/name>.*$/$2 - $1/' | wc -l`
if [ "$check" = "0" ]; then
echo '0'
else
echo -e "\e[1;31m$CHECK\e[00m"
fi
I've read somewhere that I should substitute the bash syntax with the conky one for the color stuff (The "echo -e "\e[1;31m$CHECK\e[00m"" part...). I've also found some thread around the forum talking around that, but I really can't realize how to get it for this thing. Any ideas?
Offline
The answer was in editing the crucial line to: echo "\${color red}$CHECK\$color"
That's all, folks!
Offline
I got a lua script working with a conky config to display some rings, can I change the rings color?
Last edited by 655321 (2010-07-29 07:24:56)
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
I got a lua script working with a conky config to display some rings, can I change the rings color?
this section at the top, beneath the comments
conky_background_color = 0x151515
conky_background_alpha = 0
ring_background_color = 0x4e4e4e
ring_background_alpha = 0.9
ring_foreground_color = 0x86c113
ring_foreground_color2 = 0x1994d1
ring_foreground_color3 = 0xaa0000
ring_foreground_alpha = 1
Offline
for the guy who asked in the July thread.. (even though it has changed since then)
conky:
# -- Conky settings -- #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
# -- Window specifications -- #
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
minimum_size 320 800
maximum_width 320
alignment top_right
gap_x 0
gap_y 0
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# -- Text settings -- #
use_xft yes
xftfont Sans:size=24
xftalpha 0.4
uppercase no
#colors
#good blue 1994d1
#medium blue 083146
#dark blue 041e2c
#lime 86c113
color1 cdcdcd
color2 86c113
color3 1994d1
color4 aa0000
color5 1d1d1d
default_color EEEEEE
# -- Lua Load -- #
lua_load ~/.conky/wan.lua
lua_draw_hook_pre ring_stats
TEXT
${image ~/.conky/conky-img.png -p 0,0 -f 86400}
${font Nu:size=9}
${goto 130}${color}CPU${goto 228}MEM
${goto 117}${font snap:size=8}${color2}${cpu cpu1}%${goto 146}${color3}${cpu cpu2}%${goto 215}${color2}${memperc}%${goto 244}${color3}$swapperc%
${font Nu:size=9}
${goto 132}${color}NET${goto 226}${color}DISK
${goto 115}${color2}${font snap:size=8}${downspeedf wlan0}${goto 149}${color3}${upspeedf wlan0}${goto 215}${color2}${fs_used /home/tawan/Data/}
${goto 215}${color3}${fs_used /}
${goto 157}${color1}${execpi 10 cat ~/mybin/routerinfo}
${color1}${goto 120}${font Nu:size=9}Mail:${offset 70}Updates:
${goto 118}${font Nu:size=9}${execpi 25 cat ~/mybin/gmail-chris} | ${execpi 20 cat ~/mybin/gmail-tawan}${offset 88}${execpi 30 cat ~/mybin/pacman-status}
${if_match ${battery_percent BAT0} >= 98}${color5}${else}${if_existing /sys/class/power_supply/ACAD/online 0}${color3}${else}${color2}${endif}${endif}${goto 150}${battery_bar 4,70 BAT0}${if_existing /sys/class/power_supply/ACAD/online 0}${if_match ${battery_percent BAT0} <= 8}${execi 200 ~/mybin/tawan-lowpower-shutdown}${endif}${endif}
lua:
--[[
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/rings-v1.2.1.lua
lua_draw_hook_pre ring_stats
Changelog:
+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009)
+ v1.2 -- Added option for the ending angle of the rings (07.10.2009)
+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009)
+ v1.0 -- Original release (28.09.2009)
]]
conky_background_color = 0x151515
conky_background_alpha = 0
ring_background_color = 0x4e4e4e
ring_background_alpha = 0.9
ring_foreground_color = 0x86c113
ring_foreground_color2 = 0x1994d1
ring_foreground_color3 = 0xaa0000
ring_foreground_alpha = 1
settings_table = {
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=140, y=300,
radius=26,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='cpu',
arg='cpu2',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=140, y=300,
radius=20,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='acpitemp',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color3,
fg_alpha=ring_foreground_alpha,
x=140, y=300,
radius=23,
thickness=2,
start_angle=-90,
end_angle=90
},
{
name='memperc',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=236, y=300,
radius=26,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='swapperc',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=236, y=300,
radius=20,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='fs_used_perc',
arg='/',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=236, y=367,
radius=20,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='fs_used_perc',
arg='/home/tawan/Data/',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=236, y=367,
radius=26,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='upspeedf',
arg='wlan0',
max=200,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color2,
fg_alpha=ring_foreground_alpha,
x=140, y=367,
radius=20,
thickness=5,
start_angle=-90,
end_angle=90
},
{
name='downspeedf',
arg='wlan0',
max=800,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=140, y=367,
radius=26,
thickness=5,
start_angle=-90,
end_angle=90
}
}
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 draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
function conky_ring_stats()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
if conky_window==nil then return end
local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
local cr=cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
end
tint2:
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 0
border_width = 2
background_color = #111111 100
border_color = #111111 100
# ID 2
rounded = 4
border_width = 2
background_color = #111111 100
border_color = #86C113 100
# ID 3
rounded = 6
border_width = 0
background_color = #E1ECF9 100
border_color = #FFFFFF 100
# Panel
panel_monitor = all
panel_position = top left vertical
panel_size = 100% 28
panel_margin = 0 0
panel_padding = 0 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 1
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.0
autohide_hide_timeout = 0.0
autohide_height = 12
strut_policy = none
# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 0 0 0
taskbar_background_id = 1
taskbar_active_background_id = 2
# Tasks
urgent_nb_of_blink = 7
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 20 20
task_padding = 4 1
task_background_id = 0
task_active_background_id = 0
task_urgent_background_id = 0
task_iconified_background_id = 0
# Task Icons
task_icon_asb = 40 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 20 0 0
# Fonts
task_font = sans 7
task_font_color = #FFFFFF 60
task_active_font_color = #000000 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #FFFFFF 100
font_shadow = 1
# System Tray
systray = 1
systray_padding = 4 4 5
systray_sort = left2right
systray_background_id = 1
systray_icon_size = 12
systray_icon_asb = 80 0 0
# Clock
time1_format = %H:%M
time1_font = Digital Readout Thick Upright Bold 8
time2_format = %d%b
time2_font = Sans 6
clock_font_color = #86C113 100
clock_padding = 4 2
clock_background_id = 1
clock_lclick_command = zenity --calendar
clock_rclick_command = zenity --calendar
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.3
tooltip_hide_timeout = 0.5
tooltip_background_id = 1
tooltip_font = sans 10
tooltip_font_color = #FFFFFF 80
# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = none
mouse_scroll_down = none
# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #FFFFFF 60
battery_padding = 1 0
battery_background_id = 1
# End of config
This time the theme is Lime Dark but I often use wow dark or T-dark, the icons this time are area.o53 but I often use anycolouryoulike.
Last edited by tawan (2010-08-01 01:51:33)
Offline
for the guy who asked in the July thread.. (even though it has changed since then)
Nice wallpaper, even if it's a picture of my living room - would you upload it somewhere?
Offline
hey those rings in conky look just great, maybe ill try that.
for now i got this
the .conkyrc (conky config) is this one: http://paste.pocoo.org/show/244616/
Last edited by quarkup (2010-08-02 11:23:47)
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
Haven't been using Arch for long, but got this in Openbox running 4 conkys, cairo-dock, and tint2 panel. A lot of it was done using ideas and help posted in this very thread, so thankyou! I love my desktop now
Uploaded with ImageShack.us
Can post configs for all this stuff if anybody wants. Like i said, most of it is in this thread already. Wallpaper was off deviantart somewhere.
Offline