Doterivanje, editovanje, razmena... conkyrc-a

Teme koje se tiču podešavanja i zanimljivosti u vezi desktop okruženja

Moderators: Sinisa, Urednik

Post Reply

Prijatelj foruma
Prijatelj foruma
offline

Posts: 441
Joined: 11 Jan 2012, 23:04
Location: Ratkovo, Srbija
Contact:

Post Napisano: 09 Aug 2012, 15:04


snapshot2.png
Treba jos malo da se dotera ali dobar je i ovako ;)



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 18 Aug 2012, 15:43


Mala modifikacija conkyrc fajla koji sam postovao ranije daje jednu izmenu a to je dodatak kalendar sa obeleženim današnjim datumom. Na žalost od fensi izgleda conky-a nema ništa dok ne budu sredili da se LUA može kompajlirati na 64bitnim sistemima.

Sadašnji conkyrc ima izmenu u samo jednom kodu u odnosu na prethodni:

Code: Select all

${execpi 60 DZS=`date +%_d`; cal | sed s/"\(^\|[^0-9]\)$DZS"'\b'/'\1${color orange}'"$DZS"'$color'/}
Izgled:
mala modifikacija.png
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 24 Aug 2012, 01:02


Dodao sam još jedan conky (vidi sa leve strane ;))
Meni je bio zanimljiv ovaj sat :D

Slika:
conky x 2.png
Sadržaj conkyrc:

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
#
# Enjoy! :)
##############################################
#  Settings
##############################################

background yes
use_xft yes
xftfont Sans-Serif:size=12
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
#default_shade_color black
default_outline_color white
alignment top_left
gap_x 30
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 222222

TEXT
${font Sans-Serif:bold:size=12}
${color}I T ${color1}L ${color}I S ${color1}A S T I M E
${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}Q U A R T E R ${color1}D C
${if_match ${exec date +"%M"} >= 20}${if_match ${exec date +"%M"} < 30}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} >= 25}${if_match ${exec date +"%M"} < 30}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 5}${if_match ${exec date +"%M"} < 10}${color}${endif}${endif}F I V E ${color1}X
${if_match ${exec date +"%M"} >= 30}${if_match ${exec date +"%M"} < 35}${color}${endif}${endif}H A L F ${color1}B ${if_match ${exec date +"%M"} >= 10}${if_match ${exec date +"%M"} < 15}${color}${endif}${endif}T E N ${color1}F T O
${else}${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}Q U A R T E R ${color1}D C
${if_match ${exec date +"%M"} >= 35}${if_match ${exec date +"%M"} < 45}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} < 40}${if_match ${exec date +"%M"} >= 35}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 55}${color}${endif}F I V E ${color1}X
H A L F B ${if_match ${exec date +"%M"} >= 50}${if_match ${exec date +"%M"} < 55}${color}${endif}${endif}T E N ${color1}F ${color}T O${color1}
${endif}${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} > 5}${color}${endif}${endif}P A S T ${color1}E R U ${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}E I G H T ${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif}E L E V E N
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}S E V E N ${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}T W E L V E
${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif}T E N ${else}${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}E I G H T${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif} E L E V E N
${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S E V E N${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif} T W E L V E
${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}T E N ${endif}${color1}S E ${if_match ${exec date +"%M"} < 5}${color}${endif}O C L O C K
${color}${if_running mocp}${font Sans-Serif:bold:size=8}MUSIC ${hr 2}
${font Sans-Serif:normal:size=8}${execi 10 mocp -Q '%song\n%artist\n%album'}
${execbar mocp -Q '%cs/%ts*100' | bc -l}
${endif}
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 11 Sep 2012, 03:11


Izgled desktopa sa male mašine, ona koja ide na teren ;) U pitanju je SalixOS 14 xfce. Neka elementarna podešavanja: blaga transparentnost gornjeg panela i potpuna transparentnost donjeg panela koji sadrži samo pokretače (launchere), jednostavan i opuštajući wallpaper, slack ikona na mesto menu dugmeta, providan terminator, promenjen kusror i conky.
Conky kompajliran sa LUA opcijom, podešen za sada da prikazuje sat, opterećenje procesora i ram-a i stanje baterije. Po potrebi tu je spreman i htc_conky. Sve u smislu reklamiranja linuxa.

conkyrc:

Code: Select all

# — Conky settings — #
background no
update_interval 1

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

temperature_unit celsius

# — Window specifications — #

own_window yes
own_window_type override 
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

minimum_size 130
maximum_width 984

alignment tr
gap_x 15
gap_y 50

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

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

uppercase no

default_color B0171F
color1 000000
# — Lua Load — #
	lua_load ~/.conky/Deep_Orbs_Conky/conky/clock_rings.lua
	lua_draw_hook_pre clock_rings

