Bem-vindo: Sex, 20 de Setembro 2019, 13:36 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 Roger Braga » Seg, 24 de Outubro 2011, 1:03

THE CREED

  • Sistema Operativo: Ubuntu 11.04 (Natty Narwhal)
  • Tema: Minimum. Suite v 0.3
  • Ícones: Fekete-feher
  • Wallpaper: http://img268.imageshack.us/img268/5899 ... 5d4dmr.png
  • AWN;
  • Screenlets;
  • Conky;
    conkyrc
    Spoiler:
    #!/usr/bin/conky -d -c
    ## .conkyrc configuration
    alignment top_left
    background yes
    border_width 5
    color0 555555 #
    color1 483D8B # Dark Slate Blue
    color2 B8860B # Dark goldenrod
    color3 4682B4 # Steelblue
    color4 8B0000 # Dark red
    color5 008080 # Teal
    color6 333333 # Gray20
    color7 8888CC # (COOL)
    color8 CCCC88 # (WARM)
    color9 CC8888 # (HOT)
    cpu_avg_samples 2
    default_color e1e1e1 # Ghost white F8F8FF
    default_outline_color 000000 # Black
    default_shade_color 000000 # Black
    double_buffer yes
    draw_borders no
    draw_graph_borders no
    draw_outline no
    draw_shades no
    gap_x 550
    gap_y 32
    max_specials 1024
    max_user_text 1000
    maximum_width 500
    minimum_size 450 25
    net_avg_samples 2
    no_buffers yes
    override_utf8_locale yes
    own_window yes
    own_window_colour 000000 # Black
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_type override ## normal
    pad_percents 2
    short_units yes
    stippled_borders 3
    text_buffer_size 8000
    total_run_times 0
    update_interval 1.0
    uppercase no
    use_spacer right
    use_xft yes
    xftalpha 0.75
    xftfont sans:size=7

    TEXT

    ${execpi 1800 conkyForecast --location=BRXX0232 --template=/home/roger/.conky/conkyForecast.template}

    conkyForecast.template
    Spoiler:
    ${voffset -1}${font DejaVu Sans:size=7}Estação: [--datatype=OB]${voffset -1}${font DejaVu Sans:size=7}${alignr 5}Atualizado: [--datatype=LU]${font}
    ${voffset 2}${goto 5}${font ConkyWeather:style=Bold:size=32}[--datatype=WF]${font}
    ${voffset -46}${goto 82}${font Arial Black:size=10}[--datatype=CT]${font} ${goto 250}[--datatype=DW --startday=0 --shortweekday]${goto 310}[--datatype=DW --startday=1 --shortweekday]${goto 364}[--datatype=DW --startday=2 --shortweekday]${goto 421}[--datatype=DW --startday=3 --shortweekday]${goto 477}[--datatype=DW --startday=4 --shortweekday]
    ${voffset 4}${goto 83}Vento: [--datatype=WS] - [--datatype=WD] ${voffset 4}${goto 245}${font ConkyWeather:size=22}[--datatype=WF --startday=0 --endday=4 --spaces=4]${font}
    ${voffset -20}${goto 83}Sensação Térmica: [--datatype=LT --centeredwidth=3]
    ${voffset 4}${goto 83}Umidade: [--datatype=HM]${voffset 4}${goto 211}hi/lo: [--datatype=HT --startday=0 --hideunits --centeredwidth=4]/[--datatype=LT --startday=0 --hideunits --centeredwidth=4]${goto 298}[--datatype=HT --startday=1 --hideunits --centeredwidth=4]/[--datatype=LT --startday=1 --hideunits --centeredwidth=4]${goto 355}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=4]${goto 412}[--datatype=HT --startday=3 --hideunits --centeredwidth=4]/[--datatype=LT --startday=3 --hideunits --centeredwidth=4]${goto 469}[--datatype=HT --startday=4 --hideunits --centeredwidth=4]/[--datatype=LT --startday=4 --hideunits --centeredwidth=4]
    ${voffset -28}${goto 11}${font Weather:size=18}y${font} ${voffset -12}${font Arial Black:size=12}[--datatype=HT --centeredwidth=3]${font}
    ${voffset 8}Leste: [--datatype=SR]${goto 83}Oeste: [--datatype=SS]

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 » Seg, 24 de Outubro 2011, 1:56

BEST ABSTRAT

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 » Seg, 24 de Outubro 2011, 3:48

