SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#3801 2012-11-15 02:59:58

runpc2deth
#! Member
Registered: 2012-10-31
Posts: 73

Re: Conky v1.9 Thread

Offline

Help fund CrunchBang, donate to the project!

#3802 2012-11-15 03:23:11

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

# killall conky && conky &
# To use #! in a conky use: ${exec echo '#!'}

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour gray
own_window_class Conky
own_window_title Simple_Info

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
 own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 0

minimum_size 160 10     ## width, height
maximum_width 160       ## width, usually a good idea to equal minimum width

gap_x 10 # left-right
gap_y 40 # up-down

alignment tr
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:bold:size=9
xftfont DrjaVu Sans Mono:bold:size=8

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color gray
default_outline_color black

default_color DCDCDC #220 220 2# killall conky && conky &
# To use #! in a conky use: ${exec echo '#!'}

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour gray
own_window_class Conky
own_window_title Simple_Info

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
 own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 0

minimum_size 160 10     ## width, height
maximum_width 160       ## width, usually a good idea to equal minimum width

gap_x 10 # left-right
gap_y 40 # up-down

alignment tr
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:bold:size=9
xftfont DrjaVu Sans Mono:bold:size=8

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color gray
default_outline_color black

default_color DCDCDC #220 220 220	Gainsboro
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 FF8C00 #255 140   0	DarkOrange
color3 7FFF00 #127 255   0	Chartreuse
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 00FFFF #  0 255 255	Cyan
color8 FFFF00 #255 255   0	Yellow
color9 B22222 #178  34  34	FireBrick
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
0
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 1028

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 15 0 0 0 0 0x000000 0.5
# lua_draw_hook_post draw-bg 125 0 0 0 0 0x000000 0.01
#
# TEXT
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1

TEXT
${lua conky_draw_bg 15 0 0 0 0 0x000000 0.5}
${alignc}Information
 ${time %T}${alignr 5}${uptime_short}
${hr}
${alignc}${kernel}
${hr}
 Host:${alignr 5}${nodename}

 RAM:${alignr 5}${mem} / ${memmax}
 Swap:${alignr 5}${swap} / ${swapmax}
 Disk:${alignr 5}${fs_used /} / ${fs_size /}

 CPU 1:${alignr 5}${cpu cpu1}%
 CPU 2:${alignr 5}${cpu cpu2}%
 CPU 3:${alignr 5}${cpu cpu3}%
 CPU Avg:${alignr 5}${cpu cpu0}%

 /Root: ${fs_size /}${alignr 5}${fs_used_perc /}%${color}
 /Home: ${fs_size /home}${alignr 5}${fs_used_perc /home}%

 SDA:
 Read:${alignr 5}${diskio_read /dev/sda}
 Write:${alignr 5}${diskio_write /dev/sda}
 Down: ${downspeedf eth0}${alignr 5}Up: ${upspeedf eth0}
20	Gainsboro
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 FF8C00 #255 140   0	DarkOrange
color3 7FFF00 #127 255   0	Chartreuse
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 00FFFF #  0 255 255	Cyan
color8 FFFF00 #255 255   0	Yellow
color9 B22222 #178  34  34	FireBrick
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
0
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 1028

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 15 0 0 0 0 0x000000 0.5
# lua_draw_hook_post draw-bg 125 0 0 0 0 0x000000 0.01
#
# TEXT
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1

TEXT
${lua conky_draw_bg 15 0 0 0 0 0x000000 0.5}
${alignc}Information
 ${time %T}${alignr 5}${uptime_short}
${hr}
${alignc}${kernel}
${hr}
 Host:${alignr 5}${nodename}

 RAM:${alignr 5}${mem} / ${memmax}
 Swap:${alignr 5}${swap} / ${swapmax}
 Disk:${alignr 5}${fs_used /} / ${fs_size /}

 CPU 1:${alignr 5}${cpu cpu1}%
 CPU 2:${alignr 5}${cpu cpu2}%
 CPU 3:${alignr 5}${cpu cpu3}%
 CPU Avg:${alignr 5}${cpu cpu0}%

 /Root: ${fs_size /}${alignr 5}${fs_used_perc /}%${color}
 /Home: ${fs_size /home}${alignr 5}${fs_used_perc /home}%

 SDA:
 Read:${alignr 5}${diskio_read /dev/sda}
 Write:${alignr 5}${diskio_write /dev/sda}
 Down: ${downspeedf eth0}${alignr 5}Up: ${upspeedf eth0}