TEXT
${image ~/.conky/Deep_Orbs_Conky/conky/orb-2.png -p 0,0} 

${image ~/.conky/Deep_Orbs_Conky/conky/orb-2.png -p 0,126}
${color}${goto 55}${voffset 125}${cpu cpu0}%
${color1}${goto 55}cpu
${image ~/.conky/Deep_Orbs_Conky/conky/orb-2.png -p 0,252}
${color}${goto 52}${voffset 80}${memperc}%
${color1}${goto 52}mem
${color}${goto 25}${voffset 70}${battery}


conky_rings.lua

Code: Select all

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=0xFFFFFF,
		-- "bg_alpha" is the alpha value of the base ring.
		bg_alpha=0.1,
		-- "fg_colour" is the colour of the indicator part of the ring.
		fg_colour=0xb8b7b7,
		-- "fg_alpha" is the alpha value of the indicator part of the ring.
		fg_alpha=0.9,
		-- "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=67, y=61,
		-- "radius" is the radius of the ring.
		radius=30,
		-- "thickness" is the thickness of the ring, centred around the radius.
		thickness=2,
		-- "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 than start_angle.
		end_angle=360
	},
	{
		name='cpu',
		arg='cpu0',
		max=100,
		bg_colour=0xFFFFFF,
		bg_alpha=0.1,
		fg_colour=0x5E2605,
		fg_alpha=0.5,
		x=67, y=187,
		radius=30,
		thickness=2,
		start_angle=-90,
		end_angle=180
	},
	{
		name='memperc',
		arg='',
		max=100,
		bg_colour=0xFFFFFF,
		bg_alpha=0.1,
		fg_colour=0x5E2605,
		fg_alpha=0.9,
		x=67, y=313,
		radius=30,
		thickness=2,
		start_angle=-90,
		end_angle=180
	},

			
}

-- Use these settings to define the origin and extent of your clock.

clock_r=29

-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.

clock_x=67
clock_y=61

show_seconds=true

require 'cairo'
--------------------------------------------------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
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 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
		
	-- Draw hour hand
	
	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,0.9,0.9,0.9,0.3)
	cairo_stroke(cr)
	
	-- Draw minute hand
	
	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)
	
	-- Draw seconds hand
	
	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_set_source_rgba(cr,0.9,0.6,0.2,0.6)
		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)
		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
	
	draw_clock_hands(cr,clock_x,clock_y)
end
Sami prsteni su u png fajlu.
orb-2.png
orb-2.png (8.55 KiB) Viewed 7140 times
Izled ekrana:
salixOS.png
Sve u svemu nije loše kad treba da se malo predstavi linux i bar neke njegove mogućnosti :cool:
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 12 Sep 2012, 16:07


Malo sam sredio izgled na maloj mašini. Sad izgleda ozbiljnije a i lepše :afro:
salix desktop.png
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 17 Sep 2012, 09:43


Ovo je trenutno na desktop računaru ali mi se ne sviđa skroz. Očekujem da neko ima predloge za widgete koji bih mogao da probam.

Dva komata conky-ja
conky widget x2.png
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 09 Oct 2012, 16:12


Malo sam se igrao pa sam ušarenio conky.

Code: Select all

background no
font Sans:size=8
#xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 190
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_left
gap_x 12
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
uppercase yes # set to yes if you want all text to be in uppercase

TEXT
${time %d, %B, %Y}
${font Sans-Serif:normal:size=30}${time %H:%M}${font}

${color red}$sysname: ${color}$alignr${execi 1 cat /etc/slackware-version}
${color red}Hostname: ${color}$alignr$nodename
${color red}Kernel: ${color}$alignr$kernel
${color red}Uptime: ${color}$alignr$uptime

${color red}CPU: ${color}${alignr}${freq} MHz
${color red}CPU temp: ${color}${alignr}${execi 10 sensors | grep 'Temp' | cut -c17-18}C
${color red}Processes: ${color}${alignr}$processes ($running_processes running)