LINUX BLUE

  • Sistema Operativo: Ubuntu 11.04 (Natty Narwhal)
  • Tema: Radiance Tern
  • Ícones: G-Xiria 2.0
  • Wallpaper: http://img24.imageshack.us/img24/3023/madeinkobaia1.jpg
  • AWN;
  • Conky;
    conkyrc
    Spoiler:
    background yes
    use_xft yes
    xftfont DejaVu Sans:size=11
    xftalpha 1
    text_buffer_size 2048
    update_interval 1.0
    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
    minimum_size 410 210
    maximum_width 410
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color red
    default_shade_color black
    default_outline_color white
    alignment tr
    gap_x 10
    gap_y 64
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale yes


    TEXT
    ${font Digital Readout Thick Upright:bold:size=54}${color F8F8FF}${time %k:%M:%S %p}$font
    ${font Digital Readout Thick Upright:bold:size=27}${color D3D3D3}${time %a, %d %B. %Y}$font
    ${execi 1800 cat /proc/cpuinfo | grep -n 'model name' |sed -n 1p | awk -F':' '{print $3}' | sed -e 's/^[ \t]*//'}
    ${color D3D3D3} Root${color D3D3D3} ${fs_free_perc /}%$alignr${fs_free /} / ${fs_size /}
    ${color D3D3D3} ETH0 $alignr ${color D3D3D3}${addr eth0}
    ${color D3D3D3} Entrada $alignr ${color D3D3D3}${downspeed eth0} kb/s
    ${color D3D3D3} Saida $alignr ${color D3D3D3}${upspeed eth0} kb/s
    ${color D3D3D3} kernel: $kernel on $machine
    ${color D3D3D3} nVidia: ${execi 99999 nvidia-settings -q gpus |grep '0] (' | cut -d '(' -f 2,2 | sed -e 's/.\{1\}$//'}
    ${color D3D3D3} Threshhold: ${color D3D3D3}${nvidia threshold}
    ${color D3D3D3} Temp: ${color D3D3D3}${nvidia temp}
    ${color D3D3D3} Ambient: ${color D3D3D3}${nvidia ambient}
    ${color D3D3D3} GPU Freq: ${color D3D3D3}${nvidia gpufreq}
    ${color D3D3D3} Mem Freq: ${color D3D3D3}${nvidia memfreq}
    ${color D3D3D3} Image Quality: ${color D3D3D3}${nvidia imagequality}

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 Diego Pereira » Seg, 24 de Outubro 2011, 13:02

ehrickwilliam » Dom Out 23, 2011 2:07 am escreveu:
Elegancy Green

  • Sistema Operativo: Ubuntu 11.10 (Oneiric Ocelot)
  • Tema: MintLiner
  • Ícones: Faenza Mint
  • Wallpaper: http://i.imgur.com/i7jwR.jpg
  • Outros: Docky, Gnome Shell


Ola, bom dia!

Como você fez para que o menu dos aplicativos apareçam na barra superior?

Obrigado.
Avatar do usuário
Diego Pereira
 
Mensagens: 43
Registrado em: 18 Junho, 2011

Re: Mostre o seu Desktop!

Mensagempor fenon » Seg, 24 de Outubro 2011, 16:53

WarCraft

Sistema Operativo: Ubuntu 11.04 (Natty Narwhal)
Tema: Ambiance
Ícones: Faenza
Wallpaper: http://wallbase.cc/wallpaper/1236988
Conky:http://ubuntued.info/wp-content/uploads/2011/09/WindowsPhoneSeven.zip
Avatar do usuário
fenon
 
Mensagens: 19
Registrado em: 03 Outubro, 2011
Localização: paragominas ,PA

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Seg, 24 de Outubro 2011, 21:15

Jacarézinho

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 » Seg, 24 de Outubro 2011, 21:38

NVIDIA GOLD

  • Sistema Operativo: Ubuntu 11.04 (Natty Narwhal)
  • Tema: Attack of the Clones
  • Ícones: Se-Interface-v2 yellow
  • Wallpaper: http://img89.imageshack.us/img89/5677/n ... 96d4dk.jpg
  • AWN;
  • Conky;
    conkyrc
    Spoiler:
    ######################
    # - 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 10240
    imlib_cache_size 0

    #############################
    # - Window specifications - #
    #############################
    own_window yes
    own_window_type override

    own_window_transparent yes

    border_inner_margin 0
    border_outer_margin 0

    minimum_size 600 300
    maximum_width 300

    alignment tr
    gap_x 30
    gap_y 0

    #########################
    # - Graphics settings - #
    #########################
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no

    #####################
    # - Text settings - #
    #####################
    use_xft yes
    xftfont Santana:size=18
    xftalpha 0.8

    uppercase no

    # default_color 2d7db3
    # default_color FFFFFF
    default_color 616161

    ################
    # - LUA Load - #
    ################
    lua_load ~/cr/clock_rings.lua
    lua_draw_hook_post clock_rings
    lua_draw_hook_pre main_rings

    ############
    # - Code - #
    ############
    TEXT
    ${voffset 125}${goto 120}${font Nimbus Sans L:size=24:style=Bold}${time %H:%M}

    ${voffset 26}${goto 96}${font Nimbus Sans L:size=10}${time %A %d %B %Y}

    clock_rings.lua
    Spoiler:
    --Premier script: aiguilles, et arcs de cercles continus.
    settings_table = {

    {
    name='cpu',
    arg='cpu0',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.2,
    fg_colour=0x18FFF9,
    fg_alpha=0.5,
    x=160, y=155,
    radius=78.5,
    thickness=10,
    start_angle=93,
    end_angle=208
    },

    {
    name='memperc',
    arg='',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.2,
    fg_colour=0x003078,
    fg_alpha=0.5,
    x=160, y=155,
    radius=78.5,
    thickness=10,
    start_angle=212,
    end_angle=329
    },
    {
    name='wireless_link_qual_perc',
    arg='eth0',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.2,
    fg_colour=0x8288BD,
    fg_alpha=0.5,
    x=160, y=155,
    radius=78.5,
    thickness=10,
    start_angle=-27,
    end_angle=85
    },
    {
    name='fs_used_perc',
    arg='/',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.2,
    fg_colour=0x7C0BB9,
    fg_alpha=0.5,
    x=160, y=155,
    radius=105,
    thickness=3,
    start_angle=-120,
    end_angle=-13
    },
    {
    name='fs_used_perc',
    arg='/home',
    max=100,
    bg_colour=0xffffff,
    bg_alpha=0.2,
    fg_colour=0x7C0BB9,
    fg_alpha=0.5,
    x=160, y=155,
    radius=105,
    thickness=3,
    start_angle=-10,
    end_angle=120
    },
    }

    bars_settings={
    {
    name="eth0",
    arg="eth0",
    max=100,
    --(max is set to 100 because maximum value of $cpu is 100%)
    }
    }


    clock_r=125
    clock_x=160
    clock_y=155
    clock_colour=0xffffff
    clock_alpha=0.5
    show_seconds=true

    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_ring1(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)



    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)



    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 draw_clock_hands(cr,xc,yc)
    local secs,mins,hours,secs_arc,mins_arc,hours_arc
    local xh,yh,xm,ym,xs,ys

    secs=os.date("%S")
    mins=os.date("%M")
    hours=os.date("%I")

    secs_arc=(2*math.pi/60)*secs
    mins_arc=(2*math.pi/60)*mins+secs_arc/60
    hours_arc=(2*math.pi/12)*hours+mins_arc/12



    xh=xc+0.7*clock_r*math.sin(hours_arc)
    yh=yc-0.7*clock_r*math.cos(hours_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xh,yh)

    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
    cairo_set_line_width(cr,5)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(clock_colour,clock_alpha))
    cairo_stroke(cr)



    xm=xc+clock_r*math.sin(mins_arc)
    ym=yc-clock_r*math.cos(mins_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xm,ym)

    cairo_set_line_width(cr,3)
    cairo_stroke(cr)



    if show_seconds then
    xs=xc+clock_r*math.sin(secs_arc)
    ys=yc-clock_r*math.cos(secs_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xs,ys)

    cairo_set_line_width(cr,1)
    cairo_stroke(cr)
    end
    end

    function conky_clock_rings()
    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_ring1(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

    draw_clock_hands(cr,clock_x,clock_y)
    cairo_destroy(cr)

    end

    --[[2e Script Extrait et modifié a partir de
    RINGS with SECTORS widget
    v1.0 by wlourf (08.08.2010)
    this widget draws a ring with differents effects
    http://u-scripts.blogspot.com/2010/08/r ... dgets.html
    ]]

    function conky_main_rings()
    -- START PARAMETERS HERE
    rings_settings={

    {

    name="time",
    arg="%S",
    max=60,
    radius=62,
    thickness=5,
    start_angle=0,
    end_angle=360,
    sectors=60,
    xc=160, yc=155,
    bg_colour1={{0,0xdedede,0.000001},{0,0xdedede,0.000001}, {0,0x1916F0,0.1}},
    fg_colour1={{0,0X309DBD,1},{0,0x309DBD,1}, {1,0x309DBD,1}},
    fg_colour2={{0,0X309DBD,1},{0,0x309DBD,1}, {1,0x309DBD,1}},
    bd_colour1={{0,0XFF6E00,1},{0,0xFF6E00,1}, {1,0xFF6E00,1}},
    },
    {
    name="time",
    arg="%M.%S",
    max=60,
    radius=56,
    thickness=5,
    start_angle=0,
    end_angle=360,
    sectors=60,
    xc=160, yc=155,
    fg_colour1={{0,0x1916F0,0.6}},
    bg_colour1={{0,0Xffffff,0.01}},
    fg_colour2={{0,0x1916F0,0.6}},
    bd_colour1={{0,0XFF6E00,1},{0,0xFF6E00,1}, {1,0xFF6E00,1}},
    },
    {
    name="time",
    arg="%k.%M",
    max=12,
    radius=50,
    thickness=5,
    start_angle=0,
    end_angle=360,
    sectors=12,
    xc=160, yc=155,
    fg_colour1={{0,0x745EC3,0.6}},
    bg_colour1={{0,0Xffffff,0.01}},
    fg_colour2={{0,0x745EC3,0.6}},
    bd_colour1={{0,0XFF6E00,1},{0,0xFF6E00,1}, {1,0xFF6E00,1}},
    }

    }
    --END OF PARAMETERS HERE

    --main function

    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)

    if tonumber(conky_parse('${updates}'))>3 then
    for i in pairs(rings_settings) do
    draw_ring(rings_settings[i])
    end
    end

    cairo_destroy(cr)

    end




    function draw_ring(t)

    local function rgba_to_r_g_b_a(tcolour)
    colour,alpha=tcolour[2],tcolour[3]
    return ((colour / 0x10000) % 0x100) / 255.,
    ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end


    local function calc_delta(tcol1,tcol2)
    --calculate deltas P R G B A to table_colour 1

    for x = 1, #tcol1 do
    tcol1[x].dA = 0
    tcol1[x].dP = 0
    tcol1[x].dR = 0
    tcol1[x].dG = 0
    tcol1[x].dB = 0
    if tcol2~=nil and #tcol1 == #tcol2 then
    local r1,g1,b1,a1 = rgba_to_r_g_b_a(tcol1[x])
    local r2,g2,b2,a2 = rgba_to_r_g_b_a(tcol2[x])
    tcol1[x].dP = (tcol2[x][1]-tcol1[x][1])/t.sectors
    tcol1[x].dR = (r2-r1)/t.sectors
    tcol1[x].dG = (g2-g1)/t.sectors
    tcol1[x].dB = (b2-b1)/t.sectors
    tcol1[x].dA = (a2-a1)/t.sectors

    end
    end

    return tcol1
    end

    --check values
    local function setup(t)
    if t.name==nil and t.arg==nil then
    print ("No input values ... use parameters 'name' with 'arg' or only parameter 'arg' ")
    return
    end

    if t.max==nil then
    print ("No maximum value defined, use 'max'")
    print ("for name=" .. t.name)
    print ("with arg=" .. t.arg)
    return
    end
    if t.name==nil then t.name="" end
    if t.arg==nil then t.arg="" end

    if t.xc==nil then t.xc=conky_window.width/2 end
    if t.yc==nil then t.yc=conky_window.height/2 end
    if t.thickness ==nil then t.thickness = 10 end
    if t.radius ==nil then t.radius =conky_window.width/4 end
    if t.start_angle==nil then t.start_angle =0 end
    if t.end_angle==nil then t.end_angle=360 end
    if t.bg_colour1==nil then
    t.bg_colour1={{0,0x00ffff,0.1},{0.5,0x00FFFF,0.5},{1,0x00FFFF,0.1}}
    end
    if t.fg_colour1==nil then
    t.fg_colour1={{0,0x00FF00,0.1},{0.5,0x00FF00,1},{1,0x00FF00,0.1}}
    end
    if t.bd_colour1==nil then
    t.bd_colour1={{0,0xFFFF00,0.5},{0.5,0xFFFF00,1},{1,0xFFFF00,0.5}}
    end
    if t.sectors==nil then t.sectors=10 end
    if t.gap_sectors==nil then t.gap_sectors=1 end
    if t.fill_sector==nil then t.fill_sector=false end
    if t.sectors==1 then t.fill_sector=false end
    if t.border_size==nil then t.border_size=0 end
    if t.cap==nil then t.cap="p" end
    --some checks
    if t.thickness>t.radius then t.thickness=t.radius*0.1 end
    t.int_radius = t.radius-t.thickness

    --check colors tables
    for i=1, #t.bg_colour1 do
    if #t.bg_colour1[i]~=3 then t.bg_colour1[i]={1,0xFFFFFF,0.5} end
    end
    for i=1, #t.fg_colour1 do
    if #t.fg_colour1[i]~=3 then t.fg_colour1[i]={1,0xFF0000,1} end
    end
    for i=1, #t.bd_colour1 do
    if #t.bd_colour1[i]~=3 then t.bd_colour1[i]={1,0xFFFF00,1} end
    end

    if t.bg_colour2~=nil then
    for i=1, #t.bg_colour2 do
    if #t.bg_colour2[i]~=3 then t.bg_colour2[i]={1,0xFFFFFF,0.5} end
    end
    end
    if t.fg_colour2~=nil then
    for i=1, #t.fg_colour2 do
    if #t.fg_colour2[i]~=3 then t.fg_colour2[i]={1,0xFF0000,1} end
    end
    end
    if t.bd_colour2~=nil then
    for i=1, #t.bd_colour2 do
    if #t.bd_colour2[i]~=3 then t.bd_colour2[i]={1,0xFFFF00,1} end
    end
    end

    if t.start_angle>=t.end_angle then
    local tmp_angle=t.end_angle
    t.end_angle= t.start_angle
    t.start_angle = tmp_angle
    -- print ("inversed angles")
    if t.end_angle-t.start_angle>360 and t.start_angle>0 then
    t.end_angle=360+t.start_angle
    print ("reduce angles")
    end

    if t.end_angle+t.start_angle>360 and t.start_angle<=0 then
    t.end_angle=360+t.start_angle
    print ("reduce angles")
    end

    if t.int_radius<0 then t.int_radius =0 end
    if t.int_radius>t.radius then
    local tmp_radius=t.radius
    t.radius=t.int_radius
    t.int_radius=tmp_radius
    print ("inversed radius")
    end
    if t.int_radius==t.radius then
    t.int_radius=0
    print ("int radius set to 0")
    end
    end

    t.fg_colour1 = calc_delta(t.fg_colour1,t.fg_colour2)
    t.bg_colour1 = calc_delta(t.bg_colour1,t.bg_colour2)
    t.bd_colour1 = calc_delta(t.bd_colour1,t.bd_colour2)
    end

    --initialize table
    setup(t)
    --[[grid
    h=conky_window.height
    w=conky_window.width
    cairo_set_source_rgba(cr,1,1,1,1)
    cairo_set_line_width(cr,0.5)
    cairo_move_to(cr,0,t.yc)
    cairo_line_to(cr,w,t.yc)
    cairo_stroke(cr)
    cairo_move_to(cr,t.xc,0)
    cairo_line_to(cr,t.xc,h)
    cairo_stroke(cr)
    cairo_move_to(cr,t.xc,t.yc)
    cairo_line_to(cr,t.xc+200*math.sin(math.pi/4),t.yc-200*math.cos(math.pi/4))
    cairo_stroke(cr)
    cairo_move_to(cr,0,t.yc-t.radius)
    cairo_line_to(cr,w,t.yc-t.radius)
    cairo_stroke(cr)
    cairo_move_to(cr,0,t.yc-t.int_radius)
    cairo_line_to(cr,w,t.yc-t.int_radius)
    cairo_stroke(cr)
    cairo_move_to(cr,0,t.yc-t.gap_sectors)
    cairo_line_to(cr,w,t.yc-t.gap_sectors)
    cairo_stroke(cr)
    cairo_set_source_rgba(cr,1,0,0,0.5)
    cairo_arc(cr,t.xc,t.yc,t.radius,0,2*math.pi)
    cairo_stroke(cr)
    cairo_arc(cr,t.xc,t.yc,t.int_radius,0,2*math.pi)
    cairo_stroke(cr)
    cairo_set_source_rgba(cr,0,1,0,1)
    cairo_move_to(cr,t.xc+t.gap_sectors,t.yc-t.gap_sectors)
    cairo_line_to(cr,t.xc+400*math.sin(math.pi/4),t.yc-400*math.cos(math.pi/4))
    cairo_stroke(cr)
    --END GRID
    ]]

    --initialize cairo context
    cairo_save(cr)
    cairo_translate(cr,t.xc,t.yc)
    cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND)
    cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND)

    --get value
    local value = 0
    if t.name ~="" then
    value = tonumber(conky_parse(string.format('${%s %s}',t.name,t.arg)))
    else
    value = tonumber(BAT0)
    end
    if value==nil then value =0 end

    --initialize sectors
    --angle of a sector :
    angleA = ((t.end_angle-t.start_angle)/t.sectors)*math.pi/180
    --value of a sector :
    valueA = t.max/t.sectors
    --first angle of a sector :
    lastAngle = t.start_angle*math.pi/180


    local function draw_sector(type_arc,angle0,angle,valpc, idx)

    --this function draws a portion of arc
    --type of arc, angle0 = strating angle, angle= angle of sector,
    --valpc = percentage inside the sector, idx = sctor number #
    if type_arc=="bg" then --background
    if valpc==1 then return end
    tcolor=t.bg_colour1
    elseif type_arc=="fg" then --foreground
    if valpc==0 then return end
    tcolor=t.fg_colour1
    elseif type_arc=="bd" then --border
    tcolor=t.bd_colour1
    end

    --angles equivalents to gap_sector
    local ext_delta=math.atan(t.gap_sectors/(2*t.radius))
    local int_delta=math.atan(t.gap_sectors/(2*t.int_radius))

    --angles of arcs
    local ext_angle=(angle-ext_delta*2)*valpc
    local int_angle=(angle-int_delta*2)*valpc

    --define colours to use for this sector
    if #tcolor==1 then
    --plain color
    local vR,vG,vB,vA = rgba_to_r_g_b_a(tcolor[1])
    cairo_set_source_rgba(cr,vR+tcolor[1].dR*idx,
    vG+tcolor[1].dG*idx,
    vB+tcolor[1].dB*idx,
    vA+tcolor[1].dA*idx )
    else
    --radient color
    local pat=cairo_pattern_create_radial(0,0,t.int_radius,0,0,t.radius)
    for i=1, #tcolor do
    local vP,vR,vG,vB,vA = tcolor[i][1], rgba_to_r_g_b_a(tcolor[i])
    cairo_pattern_add_color_stop_rgba (pat,
    vP+tcolor[i].dP*idx,
    vR+tcolor[i].dR*idx,
    vG+tcolor[i].dG*idx,
    vB+tcolor[i].dB*idx,
    vA+tcolor[i].dA*idx )
    end
    cairo_set_source (cr, pat)
    cairo_pattern_destroy(pat)
    end

    --start drawing
    cairo_save(cr)
    --x axis is parrallel to start of sector
    cairo_rotate(cr,angle0-math.pi/2)

    local ri,re = t.int_radius ,t.radius

    --point A
    local angle_a

    if t.cap == "p" then
    angle_a = int_delta
    if t.inverse_arc and type_arc ~="bg" then
    angle_a = angle-int_angle-int_delta
    end
    if not(t.inverse_arc) and type_arc =="bg" then
    angle_a = int_delta+int_angle
    end
    else --t.cap=="r"
    angle_a = ext_delta
    if t.inverse_arc and type_arc~="bg" then
    angle_a = angle-ext_angle-ext_delta
    end
    if not(t.inverse_arc) and type_arc=="bg" then
    angle_a = ext_delta+ext_angle
    end
    end
    local ax,ay = ri*math.cos(angle_a),ri*math.sin(angle_a)


    --point B
    local angle_b = ext_delta
    if t.cap == "p" then
    if t.inverse_arc and type_arc ~="bg" then
    angle_b = angle-ext_angle-ext_delta
    end
    if not(t.inverse_arc) and type_arc=="bg" then
    angle_b = ext_delta+ext_angle
    end
    else
    if t.inverse_arc and type_arc ~="bg" then
    angle_b = angle-ext_angle-ext_delta
    end
    if not(t.inverse_arc) and type_arc=="bg" then
    angle_b = ext_delta+ext_angle
    end
    end
    local bx,by = re*math.cos(angle_b),re*math.sin(angle_b)

    -- EXTERNAL ARC B --> C
    if t.inverse_arc then
    if type_arc=="bg" then
    b0,b1= ext_delta, angle-ext_delta-ext_angle
    else
    b0,b1= angle-ext_angle-ext_delta, angle-ext_delta
    end
    else
    if type_arc=="bg" then
    b0,b1= ext_delta+ext_angle, angle-ext_delta
    else
    b0,b1= ext_delta, ext_angle+ext_delta
    end
    end

    ---POINT D
    local angle_c
    if t.cap == "p" then
    angle_d = angle-int_delta
    if t.inverse_arc and type_arc=="bg" then
    angle_d = angle-int_delta-int_angle
    end
    if not(t.inverse_arc) and type_arc~="bg" then
    angle_d=int_delta+int_angle
    end
    else
    angle_d = angle-ext_delta
    if t.inverse_arc and type_arc=="bg" then
    angle_d =angle-ext_delta-ext_angle
    end
    if not(t.inverse_arc) and type_arc~="bg" then
    angle_d = ext_angle+ext_delta
    end
    end
    local dx,dy = ri*math.cos(angle_d),ri*math.sin(angle_d)

    -- INTERNAL ARC D --> A
    if t.cap=="p" then
    if t.inverse_arc then
    if type_arc=="bg" then
    d0,d1= angle-int_delta-int_angle,int_delta
    else
    d0,d1= angle-int_delta, angle- int_angle-int_delta
    end
    else
    if type_arc=="bg" then
    d0,d1= angle-int_delta, int_delta+int_angle
    else
    d0,d1= int_delta+int_angle, int_delta
    end
    end
    else
    if t.inverse_arc then
    if type_arc=="bg" then
    d0,d1= angle-ext_delta-ext_angle,ext_delta
    else
    d0,d1= angle-ext_delta, angle- ext_angle-ext_delta
    end
    else
    if type_arc=="bg" then
    d0,d1= angle-ext_delta,ext_delta+ext_angle
    else
    d0,d1= ext_angle+ext_delta, ext_delta
    end
    end
    end

    --draw sector
    cairo_move_to(cr,ax,ay)
    cairo_line_to(cr,bx,by)
    cairo_arc(cr,0,0,re,b0,b1)
    cairo_line_to(cr,dx,dy)
    cairo_arc_negative(cr,0,0,ri,d0,d1)
    cairo_close_path (cr);

    --stroke or fill sector
    if type_arc=="bd" then
    cairo_set_line_width(cr,t.border_size)
    cairo_stroke(cr)
    else
    cairo_fill(cr)
    end

    cairo_restore(cr)

    end
    --draw sectors
    local n0,n1,n2 = 1,t.sectors,1
    if t.inverse_arc then n0,n1,n2 = t.sectors,1,-1 end
    local index = 0
    for i = n0,n1,n2 do
    index = index +1
    local valueZ=1
    local cstA, cstB = (i-1),i
    if t.inverse_arc then cstA,cstB = (t.sectors-i), (t.sectors-i+1) end

    if value>valueA *cstA and value<valueA*cstB then
    if not t.fill_sector then
    valueZ = (value-valueA*cstA)/valueA
    end
    else
    if value<valueA*cstB then valueZ=0 end
    end

    local start_angle= lastAngle+(i-1)*angleA
    if t.foreground ~= false then
    draw_sector("fg",start_angle,angleA,valueZ, index)
    end
    if t.background ~= false then
    draw_sector("bg",start_angle,angleA,valueZ, i)
    end
    if t.border_size>0 then draw_sector("bd",start_angle,angleA,1, i) end
    end

    cairo_restore(cr)
    end


    --[[END OF RING-SECTORS WIDGET]]

    --Je ne sais pas a quoi sert cette fonction, mais elle a toujours été là, donc je la laisse par précaution.

    function axis(ctx,alpha)
    cairo_set_line_width(ctx,1)
    cairo_set_source_rgba(ctx,1,0,0,alpha)
    cairo_move_to(ctx,0,0)
    cairo_line_to(ctx,150,0)
    cairo_stroke(ctx)
    cairo_set_source_rgba(ctx,0,1,0,alpha)
    cairo_move_to(ctx,0,0)
    cairo_line_to(ctx,0,150)
    cairo_stroke(ctx)
    end

    conkyrc2
    Spoiler:
    alignment top_left
    background yes
    border_width 1
    cpu_avg_samples 2
    default_color blue
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont Nimbus Sans :size=8
    gap_x 0
    gap_y 0
    net_avg_samples 2
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_class Conky
    own_window_type override
    own_window_transparent yes
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale yes
    show_graph_range no

    # Paramétrage des couleurs
    default_color 616161 # couleur par défaut du texte
    default_shade_color ffffff # couleur par défaut de l'ombre
    default_outline_color ffffff # couleur par défaut du contour
    color0 949494 # Titre
    color1 616161 # Texte
    color2 CC2929 # Température et valeur > 80
    color3 CC6D29 # 50 <= Valeur < 80
    color4 008000 # 20 <= valeur < 50
    color5 2d7db3 # DL
    color6 844796 # UL
    default_shade_color white
    default_outline_color white

    # Text alignment, other possible values are commented
    alignment top_right
    #minimum_size 10 10
    gap_x 10
    gap_y 800

    #alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    TEXT


    ${color 616161}${font Nimbus Sans L:style=Bold:size 8}Processos${color 616161}${hr }
    ${color 616161}${font Deja Vu Sans Mono:size=7}Process : $processes
    ${color 616161}${font Deja Vu Sans Mono:size=7}Running : $running_processes
    ${font Deja Vu Sans Mono:size=7}${color 616161}Name CPU% MEM%
    ${color 949494} ${top name 1} ${top cpu 1} ${top mem 1}
    ${color 949494} ${top name 2} ${top cpu 2} ${top mem 2}
    ${color 949494} ${top name 3} ${top cpu 3} ${top mem 3}
    ${color 949494} ${top name 4} ${top cpu 4} ${top mem 4}
    ${color 949494} ${top name 5} ${top cpu 5} ${top mem 5}
    ${color 949494} ${top name 6} ${top cpu 6} ${top mem 6}
    ${color 949494} ${top name 7} ${top cpu 7} ${top mem 7}
    ${color 949494} ${top name 8} ${top cpu 8} ${top mem 8}

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 rafaelsarilho » Seg, 24 de Outubro 2011, 22:16