Last edited by Sector11 (2012-11-15 03:24:54)

Offline

#3803 2012-11-15 03:47:25

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#3804 2012-11-15 04:40:17

jed
#! CrunchBanger
From: Detachment 7
Registered: 2012-08-28
Posts: 200
Website

Re: Conky v1.9 Thread

Last edited by jed (2012-11-15 04:58:31)

Offline

#3805 2012-11-15 05:04:53

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

now["wind_gusts_km"] --> number followed by wind_km_unit eg 5 mph
now["wind_gusts_km_caps"] --> number followed by wind_kn_unit eg 5 MPH
now["wind_gusts_kts"] --> number followed by wind_kts_unit eg 5 kts
now["wind_gusts_kts_caps"] --> number followed by wind_kts_unit eg 5 KTS
now["wind_km"] --> number followed by wind_km_unit eg 5 mph
now["wind_km_caps"] --> number followed by wind_km_unit eg 5 MPH
now["wind_kts"] --> number followed by wind_kts_unit eg 5 kts
now["wind_kts_caps"] --> number followed by wind_kts_unit eg 5 KTS

Last edited by mrpeachy (2012-11-15 05:10:04)

Offline

#3806 2012-11-15 05:11:55

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Offline

#3807 2012-11-15 05:16:05

jed
#! CrunchBanger
From: Detachment 7
Registered: 2012-08-28
Posts: 200
Website

Re: Conky v1.9 Thread

Offline

#3808 2012-11-15 05:39:25

jed
#! CrunchBanger
From: Detachment 7
Registered: 2012-08-28
Posts: 200
Website

Re: Conky v1.9 Thread

jedsdesk@jedsdesk:~$ WARNING: gnome-keyring:: couldn't connect to: /home/jedsdesk/.cache/keyring-6X6TMr/pkcs11: No such file or directory

Last edited by jed (2012-11-15 06:52:45)

Offline

#3809 2012-11-15 10:51:01

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: Conky v1.9 Thread

unfortunately it will not work.

@ all lua-experts:

i need your help. the temperature is very often 'minus ein grad' that's why the exception is important.

here i call the function:

n2w(low_temp[1])

and here the code of the function:

function n2w_fd(number)

number=tonumber(number)
local n_len=string.len(number)
if number<0 then
number=tonumber(string.sub(number,2,n_len))
minus="minus "
else
number=number
minus=""
end
if number>99 then
h=tonumber(string.sub(number,1,1))
tu=tonumber(string.sub(number,2,3))
t=tonumber(string.sub(number,2,2))
u=tonumber(string.sub(number,3,3))
elseif number<100 then
tu=number
t=tonumber(string.sub(number,1,1))
u=tonumber(string.sub(number,2,2))
end
n1_tab={"eins","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","elf","zwölf","dreizehn","vierzehn","fünfzehn","sechzehn","siebzehn","achtzehn","neunzehn",}
n2_tab={"zehn","zwanzig","dreißig","vierzig","fünfzig","sechzig","siebzig","achtzig","neunzig"}
if number>0 then n0="" else n0="null" end
if tu<20 and tu~=10 and tu~=0 then 
	out=n1_tab[tu]
elseif tu==10 then
	out="zehn"
elseif tu==0 then
	out="null"
elseif tu>19 then
	if u>0 then 
	joinu=" " 
	u=n1_tab[u]
	else 
	joinu=""
	u=""
	end
	g=string.sub(number,2,2)
--	out=joinu..'lang:'..tu..' geschn.: '..g..' '..n2_tab[t]..'('..string.sub(tu,1,1)..','..string.sub(tu,2,2)..')'
	out=international(tu,g,n2_tab[t])
--	out=n2_tab[t]..joinu..u -- original
end

if number>99 and number~=100 and number~=1 then
	h=n1_tab[h]
	return minus..h.." hundred and "..out
elseif number==100 then
	return "einhundert"
elseif number<100 then
	return minus..out
elseif number==1 then
       if minus=="minus " then
       return "minus ein grad"
       else
       return "whatever it should be for one"
       end
end
end--function

function international(lang,geschnitten,wort)

local anzahl=tonumber(lang) -- ganze zahl, z.b. 21
local kurzezahl=tonumber(geschnitten) -- letzte zahl, z.b. 1 von 21

