Você não está autenticado.

Anúncio

Arch Linux Brasil está precisando de sua colaboração para realizar o pagamento do domínio e do host, para colaborar, realizar doações via paypal.

Para mais informações: contato at archlinux-br.org.

#1 08/07/2012 15:44:01

rdfreitas
Membro
De: São Paulo - SP
Registrado: 06/07/2009
Mensagens: 436

Screenshots de Julho de 2012

O de sempre

Openbox

tZXAyZQ


Email : [email protected]
arch x64 + Openbox

Offline

#2 09/07/2012 05:04:03

sistematico
Admin
De: Campo Grande / MS
Registrado: 13/06/2008
Mensagens: 1.022
Website

Re: Screenshots de Julho de 2012

Eita danado!!
Passa esse .conkyrc aí!?

big_smile

Offline

#3 09/07/2012 15:40:42

Mrk3004
Membro
De: São Paulo
Registrado: 25/04/2012
Mensagens: 48
Website

Re: Screenshots de Julho de 2012

screenshot95e93560.th.png


É um processo lento modificar princípios, e você nunca saberá que eles mudaram até que algo que parecia ser certo não pareça mais.

Offline

#4 09/07/2012 19:00:32

rdfreitas
Membro
De: São Paulo - SP
Registrado: 06/07/2009
Mensagens: 436

Re: Screenshots de Julho de 2012

sistematico escreveu:

Eita danado!!
Passa esse .conkyrc aí!?

big_smile

Opa....

conky

# — Conky settings — #
#background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 1024
imlib_cache_size 0

# — Window specifications — #

own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

#minimum_size 100 5
maximum_width 1368

alignment top_left
gap_x 1
gap_y 5

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

# — Text settings — #
use_xft yes
xftfont Sans:size=10
xftalpha 0.5 

uppercase no

default_color FFFFFF
color1 D23000

# — Lua Load — #
lua_load ~/.conky/conky_kde-arch.lua
lua_draw_hook_pre clock_rings

TEXT
${offset 80}${voffset 70}${font Neuropolitical:size=10:style:bold}${color 3399FF}CPU 1
${offset 80}${color FFFFFF}${cpu cpu0}%
${offset 270}${voffset -28}${color 3399FF}CPU 2
${offset 270}${color FFFFFF}${cpu cpu1}%
${offset 460}${voffset -27}${font Neuropolitical:size=10:style:bold}${color 3399FF}RAM
${offset 460}${color FFFFFF}${memperc}%
${offset 650}${voffset -27}${font Neuropolitical:size=10:style:bold}${color 3399FF}Root
${offset 650}${color FFFFFF}${fs_used_perc /}%
${offset 820}${voffset -40}${font Neuropolitical:size=10:style:bold}${color 3399FF}Arquivos
${offset 840}${color FFFFFF}${fs_used_perc /home/renan/Arquivos}%



#${voffset 40}${offset 600}${color FFFFFF}${font Neuropolitical:size=80}${time 
#%H:%M}${font}

${color 3399FF}${voffset 30}${offset 590}${font Neuropolitical:size=13:style:bold}Sistema${font}${color} : ${sysname} ${kernel}
${color 3399FF}${voffset 30}${offset 590}${font Neuropolitical:size=13:style:bold}Temperatura processador${font}${color} : ${execi 1 sensors | grep "temp1" | cut -c15-18}°C  /  ${execi 1 sensors | grep "temp2" | cut -c15-18}°C
${color 3399FF}${voffset 30}${offset 590}${font Neuropolitical:size=13:style:bold}Tempo Ligado${font}${color} : $uptime

lua

--[[
Clock Rings by londonali1010 (2009) , mod by arpinux

This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua 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/clock_rings.lua
   lua_draw_hook_pre clock_rings
   
Changelog:
+ v1.0 -- Original release (30.09.2009)
]]

settings_table = {
{
           name='cpu',
           arg='cpu0',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xe60000,
           fg_alpha=0.6,
           x=100, y=90,
           radius=60,
           thickness=30,
           start_angle=0,
           end_angle=355
   },
   {
          name='cpu',
           arg='cpu1',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xe60000,
           fg_alpha=0.6,
           x=290, y=90,
           radius=60,
           thickness=30,
           start_angle=0,
           end_angle=350
   },
{
           name='memperc',
           arg='',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0xffff00,
           fg_alpha=0.4,
           x=480, y=90,
           radius=60,
           thickness=30,
           start_angle=0,
           end_angle=345
   },
 {
           name='fs_used_perc',
           arg='/',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x297497,
           fg_alpha=0.8,
           x=670, y=90,
           radius=60,
           thickness=30,
           start_angle=0,
           end_angle=340
   },
{
           name='fs_used_perc',
           arg='/home/renan/Arquivos',
           max=100,
           bg_colour=0xffffff,
           bg_alpha=0.2,
           fg_colour=0x0f4964,
           fg_alpha=0.8,
           x=860, y=90,
           radius=60,
           thickness=30,
           start_angle=0,
           end_angle=335
   },
}



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_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)
        pct=value/pt['max']
       
        draw_ring(cr,pct,pt)
    end
   
    -- Check that Conky has been running for at least 5s

    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

Email : [email protected]
arch x64 + Openbox

Offline

#5 11/07/2012 21:28:52

Art^
Membro
De: Espírito Santo, Brazil
Registrado: 31/05/2011
Mensagens: 222

Re: Screenshots de Julho de 2012

arch_linux_desktop_screenshot_11_07_12_by_art.png

WM: XFCE 4.10
Theme: Zukini
Metacity: Zukitwo
Icon: Lambda


Twitter: @ArthurMarino
-
"The dream don't come no closer by itself. We gotta run after it now." - Carlito Brigante

Offline

#6 26/07/2012 06:43:31

Mrk3004
Membro
De: São Paulo
Registrado: 25/04/2012
Mensagens: 48
Website

Re: Screenshots de Julho de 2012

screenshot87112c11.th.png

/~\ _  _  _ |_  _   
\_/|_)(/_| ||_)(_)><
   |


É um processo lento modificar princípios, e você nunca saberá que eles mudaram até que algo que parecia ser certo não pareça mais.

Offline

Rodapé do site