Ubuntu 11.10 - Gnome Shell

Avatar do usuário
rafaelsarilho
 
Mensagens: 84
Registrado em: 24 Julho, 2011
Localização: Ribeirão Preto, SP, Brasil

Re: Mostre o seu Desktop!

Mensagempor Roger Braga » Ter, 25 de Outubro 2011, 1:23

LEAD & BLOOD

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 » Ter, 25 de Outubro 2011, 1:51

Carolina

  • Sistema Operativo: Ubuntu 11.04 (Natty Narwhal)
  • Tema: Carolina GTK
  • Ícones: AwOKen
  • Wallpaper: http://img844.imageshack.us/img844/4905 ... 0x1050.jpg
  • AWN;
  • Conky;
    conkyrc
    Spoiler:
    #
    # conky weather config
    #

    # set to yes if you want Conky to be forked in the background
    background yes

    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

    # Use Xft?
    use_xft yes

    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=9

    # Text alpha when using Xft
    xftalpha 0.8

    # Update interval in seconds
    update_interval 1.0

    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0

    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes

    # Minimum size of text area
    minimum_size 300 0
    maximum_width 300

    # Draw shades?
    draw_shades yes

    # Draw outlines?
    draw_outline no

    # Draw borders around text
    draw_borders no
    draw_graph_borders yes

    # Stippled borders?
    stippled_borders 8

    # border margins
    border_inner_margin 4

    # border width
    border_width 1

    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color white

    # own window options
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right

    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 10
    gap_y 30

    # Subtract file system buffers from used memory?
    no_buffers yes

    # set to yes if you want all text to be in uppercase
    uppercase no

    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2

    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2

    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes

    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer right

    # colours
    color1 696969
    # light blue
    color2 3465A4
    # orange
    #E77320
    color3 FC8820
    # green
    color4 78BF39
    # red
    color5 CC0000

    text_buffer_size 2048

    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument

    # stuff after 'TEXT' will be formatted on screen

    TEXT
    ${font :size=50}${color1}${alignc}${time %k:%M:%S}${time %p}$color$font
    ${font :size=18}${color1}${alignc}${time %A, %d %b. %Y}$color$font


    ${offset -5}${color 696969}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${color 696969}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color 696969}
    ${color 696969}${execpi 1800 conkyForecast --location=BRXX0232 --template=/home/roger/cr/conkyForecast1.template}${color}

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

Tópicos Similares:

Voltar para Temas do Ubuntu

Quem está online

Usuários navegando neste fórum: Majestic-12 [Bot] e 5 visitantes