if kurzezahl==1 or anzahl==1 then

 if string.len(anzahl)>1  then
 nummer='einund'..n2_tab[t]     -- gives me for example 21, 31 etc
 elseif string.len(anzahl)==1 then
 nummer='eins'			           -- gives me the number 1
 end

elseif kurzezahl~=1 or anzahl ~=1 then

   if anzahl==0 then
   nummer=wort                                     -- should give me the word 'null' (zero)
   elseif tonumber(string.sub(anzahl,1,1)) and tonumber(string.sub(anzahl,2,2))==0 then   --
   nummer=wort                                     -- gives me numbers like 10,20,30 etc.
   else 
    nummer=n2w(kurzezahl)..'und'..wort         --  gives me such numbers like 22,23,24 etc.
    end

end

return nummer

end -- der fun ktion

do u want a proof pic smile

Offline

#3810 2012-11-15 12:40:19

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Last edited by Sector11 (2012-11-15 13:02:42)

Offline

#3811 2012-11-15 12:42:49

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#3812 2012-11-15 12:43:49

jed
#! CrunchBanger
From: Detachment 7
Registered: 2012-08-28
Posts: 200
Website

Re: Conky v1.9 Thread

Yeah, yeah.  Rub it in!  Haven't looked hard enough into it.  Do you know how to fix?  Save me the time and brain cells!

Jed

Offline

#3813 2012-11-15 13:02:16

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

text_days={"00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23",}
for i=1,24 do

Last edited by Sector11 (2012-11-15 13:03:53)

Offline

#3814 2012-11-15 13:22:50

jed
#! CrunchBanger
From: Detachment 7
Registered: 2012-08-28
Posts: 200
Website

Re: Conky v1.9 Thread

Last edited by jed (2012-11-15 13:29:07)

Offline

#3815 2012-11-15 13:46:38

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: Conky v1.9 Thread

Last edited by PackRat (2012-11-15 13:47:29)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#3816 2012-11-15 15:32:57

Angelaki
New Member
Registered: 2012-11-15
Posts: 2

Re: Conky v1.9 Thread

Offline

#3817 2012-11-15 16:35:48

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: Conky v1.9 Thread

Offline

#3818 2012-11-15 17:00:20

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: Conky v1.9 Thread

Offline

#3819 2012-11-15 17:10:46

Angelaki
New Member
Registered: 2012-11-15
Posts: 2

Re: Conky v1.9 Thread

Offline

#3820 2012-11-15 18:26:17

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: Conky v1.9 Thread

######################
# - Conky settings - #
######################

background no
update_interval .3
cpu_avg_samples 1
total_run_times 0
override_utf8_locale yes
 
double_buffer yes
#no_buffers yes
 
text_buffer_size 10240
imlib_cache_size 10240

minimum_size 270 1000
maximum_width 270

gap_x 25
gap_y 40
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Antipasto:size=8
xftalpha .8
 
uppercase no

# Text alignment, other possible values are commented
#alignment middle_left
#alignment middle_middle
#alignment middle_right
#alignment top_middle
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment bottom_middle

######################
# - Color settings - #
######################
color0 c3c3c3 #mid gray
color1 FF0000 #red
color2 09FF00 #bright green
color3 007EFF #bright blue
color4 E3E3E3 #very light gray
color5 FF8600 #an orange shade
color6 CA8718 #a dust like color
color7 FFE500 #a darker yellow color
color8 C3FF00 #lime green
color9 00FCFF #sky blue
default_color c3c3c3
default_shade_color gray
default_outline_color black
#############################
# - Window specifications - #
#############################
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

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

####
## Load Lua for bargraphs (required)
## Set the path to your script here.
#
lua_load ~/McBars/scripts/bargraph.lua
lua_draw_hook_pre main_bars