${color red}CPU1 ${color}${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
${color red}CPU2 ${color}${alignr}${cpu cpu2}%
${cpubar 4 cpu2}

${color red}Ram ${color}${alignr}$mem / $memmax ($memperc%)
${membar 4}
${color red}swap ${color}${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

${color red}Root: ${color}${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
${color red}Home: ${color}${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
${color red}magacin: ${color}${alignr}${fs_free /mnt/magacin} / ${fs_size /mnt/magacin}
${fs_bar 4 /mnt/magacin}

${color red}Down ${color}${downspeed eth0} ${alignr}${color red}Up ${color}${upspeed eth0}
${downspeedgraph eth0 25,90} ${alignr}${upspeedgraph eth0 25,90}
${color red}Total ${color}${totaldown eth0} ${alignr}${color red}Total ${color}${totalup eth0}
Boje ću verovatno vratiti sve da bude belo. Nego nikako ne mogu da ubacim temperature hard diskova u conky. Probao sam sve što sam našao na netu. Ima li pomoći ili ipak nema ništa od prikazivanja temperature hard diskova.

Evo i sličice.
Screenshot - 10092012.png
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 12 Oct 2012, 01:47


Rešio sam problem sa prikazivanjem temperatura hard diskova u cokny skripti. Pre svega se treba preuzeti program hddtemp i podesiti sudo, na primer, prema Bocketovom uputstvu. U /etc/sudoers treba staviti sledeći red

Code: Select all

# Omoguci korisniku zeljko da pokrece hddtemp kao root bez lozinke 
zeljko ALL=(root) NOPASSWD: /usr/sbin/hddtemp
Nakon toga treba dodati u conkyrc sledeće redove i blago ih prilagoditi

Code: Select all

HDD SATA temp ${alignr}${execi 10 sudo /usr/sbin/hddtemp /dev/sda | cut -c55-56}C
HDD ATA temp ${alignr}${execi 10 sudo /usr/sbin/hddtemp /dev/sdb | cut -c55-56}C
Ako u terminalu ukucate

Code: Select all

sudo /usr/sbin/hddtemp /dev/sda
dobićete ovako nešto

Code: Select all

/dev/sda: WDC WD5000AAKX-001CA0                   �: 37°C
U komandi koja se dodaje u conkyrc treba podesiti zadnji deo koda odnosno cut -c55-56 jer su to mesta na kojima se nalaze brojevi 3 i 7.
E na taj način će conky prikazivati i temperaturu hard diskova. Još jedna stvar na koju treba obratiti pažnju jeste da li se u hddtemp.db nalazi i vaš hard disk. Noviji diskovi uglavnom nisu prepoznati odmah ali je moguće vrlo lako ih ubaciti u bazu.

Evo primera kako kod mene izgleda kao i konačan izgled.

Code: Select all

background no
font Sans:size=8
#xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 190
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_left
gap_x 12
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase yes # set to yes if you want all text to be in uppercase

TEXT
${time %d, %B, %Y}
${font Sans-Serif:normal:size=30}${time %H:%M}${font}

${color red}$sysname: ${color}$alignr${execi 1 cat /etc/slackware-version}
${color red}Hostname: ${color}$alignr$nodename
${color red}Kernel: ${color}$alignr$kernel
${color red}Uptime: ${color}$alignr$uptime

${color red}CPU: ${color}${alignr}${freq} MHz
${color red}Processes: ${color}${alignr}$processes ($running_processes running)
${color red}CPU temp: ${color}${alignr}${execi 10 sensors | grep 'Temp' | cut -c17-18}C
${color red}AMD HD6750 ${color}${alignr}${execi 10 aticonfig --adapter=0 --od-gettemperature | grep Temp | cut -c37-38}C
${color red}HDD SATA temp ${color}${alignr}${execi 10 sudo /usr/sbin/hddtemp /dev/sda | cut -c55-56}C
${color red}HDD ATA temp ${color}${alignr}${execi 10 sudo /usr/sbin/hddtemp /dev/sdb | cut -c55-56}C

${color red}CPU1 ${color}${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
${color red}CPU2 ${color}${alignr}${cpu cpu2}%
${cpubar 4 cpu2}

${color red}Ram ${color}${alignr}$mem / $memmax ($memperc%)
${membar 4}
${color red}swap ${color}${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

${color red}Root: ${color}${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
${color red}Home: ${color}${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
${color red}magacin: ${color}${alignr}${fs_free /mnt/magacin} / ${fs_size /mnt/magacin}
${fs_bar 4 /mnt/magacin}

${color red}Down ${color}${downspeed eth0} ${alignr}${color red}Up ${color}${upspeed eth0}
${downspeedgraph eth0 25,90} ${alignr}${upspeedgraph eth0 25,90}
${color red}Total ${color}${totaldown eth0} ${alignr}${color red}Total ${color}${totalup eth0}

conky i hdd i vga i ostalo.png
:beer:
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 2168
Joined: 08 Jun 2010, 13:28
Location: Centralna Srbija Kraljevo
Contact:

Post Napisano: 12 Oct 2012, 08:55


Probaj malo da smanjiš font, i da ti samo prvo početno slovo bude veliko a ne sva, mislim da bi tako bilo lepše.
Probaću da ubacim samo sat iz tvog conky-a u moj, ako bude mogao da stane, jer koristim ovaj.
conky.jpg
Dobio sam kod na LQ te sam ga doradio.



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 12 Oct 2012, 09:32


Font je veličine 8 što se na početku koda vidi, jedino je sat već ali to je sa namerom. Da mogu iz kreveta da vidim koliko ima sati kad se probudim :D
Ajde ostavi tvoj conkyrc da izvučem neke kodove.
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”


Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests