Bem-vindo: Ter, 16 de Abril 2024, 9:01 Pesquisa avançada

Mostre o seu Desktop!

Apresente aqui temas que gostou, skins de programas, ícones, wallpapers, conky's, etc. Ou seja, tudo o que possa alterar de estético no seu Ubuntu, apresente aqui. Em caso de dúvidas de personalização ou se quiser mostrá-la ao mundo, utilize esta secção!

Re: Mostre o seu Desktop!

Mensagempor Donatello van Dijck » Qui, 8 de Setembro 2011, 1:13

leandrolopes » Seg Set 05, 2011 9:53 pm escreveu:
Até que enfim, Conky


Imagem

Cacetosa composição... desktop de :rei: !
Avatar do usuário
Donatello van Dijck
 
Mensagens: 42
Registrado em: 01 Setembro, 2011
Localização: Rio de Janeiro

Re: Mostre o seu Desktop!

Mensagempor Donatello van Dijck » Qui, 8 de Setembro 2011, 1:30

UM SIMPLES CAFEZINHO


Imagem
ImagemImagem


Sistema operacional : Ubuntu 11.04
Tema emerald: 71352 radial
ícones: ainda AwOken
Editado pela última vez por Donatello van Dijck em Qui, 8 de Setembro 2011, 13:19, em um total de 1 vez.
Avatar do usuário
Donatello van Dijck
 
Mensagens: 42
Registrado em: 01 Setembro, 2011
Localização: Rio de Janeiro

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Qui, 8 de Setembro 2011, 2:20

AGARB REGOR


Imagem
:ubuntued: "Somente seres humanos excepcionais e irrepreensíveis suscitam ideias generosas e ações elevadas. O conhecimento é limitado. A imaginação envolve ao mundo."
:ubuntued:
Avatar do usuário
Roger Braga
Mr. Deskmod
 
Mensagens: 755
Registrado em: 04 Julho, 2011
Localização: São Paulo, BRASIL

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Qui, 8 de Setembro 2011, 3:07

SPIDERMAN

Imagemhttp://i.imgur.com/r79cq.jpg
Imagemhttp://i.imgur.com/lR589.png Imagemhttp://i.imgur.com/FMSUw.png
  • Sistema Operativo:Ubuntu 10.10 Maverick Meerkat
  • Tema:http://linux.softpedia.com/get/Desktop-Environment/Themes/Immortality-62020.shtml
  • Ícones:http://gnome-look.org/content/show.php/DarkArts?content=144071
  • Wallpaper:http://i1-mac.softpedia-static.com/screenshots/Spiderman-Wallpaper_1.jpg
  • Cursor:http://gnome-look.org/content/show.php/GlassMaxX?content=119305
  • Fonte:http://www.1001fonts.com/font_details.html?font_id=901
  • Outros:AWN
  • Conky:
    conkyrc4
    Spoiler:
    background yes
    use_xft yes
    xftfont URW Gothic L:size=8
    xftalpha 1
    update_interval 1
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 900 300
    maximum_width 1000
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color 778899
    default_shade_color 000000
    #default_outline_color 555555
    alignment br
    gap_x 12
    gap_y 396
    no_buffers yes
    minimum_size 420 200
    maximum_width 420

    override_utf8_locale yes




    # — Lua Load — #


    # SET THE PATH TO THE SCRIPT HERE
    lua_load /home/roger/conki/equalizer.lua
    lua_draw_hook_pre main



    TEXT
    ${voffset 160}${font URW Gothic L:size=18}CPU: ${cpu}%
    ${voffset -23}${hr 2}

    equalizer.lua

    Spoiler:
    require 'cairo'

    --[[ EQUALIZER WIDGET
    v1.1 by wlourf (13 Feb. 2010)
    This widget draw a simple bar like (old) equalizers on hi-fi systems.
    http://u-scripts.blogspot.com/

    The arguments are :
    - "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'...
    or you can set it to "" if you want to display a numeric value with arg=numeric_value
    - "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 ''.
    - "max" is the maximum value of the bar. If the Conky variable outputs a percentage, use 100.
    - "nb_blocks" is the umber of block to draw
    - "cap" id the cap of a block, possibles values are CAIRO_LINE_CAP_ROUND , CAIRO_LINE_CAP_SQUARE or CAIRO_LINE_CAP_BUTT
    see http://www.cairographics.org/samples/set_line_cap/
    - "xb" and "yb" are the coordinates of the bottom left point of the bar
    - "w" and "h" are the width and the height of a block (without caps)
    - "space" is the space betwwen two blocks, can be null or negative
    - "bgc" and "bga" are background colors and alpha when the block is not LIGHT OFF
    - "fgc" and "fga" are foreground colors and alpha when the block is not LIGHT ON
    - "alc" and "ala" are foreground colors and alpha when the block is not LIGHT ON and ALARM ON
    - "alarm" is the value where blocks LIGHT ON are in a different color (values from 0 to 100)
    - "led_effect" true or false : to show a block with a led effect
    - "led_alpha" alpha of the center of the led (values from 0 to 1)
    - "smooth" true or false : colors in the bar has a smooth effect
    - "mid_color",mid_alpha" : colors of the center of the bar (mid_color can to be set to nil)
    - "rotation" : angle of rotation of the bar (values are 0 to 360 degrees). 0 = vertical bar, 90 = horizontal bar
    v1.0 (10 Feb. 2010) original release
    v1.1 (13 Feb. 2010) numeric values can be passed instead conky stats with parameters name="", arg = numeric_value
    ]]

    function equalizer(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
    local function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end

    local function setup_equalizer()

    local value = 0
    if name ~="" then
    local str = conky_parse(string.format('${%s %s}', name, arg))
    value = tonumber(str)
    else
    value = arg
    end
    if value==nil then value =0 end
    local pct = 100*value/max
    local pcb = 100/nb_blocks

    cairo_set_line_width (cr, h)
    cairo_set_line_cap (cr, cap)

    local angle= rotation*math.pi/180
    for pt = 1,nb_blocks do
    local light_on=false
    --set colors
    local col,alpha = bgc,bga
    if pct>=(100/nb_blocks/2) then --start after an half bloc
    if pct>=(pcb*(pt-1)) then
    light_on=true
    col,alpha = fgc,fga
    if pct>=alarm and (pcb*pt)>alarm then col,alpha = alc,ala end
    end
    end

    --vertical points
    local x1=xb
    local y1=yb-pt*(h+space)
    local radius0 = yb-y1

    local x2=xb+radius0*math.sin(angle)
    local y2=yb-radius0*math.cos(angle)

    --line on angle
    local a1=(y2-yb)/(x2-xb)
    local b1=y2-a1*x2

    --line perpendicular to angle
    local a2=-1/a1
    local b2=y2-a2*x2

    --dots on perpendicular
    local xx0,xx1,yy0,yy1=0,0,0,0
    if rotation == 90 or rotation == 270 then
    xx0,xx1=x2,x2
    yy0=yb
    yy1=yb+w
    else
    xx0,xx1=x2,x2+w*math.cos(angle)
    yy0=xx0*a2+b2
    yy1=xx1*a2+b2
    end

    --perpendicular segment
    cairo_move_to (cr, xx0 ,yy0)
    cairo_line_to (cr, xx1 ,yy1)

    --colors
    local xc,yc=(xx0+xx1)/2,(yy0+yy1)/2
    if light_on and led_effect then
    local pat = cairo_pattern_create_radial (xc, yc, 0, xc,yc,w/1.5)
    cairo_pattern_add_color_stop_rgba (pat, 0, rgb_to_r_g_b(col,led_alpha))
    cairo_pattern_add_color_stop_rgba (pat, 1, rgb_to_r_g_b(col,alpha))
    cairo_set_source (cr, pat)
    cairo_pattern_destroy(pat)
    else
    cairo_set_source_rgba(cr, rgb_to_r_g_b(col,alpha))
    end

    if light_on and smooth then
    local radius = (nb_blocks+1)*(h+space)
    if pt==1 then
    xc0,yc0=xc,yc --remember the center of first block
    end
    cairo_move_to(cr,xc0,yc0)
    local pat = cairo_pattern_create_radial (xc0, yc0, 0, xc0,yc0,radius)
    cairo_pattern_add_color_stop_rgba (pat, 0, rgb_to_r_g_b(fgc,fga))
    cairo_pattern_add_color_stop_rgba (pat, 1, rgb_to_r_g_b(alc,ala))
    if mid_color ~=nil then
    cairo_pattern_add_color_stop_rgba (pat, 0.5,rgb_to_r_g_b(mid_color,mid_alpha))
    end
    cairo_set_source (cr, pat)
    cairo_pattern_destroy(pat)
    end

    cairo_stroke (cr);

    end
    end
    --prevent segmentation error
    local updates=tonumber(conky_parse('${updates}'))
    if updates> 3 then
    setup_equalizer()
    end
    end





    function conky_main()
    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)

    cr = cairo_create(cs)

    local x0 = 10, conky_window.height-10
    local y0 = 190
    local blocks = 20
    local cap_round = CAIRO_LINE_CAP_ROUND
    local cap_square = CAIRO_LINE_CAP_SQUARE
    local cap_butt = CAIRO_LINE_CAP_BUTT
    local w,h=5,5
    local s=1
    local bgc,bga = 0xffffff, 0.215
    local fgc,fga = 0xA1CCD4, 1
    local alc,ala = 0xCBEBF3, 1
    local mid_color,mid_alpha = 0xB6E8EC, 1.0
    local led_effect, led_alpha = true , 1.0
    local alarm = 50
    local smooth = true


    local updates=tonumber(conky_parse('${updates}'))
    if updates==1 then
    len_t=57
    t1={}
    t2={}
    t3={}
    len_t2=3
    len_t3=1

    end
    if updates> 3 then
    for i = 1, tonumber(len_t) do
    if t1[i+1]==nil then t1[i+1]=0 end
    if t2[i+1]==nil then t2[i+1]=0 end
    t1[i]=t1[i+1]
    t2[i]=t2[i+1]
    if i==len_t then
    t1[len_t]=tonumber(conky_parse('${cpu}'))
    t2[len_t]=tonumber(conky_parse('${cpu cpu1}'))
    t3[len_t]=tonumber(conky_parse('${memperc}'))

    end
    --(reminder
    --(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
    equalizer('', t1[i], 100, blocks, cap_round, 125+i*5+2, y0+4,0,h,s,bgc,bga, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 100, y0-i,0,h,s,bgc,bga, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 106, y0-i,0,h,s,bgc,bga, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)


    end

    for i = 1, len_t3 do
    if t3[i+1]==nil then t3[i+1]=0 end
    t3[i]=t3[i+1]
    if i==len_t3 then
    t3[len_t3]=tonumber(conky_parse('${memperc}'))
    end
    --(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
    -- equalizer('', 0, 100, blocks, cap_round, 429, y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 435, y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 441 , y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    --equalizer('', t3[i], 100, blocks, cap_round, 447, y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    end
    end

    cairo_destroy(cr)
    cairo_surface_destroy(cs)

    end

    conkyrc7

    Spoiler:
    alignment top_right
    background yes
    border_margin 5
    border_width 5
    default_color 778899 # grey 5f5f5f 3F3F3F
    double_buffer yes
    draw_borders no
    draw_outline no
    draw_shades no
    gap_x 10
    gap_y 80
    maximum_width 1290
    minimum_size 440
    no_buffers yes
    override_utf8_locale yes
    own_window yes
    own_window_title conky
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_type override ## normal /override /desktop
    text_buffer_size 8000
    total_run_times 0
    update_interval 0.5
    uppercase no
    use_xft yes
    xftalpha 1
    xftfont Homoarakhn:pixelsize=9

    # fonts
    # Blue Highway
    # Zegoe Light - U
    # Zekton
    # Calibri
    # Engebrechtre
    # Opeln2001
    # Aller Display

    TEXT
    ${font Homoarakhn:pixelsize=65}${alignc}${time %H:%M}${font}

    ${font Homoarakhn:pixelsize=19}${alignc}${time %B %d, %Y}
    ${alignc}${time %A}${font}

AGARB REGOR


Imagem
:ubuntued: "Somente seres humanos excepcionais e irrepreensíveis suscitam ideias generosas e ações elevadas. O conhecimento é limitado. A imaginação envolve ao mundo."
:ubuntued:
Avatar do usuário
Roger Braga
Mr. Deskmod
 
Mensagens: 755
Registrado em: 04 Julho, 2011
Localização: São Paulo, BRASIL

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Qui, 8 de Setembro 2011, 5:13

Assassin's Creed

Imagemhttp://i.imgur.com/BWA9E.jpg
Imagemhttp://i.imgur.com/ZtkoI.jpg Imagemhttp://i.imgur.com/uUk0B.jpg

AGARB REGOR


Imagem
:ubuntued: "Somente seres humanos excepcionais e irrepreensíveis suscitam ideias generosas e ações elevadas. O conhecimento é limitado. A imaginação envolve ao mundo."
:ubuntued:
Avatar do usuário
Roger Braga
Mr. Deskmod
 
Mensagens: 755
Registrado em: 04 Julho, 2011
Localização: São Paulo, BRASIL

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Qui, 8 de Setembro 2011, 5:47

WORLD WAR 3

Imagemhttp://i.imgur.com/HENwl.png
Imagemhttp://i.imgur.com/8JH8z.png Imagemhttp://i.imgur.com/OCdnv.png
  • Sistema Operativo:Ubuntu 10.10 Maverick Meerkat
  • Tema:http://gnome-look.org/content/show.php/Sonar3_5?content=138584
  • Ícones:http://gurato.deviantart.com/art/Classy-V-2-174120157?q=boost:popular+in:customization/icons/dock+max_age:744h&qo=2
  • Wallpaper:http://abstract.desktopnexus.com/wallpaper/111749/
  • Cursor:http://gnome-look.org/content/show.php/Powder?content=109306
  • Fonte:http://www.2-free.net/free-fonts/bullpen-3d/31293.html
  • Outros:AWN
  • Conky:
    conkyrc7
    Spoiler:
    alignment top_right
    background yes
    border_margin 5
    border_width 5
    default_color 6CA6CD # grey 5f5f5f 3F3F3F
    double_buffer yes
    draw_borders no
    draw_outline no
    draw_shades no
    gap_x 10
    gap_y 20
    maximum_width 1290
    minimum_size 440
    no_buffers yes
    override_utf8_locale yes
    own_window yes
    own_window_title conky
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_type override ## normal /override /desktop
    text_buffer_size 8000
    total_run_times 0
    update_interval 0.5
    uppercase no
    use_xft yes
    xftalpha 1
    xftfont Homoarakhn:pixelsize=9

    # fonts
    # Blue Highway
    # Zegoe Light - U
    # Zekton
    # Calibri
    # Engebrechtre
    # Opeln2001
    # Aller Display

    TEXT
    ${font Bullpen 3D:pixelsize=105}${alignc}${time %H:%M}${font}

    ${font Bullpen 3D:pixelsize=29}${alignc}${time %B %d, %Y}
    ${alignc}${time %A}${font}

    conkyrc3
    Spoiler:
    background no
    update_interval 1
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_type override
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    no_buffers yes
    text_buffer_size 2048
    cpu_avg_samples 2
    net_avg_samples 2
    override_utf8_locale yes
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    use_spacer none
    minimum_size 250 250
    maximum_width 250 0

    alignment top_left
    gap_x 10
    gap_y 800

    uppercase no
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 1.0
    default_color BAC8DD
    color1 c0c545
    color2 137797
    TEXT
    # |--WLAN0
    ${if_up wlan0}
    ${execpi 10800 conkyForecast --location=BRXX0232 --template=/home/roger/conki/weather1.template}
    # |--ETH0
    ${else}${if_up eth0}
    ${execpi 10800 conkyForecast --location=BRXX0232 --template=/home/roger/conki/weather1.template}
    # |--PPP0
    ${else}${if_up ppp0}
    ${execpi 10800 conkyForecast --location=BRXX0232 --template=/home/roger/conki/weather1.template}
    ${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Weather Unavailable${voffset 14}${endif}${endif}${endif}

    weather1.template
    Spoiler:
    ${color1}${font :size=18}${voffset -20}${alignc}[--datatype=CN]${font}${color}
    ${alignc}${voffset 8}${font saxMono:size=10}[--datatype=HT]${font}
    ${font}${alignc}${voffset 0}${font saxMono:size=9}${time %a. %d %B %Y}${font}
    ${image [--datatype=WI] -p 10,-5 -s 54x54}${image [--datatype=BI] -p 123,208 -s 35x35}${image [--datatype=MI] -p 200,0 -s 40x40}${font :size=8}
    ${image [--datatype=WI --startday=1] -p 10,70 -s 30x30}${image [--datatype=WI --startday=2] -p 10,115 -s 30x30}${image [--datatype=WI --startday=3] -p 10,163 -s 30x30}${image [--datatype=WI --startday=4] -p 10,208 -s 30x30}
    ${font saxMono:size=7}${voffset -20}${offset 47}[--datatype=DW --startday=1 --endday=1]
    ${offset 50}[--datatype=HT --startday=1 --endday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --endday=1 --hideunits --centeredwidth=3]${font}
    ${font saxMono:size=7}${voffset 15}${offset 47}[--datatype=DW --startday=2 --endday=2]
    ${offset 50}[--datatype=HT --startday=2 --endday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --endday=2 --hideunits --centeredwidth=3]${font}
    ${font saxMono:size=7}${voffset 15}${offset 47}[--datatype=DW --startday=3 --endday=3]
    ${offset 50}[--datatype=HT --startday=3 --endday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --endday=3 --hideunits --centeredwidth=3]${font}
    ${font saxMono:size=7}${voffset 15}${offset 47}[--datatype=DW --startday=4 --endday=4]
    ${offset 50}[--datatype=HT --startday=4 --endday=4 --hideunits --centeredwidth=3]/[--datatype=LT --startday=4 --endday=4 --hideunits --centeredwidth=3]${font}
    ${voffset -160}${offset 120}${font saxMono:size=7}[--datatype=CC]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Temp:[--datatype=HT --startday=0] / [--datatype=LT --startday=0]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Precip.:[--datatype=PC]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Visibil.:[--datatype=VI]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Pres.:[--datatype=BR] [--datatype=BD]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Umidità:[--datatype=HM]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Alba:[--datatype=SR] Tramonto:[--datatype=SS]${font}
    ${voffset -2}${offset 120}${font saxMono:size=7}Vento:[--datatype=WS]-[--datatype=WA]°[--datatype=WD]${font}

AGARB REGOR


Imagem
:ubuntued: "Somente seres humanos excepcionais e irrepreensíveis suscitam ideias generosas e ações elevadas. O conhecimento é limitado. A imaginação envolve ao mundo."
:ubuntued:
Avatar do usuário
Roger Braga
Mr. Deskmod
 
Mensagens: 755
Registrado em: 04 Julho, 2011
Localização: São Paulo, BRASIL

Re: Mostre o seu Desktop!

Mensagempor anna kamilla » Qui, 8 de Setembro 2011, 16:49

rrack » Qui Set 08, 2011 3:07 am escreveu:
SPIDERMAN

Imagemhttp://i.imgur.com/r79cq.jpg
Imagemhttp://i.imgur.com/lR589.png Imagemhttp://i.imgur.com/FMSUw.png
  • Sistema Operativo:Ubuntu 10.10 Maverick Meerkat
  • Tema:http://linux.softpedia.com/get/Desktop-Environment/Themes/Immortality-62020.shtml
  • Ícones:http://gnome-look.org/content/show.php/DarkArts?content=144071
  • Wallpaper:http://i1-mac.softpedia-static.com/screenshots/Spiderman-Wallpaper_1.jpg
  • Cursor:http://gnome-look.org/content/show.php/GlassMaxX?content=119305
  • Fonte:http://www.1001fonts.com/font_details.html?font_id=901
  • Outros:AWN
  • Conky:
    conkyrc4
    Spoiler:
    background yes
    use_xft yes
    xftfont URW Gothic L:size=8
    xftalpha 1
    update_interval 1
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_class Conky
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 900 300
    maximum_width 1000
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color 778899
    default_shade_color 000000
    #default_outline_color 555555
    alignment br
    gap_x 12
    gap_y 396
    no_buffers yes
    minimum_size 420 200
    maximum_width 420

    override_utf8_locale yes




    # — Lua Load — #


    # SET THE PATH TO THE SCRIPT HERE
    lua_load /home/roger/conki/equalizer.lua
    lua_draw_hook_pre main



    TEXT
    ${voffset 160}${font URW Gothic L:size=18}CPU: ${cpu}%
    ${voffset -23}${hr 2}

    equalizer.lua

    Spoiler:
    require 'cairo'

    --[[ EQUALIZER WIDGET
    v1.1 by wlourf (13 Feb. 2010)
    This widget draw a simple bar like (old) equalizers on hi-fi systems.
    http://u-scripts.blogspot.com/

    The arguments are :
    - "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'...
    or you can set it to "" if you want to display a numeric value with arg=numeric_value
    - "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 ''.
    - "max" is the maximum value of the bar. If the Conky variable outputs a percentage, use 100.
    - "nb_blocks" is the umber of block to draw
    - "cap" id the cap of a block, possibles values are CAIRO_LINE_CAP_ROUND , CAIRO_LINE_CAP_SQUARE or CAIRO_LINE_CAP_BUTT
    see http://www.cairographics.org/samples/set_line_cap/
    - "xb" and "yb" are the coordinates of the bottom left point of the bar
    - "w" and "h" are the width and the height of a block (without caps)
    - "space" is the space betwwen two blocks, can be null or negative
    - "bgc" and "bga" are background colors and alpha when the block is not LIGHT OFF
    - "fgc" and "fga" are foreground colors and alpha when the block is not LIGHT ON
    - "alc" and "ala" are foreground colors and alpha when the block is not LIGHT ON and ALARM ON
    - "alarm" is the value where blocks LIGHT ON are in a different color (values from 0 to 100)
    - "led_effect" true or false : to show a block with a led effect
    - "led_alpha" alpha of the center of the led (values from 0 to 1)
    - "smooth" true or false : colors in the bar has a smooth effect
    - "mid_color",mid_alpha" : colors of the center of the bar (mid_color can to be set to nil)
    - "rotation" : angle of rotation of the bar (values are 0 to 360 degrees). 0 = vertical bar, 90 = horizontal bar
    v1.0 (10 Feb. 2010) original release
    v1.1 (13 Feb. 2010) numeric values can be passed instead conky stats with parameters name="", arg = numeric_value
    ]]

    function equalizer(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
    local function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end

    local function setup_equalizer()

    local value = 0
    if name ~="" then
    local str = conky_parse(string.format('${%s %s}', name, arg))
    value = tonumber(str)
    else
    value = arg
    end
    if value==nil then value =0 end
    local pct = 100*value/max
    local pcb = 100/nb_blocks

    cairo_set_line_width (cr, h)
    cairo_set_line_cap (cr, cap)

    local angle= rotation*math.pi/180
    for pt = 1,nb_blocks do
    local light_on=false
    --set colors
    local col,alpha = bgc,bga
    if pct>=(100/nb_blocks/2) then --start after an half bloc
    if pct>=(pcb*(pt-1)) then
    light_on=true
    col,alpha = fgc,fga
    if pct>=alarm and (pcb*pt)>alarm then col,alpha = alc,ala end
    end
    end

    --vertical points
    local x1=xb
    local y1=yb-pt*(h+space)
    local radius0 = yb-y1

    local x2=xb+radius0*math.sin(angle)
    local y2=yb-radius0*math.cos(angle)

    --line on angle
    local a1=(y2-yb)/(x2-xb)
    local b1=y2-a1*x2

    --line perpendicular to angle
    local a2=-1/a1
    local b2=y2-a2*x2

    --dots on perpendicular
    local xx0,xx1,yy0,yy1=0,0,0,0
    if rotation == 90 or rotation == 270 then
    xx0,xx1=x2,x2
    yy0=yb
    yy1=yb+w
    else
    xx0,xx1=x2,x2+w*math.cos(angle)
    yy0=xx0*a2+b2
    yy1=xx1*a2+b2
    end

    --perpendicular segment
    cairo_move_to (cr, xx0 ,yy0)
    cairo_line_to (cr, xx1 ,yy1)

    --colors
    local xc,yc=(xx0+xx1)/2,(yy0+yy1)/2
    if light_on and led_effect then
    local pat = cairo_pattern_create_radial (xc, yc, 0, xc,yc,w/1.5)
    cairo_pattern_add_color_stop_rgba (pat, 0, rgb_to_r_g_b(col,led_alpha))
    cairo_pattern_add_color_stop_rgba (pat, 1, rgb_to_r_g_b(col,alpha))
    cairo_set_source (cr, pat)
    cairo_pattern_destroy(pat)
    else
    cairo_set_source_rgba(cr, rgb_to_r_g_b(col,alpha))
    end

    if light_on and smooth then
    local radius = (nb_blocks+1)*(h+space)
    if pt==1 then
    xc0,yc0=xc,yc --remember the center of first block
    end
    cairo_move_to(cr,xc0,yc0)
    local pat = cairo_pattern_create_radial (xc0, yc0, 0, xc0,yc0,radius)
    cairo_pattern_add_color_stop_rgba (pat, 0, rgb_to_r_g_b(fgc,fga))
    cairo_pattern_add_color_stop_rgba (pat, 1, rgb_to_r_g_b(alc,ala))
    if mid_color ~=nil then
    cairo_pattern_add_color_stop_rgba (pat, 0.5,rgb_to_r_g_b(mid_color,mid_alpha))
    end
    cairo_set_source (cr, pat)
    cairo_pattern_destroy(pat)
    end

    cairo_stroke (cr);

    end
    end
    --prevent segmentation error
    local updates=tonumber(conky_parse('${updates}'))
    if updates> 3 then
    setup_equalizer()
    end
    end





    function conky_main()
    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)

    cr = cairo_create(cs)

    local x0 = 10, conky_window.height-10
    local y0 = 190
    local blocks = 20
    local cap_round = CAIRO_LINE_CAP_ROUND
    local cap_square = CAIRO_LINE_CAP_SQUARE
    local cap_butt = CAIRO_LINE_CAP_BUTT
    local w,h=5,5
    local s=1
    local bgc,bga = 0xffffff, 0.215
    local fgc,fga = 0xA1CCD4, 1
    local alc,ala = 0xCBEBF3, 1
    local mid_color,mid_alpha = 0xB6E8EC, 1.0
    local led_effect, led_alpha = true , 1.0
    local alarm = 50
    local smooth = true


    local updates=tonumber(conky_parse('${updates}'))
    if updates==1 then
    len_t=57
    t1={}
    t2={}
    t3={}
    len_t2=3
    len_t3=1

    end
    if updates> 3 then
    for i = 1, tonumber(len_t) do
    if t1[i+1]==nil then t1[i+1]=0 end
    if t2[i+1]==nil then t2[i+1]=0 end
    t1[i]=t1[i+1]
    t2[i]=t2[i+1]
    if i==len_t then
    t1[len_t]=tonumber(conky_parse('${cpu}'))
    t2[len_t]=tonumber(conky_parse('${cpu cpu1}'))
    t3[len_t]=tonumber(conky_parse('${memperc}'))

    end
    --(reminder
    --(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
    equalizer('', t1[i], 100, blocks, cap_round, 125+i*5+2, y0+4,0,h,s,bgc,bga, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 100, y0-i,0,h,s,bgc,bga, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 106, y0-i,0,h,s,bgc,bga, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)


    end

    for i = 1, len_t3 do
    if t3[i+1]==nil then t3[i+1]=0 end
    t3[i]=t3[i+1]
    if i==len_t3 then
    t3[len_t3]=tonumber(conky_parse('${memperc}'))
    end
    --(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
    -- equalizer('', 0, 100, blocks, cap_round, 429, y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 435, y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    -- equalizer('', t3[i], 100, blocks, cap_round, 441 , y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    --equalizer('', t3[i], 100, blocks, cap_round, 447, y0+3,0,h,s,0xFFFFFF,0.001, fgc,fga, alc,ala, 75, led_effect, led_alpha,smooth,mid_color,mid_alpha,0)
    end
    end

    cairo_destroy(cr)
    cairo_surface_destroy(cs)

    end

    conkyrc7

    Spoiler:
    alignment top_right
    background yes
    border_margin 5
    border_width 5
    default_color 778899 # grey 5f5f5f 3F3F3F
    double_buffer yes
    draw_borders no
    draw_outline no
    draw_shades no
    gap_x 10
    gap_y 80
    maximum_width 1290
    minimum_size 440
    no_buffers yes
    override_utf8_locale yes
    own_window yes
    own_window_title conky
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_type override ## normal /override /desktop
    text_buffer_size 8000
    total_run_times 0
    update_interval 0.5
    uppercase no
    use_xft yes
    xftalpha 1
    xftfont Homoarakhn:pixelsize=9

    # fonts
    # Blue Highway
    # Zegoe Light - U
    # Zekton
    # Calibri
    # Engebrechtre
    # Opeln2001
    # Aller Display

    TEXT
    ${font Homoarakhn:pixelsize=65}${alignc}${time %H:%M}${font}

    ${font Homoarakhn:pixelsize=19}${alignc}${time %B %d, %Y}
    ${alignc}${time %A}${font}



legal ! gostei deste
Avatar do usuário
anna kamilla
 
Mensagens: 48
Registrado em: 12 Junho, 2011

Re: Mostre o seu Desktop!

Mensagempor titoo » Qui, 8 de Setembro 2011, 18:43

Luis Cardoso » Dom Jun 19, 2011 4:40 pm escreveu:Tal como já havia referido, eu mudei-me recentemente para o Ubuntu 11.04, pelo que tenho um novo Desktop para partilhar com os membros do fórum :ubuntued:

Blue Boomerang
ImagemImagem
(clique nas imagens para as ver melhor)



Na barra superior foi aplicada a seguinte alteração, opacidade definida para 0,3 (valor inicial: 1,0).
No Unity-launcher, os ícones foram redimensionados para 32 pixel (valor inicial: 48).
No conky, alterei a posição do relógio através das seguintes alterações:
Código: Selecionar todos
#alignment bottom_right
alignment middle_middle

Código: Selecionar todos
#gap_x 100
#gap_y 120
gap_x 0
gap_y 0

Nota: os campos que contêm este símbolo # foram colocados nos comandos que lá estavam no ficheiro original. Os que não têm esse símbolo, são aqueles que acrescentei.

só tenho uma coisa a dizer: SENSACIONAL !!!!
Imagem

"Amai-vos uns aos outros"
Avatar do usuário
titoo
 
Mensagens: 21
Registrado em: 08 Setembro, 2011
Localização: Rio de Janeiro

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Qui, 8 de Setembro 2011, 20:03

ERAGON

Imagemhttp://i.imgur.com/VjSL5.jpg
Imagemhttp://i.imgur.com/FGSxz.jpg Imagemhttp://i.imgur.com/peWKI.jpg

AGARB REGOR


Imagem
:ubuntued: "Somente seres humanos excepcionais e irrepreensíveis suscitam ideias generosas e ações elevadas. O conhecimento é limitado. A imaginação envolve ao mundo."
:ubuntued:
Avatar do usuário
Roger Braga
Mr. Deskmod
 
Mensagens: 755
Registrado em: 04 Julho, 2011
Localização: São Paulo, BRASIL

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Qui, 8 de Setembro 2011, 20:36

AGARB REGOR


Imagem
:ubuntued: "Somente seres humanos excepcionais e irrepreensíveis suscitam ideias generosas e ações elevadas. O conhecimento é limitado. A imaginação envolve ao mundo."
:ubuntued:
Avatar do usuário
Roger Braga
Mr. Deskmod
 
Mensagens: 755
Registrado em: 04 Julho, 2011
Localização: São Paulo, BRASIL

AnteriorPróximo

Voltar para Temas do Ubuntu

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 24 visitantes

cron