TEXT
${voffset -1}   Core System ${hr 2}
${goto 6}${voffset 4}${font StyleBats:size=16}i${font}${voffset -4}${goto 32}Distro:${alignr}${execi 2600 cat /etc/issue.net}
${goto 6}${voffset 4}${font xspiralmental:size=14}E${font}${voffset -4}${goto 32}Kernel:$alignr$kernel (${execi 3600 uname -m})
${goto 6}${voffset 4}${font StyleBats:size=14}o${font}${voffset -4}${goto 32}Uptime:${alignr}${uptime}
${goto 6}${voffset 4}${font StyleBats:size=16}q${font}${voffset -4}${goto 32}Processes:${alignr}$processes ($running_processes running)
${goto 6}${voffset 4}${font PizzaDude Bullets:size=14}J${font}${voffset -4}${goto 32}Updates:${alignr}${color FF452A}${execi 600 aptitude search "~U" | wc -l | tail}${color}  available updates
${voffset 4}${goto 6}${font Poky:size=14}P${font}${voffset -4}${goto 28}${execi 1000 cat /proc/cpuinfo | egrep -m 1 'model name' | sed -e 's/model name.*: //' | cut -c41-47} ${exec cat /proc/cpuinfo | egrep -m 1 'model name' | sed -e 's/model name.*: //' | cut -c1-5} ${exec cat /proc/cpuinfo | egrep -m 1 'model name' | sed -e 's/model name.*: //' | cut -c10-13}-${exec cat /proc/cpuinfo | egrep -m 1 'model name' | sed -e 's/model name.*: //' | cut -c19-20} ${exec cat /proc/cpuinfo | egrep -m 1 'model name' | sed -e 's/model name.*: //' | cut -c34-36}${alignr}Load: ${loadavg}
${goto 6}${font Poky:size=14}P${font}${voffset -4}${goto 28}CPU-1: ${freq_g 0}Gh ${cpu cpu0}%
${goto 6}${font Poky:size=14}P${font}${voffset -4}${goto 28}CPU-2: ${freq_g 1}Gh ${cpu cpu1}%
${goto 6}${font Poky:size=14}P${font}${voffset -4}${goto 28}CPU-3: ${freq_g 2}Gh ${cpu cpu2}%
${goto 6}${font Poky:size=14}P${font}${voffset -4}${goto 28}CPU-4: ${freq_g 3}Gh ${cpu cpu3}%
${voffset 8}${goto 28} Core System Temperatures:      
${image ~/McBars/therm.png -p 6,205 -s 20x20}${voffset 8}${goto 28}CPU: ${color FF452A}${execi 30 sensors | grep "Core 0" | cut -d "+" -f2 | cut -c1-4}°c${color}      
${image ~/McBars/therm.png -p 6,223 -s 20x20}${voffset 8}${goto 28}Mobo: ${color FF452A}${execi 30 sensors | grep 'temp2' | cut -c16-19}°c${color}      
${image ~/McBars/therm.png -p 6,240 -s 20x20}${voffset 8}${goto 28}GFX: ${color FF452A}${nvidia temp}°c${color}
${goto 6}${font Martin Vogel's Symbols:size=16}j${font}${voffset -4}${goto 28}CPU Fan: ${color 2A95B4}${exec sensors | grep "fan1:" | cut -c14-21}$color       ${voffset -10}${font Martin Vogel's Symbols:size=16}j${font}${voffset -4}  Case Fan: ${color 2A95B4}${exec sensors | grep "fan2:" | cut -c14-21}$color
${voffset 8}${goto 6}${font Poky:size=14}l${font}${voffset -4}${goto 32}Volume: ${mixer}
${goto 6}${voffset 4}${font Poky:size=14}M${font}${voffset -8}${goto 32}RAM: ${mem}${voffset -4}${alignr}
${voffset 4}${goto 32}Total: ${memmax}
${goto 7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest:${goto 153}CPU${alignr}RAM
${goto 32}${voffset -5.5}${hr 1}
${voffset -1}${goto 32}${top name 1} ${goto 150}${top cpu 1}${alignr }${top mem 1}
${voffset -1}${goto 32}${top name 2} ${goto 150}${top cpu 2}${alignr }${top mem 2}
${voffset -1}${goto 32}${top name 3} ${goto 150}${top cpu 3}${alignr }${top mem 3}
${voffset -1}${goto 32}${top name 4} ${goto 150}${top cpu 4}${alignr }${top mem 4}
${voffset -1}   File Systems ${hr 2}
${goto 3}${voffset 2}${font Poky:size=14}y${font}${goto 29}${voffset -11} Root: ${fs_used_perc /}% Used${alignr}Total Size ${fs_size /}
${goto 29} Free: ${fs_free /}
${goto 3}${voffset 2}${font Poky:size=14}y${font}${goto 29}${voffset -11} Home: ${fs_used_perc /home/mclovin/}% Used${alignr}Total Size ${fs_size /home/mclovin/}
${goto 29} Free: ${fs_free /home/mclovin/LShared}
${goto 3}${voffset 2}${font Poky:size=14}y${font}${goto 29}${voffset -11} L-Shared: ${fs_used_perc /home/mclovin/LShared}% Used${alignr}Total Size ${fs_size /home/mclovin/LShared}
${goto 29} Free: ${fs_free /home/mclovin/Shared}${alignr}
${goto 3}${voffset 2}${font Poky:size=14}y${font}${goto 29}${voffset -11} Linux-Files: ${fs_used_perc /home/mclovin/Linux-Files}% Used ${alignr}Total Size ${fs_size /home/mclovin/Linux-Files}
${goto 29} Free: ${fs_free /home/mclovin/Linux-Files}
${goto 3}${voffset 2}${font Poky:size=14}y${font}${goto 29}${voffset -11} Media: ${fs_used_perc /home/mclovin/Media}% Used${alignr}Total Size ${fs_size /home/mclovin/Media}
${goto 29} Free: ${fs_free /home/mclovin/Media}
${goto 3}${voffset 2}${font Poky:size=14}y${font}${goto 29}${voffset -11} Videos: ${fs_used_perc /home/mclovin/Videos}% Used${alignr}Total Size ${fs_size /home/mclovin/Videos}
${goto 29} Free: ${fs_free /home/mclovin/Videos}
${goto 3}${font Martin Vogel's Symbols:size=20}h${font}${voffset -4}${goto 32}Disk Activity: ${diskio}${alignr}${voffset -10}${diskiograph 18,150 00D7FF FF452A -l -t}
${image ~/McBars/therm.png -p 6,565 -s 20x20}${voffset}${goto 40}Drive Temps:        SDa: ${color FF452A}${exec hddtemp /dev/sda -n --unit=C}°c${color}        SDb: ${color FF452A}${exec hddtemp /dev/sdb -n --unit=C}°c${color}        SDc: ${color FF452A}${exec hddtemp /dev/sdc -n --unit=C}°c${color}
${voffset 4}   Network      active interface:  ${gw_iface} ${hr 2}
${color FF452A}${font PizzaDude Bullets:size=16}M${color}${font}${goto 32}${voffset -8}Up: ${upspeedf}${font}${voffset -2}${alignr}${upspeedgraph 18,160 00D7FF FF452A -l -t}
${voffset -16}${goto 32}Total: ${totalup}
${color 2A95B4}${font PizzaDude Bullets:size=16}S${color}${font}${goto 32}${voffset -8}Down: ${downspeedf}${font}${voffset -2}${alignr}${downspeedgraph 18,160 00D7FF FF452A -l -t}
${voffset -16}${goto 32}Total: ${totaldown}
${voffset}${font Poky:size=13}w${font}${goto 32}${voffset -10}Router IP:   ${gw_ip}${alignr}Local IP:   ${addr}
${goto 32}Public IP: ${alignr}${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

${if_running rhythmbox}${voffset -1}   Rythmbox ${hr 2}
${goto 80}Status:${alignr 5}$alignr${exec conkyRhythmbox --datatype=ST}
${goto 80}Artist:${alignr 5}$alignr${scroll 70 ${exec conkyRhythmbox --datatype=AR}}
${goto 80}Title:${alignr 5}$alignr${scroll 70 ${exec conkyRhythmbox --datatype=TI}}
${goto 80}Album:${alignr 5}$alignr${scroll 70 ${exec conkyRhythmbox --datatype=AL}}
${goto 80}Position:${alignr 5}${alignr}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE} - ${exec conkyRhythmbox --datatype=PP}%$font
${goto 80}${color 2A95B4}${execibar 1 conkyRhythmbox --datatype=PP}
${execi 4 cp "`conkyRhythmbox --datatype=CA | sed -e 's/\\\//g'`" ~/.album}${image ~/.album -p 5,570 -s 65x60 -n}
${else}${if_running clementine}${voffset -1}   Clementine ${hr 2}
${goto 80}Status:${alignr 5}$alignr${exec conkyClementine --datatype=ST}
${goto 80}Artist:${alignr 5}$alignr${scroll 70 ${exec conkyClementine --datatype=AR}}
${goto 80}Title:${alignr 5}$alignr${scroll 70 ${exec conkyClementine --datatype=TI}}
${goto 80}Album:${alignr 5}$alignr${scroll 70 ${exec conkyClementine --datatype=AL}}
${goto 80}Position:${alignr 5}${alignr}${exec conkyClementine --datatype=PT}/${exec conkyClementine --datatype=LE} - ${exec conkyClementine --datatype=PP}%$font
${goto 80}${color 2A95B4}${execibar 1 conkyClementine --datatype=PP}$color
${execi 4 cp "`conkyClementine --datatype=CA | sed -e 's/\\\//g'`" ~/.album}${image ~/.album -p 5,570 -s 65x60 -n}
${else}${if_running banshee}${voffset -1}   BANSHEE ${hr 2}
${goto 80}Status:${alignr 5}${exec conkyBanshee --datatype=ST}
${goto 80}Artist:${alignr 5}${scroll 70 ${exec conkyBanshee --datatype=AR}}
${goto 80}Title:${alignr 5}${scroll 70 ${exec conkyBanshee --datatype=TI}}
${goto 80}Album:${alignr 5}${scroll 70 ${exec conkyBanshee --datatype=AL}}
${goto 80}Position:${alignr 5}${exec conkyBanshee --datatype=PT}/${exec conkyBanshee --datatype=LE} - ${exec conkyBanshee --datatype=PP}%$font
${goto 80}${color 2A95B4}${execibar 1 conkyBanshee --datatype=PP}${color}
${execi 4 cp "`conkyBanshee --datatype=CA | sed -e 's/\\\//g'`" ~/.album}${image ~/.album -p 5,570 -s 65x60 -n}
${else}${if_running guayadeque}${voffset -1}   Guayadeque ${hr 2}
${goto 80}Status:${alignr 5}${exec conkyGuayadeque --datatype=ST}
${goto 80}Artist:${alignr 5}${scroll 70 ${exec conkyGuayadeque --datatype=AR}}
${goto 80}Title:${alignr 5}${scroll 70 ${exec conkyGuayadeque --datatype=TI}}
${goto 80}Album:${alignr 5}${scroll 70 ${exec conkyGuayadeque --datatype=AL}}
${goto 80}Position:${alignr 5}${exec conkyGuayadeque --datatype=PT}/${exec conkyGuayadeque --datatype=LE} - ${exec conkyGuayadeque --datatype=PP}%$font
${goto 80}${color 2A95B4}${execibar 1 conkyGuayadeque --datatype=PP}${color}
${execi 4 cp "`conkyGuayadeque --datatype=CA | sed -e 's/\\\//g'`" ~/.album}${image ~/.album -p 5,670 -s 65x60 -n}
${else}${if_running exaile}${voffset -1}   Exaile ${hr 2}
${goto 80}Status:${alignr 5}${exec conkyExaile --datatype=ST}
${goto 80}Artist:${alignr 5}${scroll 70 ${exec conkyExaile --datatype=AR}}
${goto 80}Title:${alignr 5}${scroll 70 ${exec conkyExaile --datatype=TI}}
${goto 80}Album:${alignr 5}${scroll 70 ${exec conkyExaile --datatype=AL}}
${goto 80}Position:${alignr 5}${exec conkyExaile --datatype=PT}/${exec conkyExaile --datatype=LE} - ${exec conkyExaile --datatype=PP}%$font
${goto 80}${color 2A95B4}${execibar 1 conkyExaile --datatype=PP}${color}
${execi 4 cp "`conkyExaile --datatype=CA | sed -e 's/\\\//g'`" ~/.album}${image ~/.album -p 5,570 -s 65x60 -n}
${else}${font Antipasto-Black:pixelsize=30}${scroll 35 Media Player Not Currently Running}${font}${endif}${endif}${endif}${endif}${endif}

Offline

#3821 2012-11-15 18:56:13

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: Conky v1.9 Thread

Ok, I have a question, I'm trying to redo the colors in the Chronograph.lua, but I can't seem to get the hands and numbers in the smaller sections, (day, month, etc.), to be different, I change "cairo_set_source_rgba (cr,1,1,1,1)" to what I want, like say "(cr,42/255,149/255,180/255,1)" and it changes everything, not just the items I want.

Edit: never mind, I'm just stupid. I figured it out, I just added another "cairo_set_source_rgba " before the next section, and that solved it.

Last edited by McLovin (2012-11-15 18:57:58)

Offline

#3822 2012-11-15 19:13:46

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#3823 2012-11-15 19:18:13

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#3824 2012-11-15 19:47:33

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

Help fund CrunchBang, donate to the project!

#3825 2012-11-15 19:58:10

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: Conky v1.9 Thread

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo