... and I cut the last 6 off, I autostart 10 conkys:
- S11_Cal_br.conky - a calendar type conky shows: Day time Date(#) year Month
- VO_Radiotray.conky - Radio station: artist & song (repos: radiotray)
- S11_UT2.conky - personal dates to remember: days until next date - (conkyDaysDiff)
- S11_v9_R.conky - down the right side on my screen: conkyEmail, v9000 LUA weather, regular conky stuff
- S11_Rem_Cal.conky - a month calendar under that - this months important dates (repos: remind)
- S11_Dates.conky - anniversaries and birthdays (conkyDaysDiff & conkyDaysDiff)
- S11_v9_SM.conky - Sun rise/set Moon rise/set info for 10 days - v9000 LUA weather
- S11_VNS.conky - vnstats (repos: vnstats) for as long as you have had an uninterrupted data collection.
- S11_v9_H.conky - v9000 Weather - complete weather for 10 days.
- S11_24_white.conky - an analog 24 hour clock. Midnight at 12 and Noon where 6 would be on a 12 hour clock
Last edited by Sector11; May 20th, 2012 at 03:17 PM.
Hi,
I'm new to conky and was following the VinDSL thread. I'm running into and issue where my weather and HDD bars are not set on the right line. They are conflicting with other lines. Can someone point me in the right direction on how to fix this? I looked at the HOWTO in the vindsl thread but it didn't seem to help. I've attached a screenshot to show the issue
Post your particular script here. I have a theory as to why. But, I need to see it. Use Code Tags, just the conky file itself, not the supporting scripts.
*EDIT* I am interested to see if this is a simple mistake or something I have to add to the HowTo. Either way, helping you with this problem will solve others.
Last edited by 42dorian; May 20th, 2012 at 04:32 AM.
....Uh.... Best chance? Get a LUA script running that just parses Conky Upspeed, Downspeed, converts them to numbers, adds them, and spits out the total.
But, that is a job for one of the LUA guys. I'm not up to speed on setting up that script quite yet.
*EDIT* Yeah, I just tried putting together a script for it and failed miserably. I haven't quite got through mrpeachy's HowTo guide to doing LUA scripts for Conky(Yet).
Been meaning to read it, but life's got in the way lately. Ideally I'd like to write a function that lets you pass two conky objects and a code for an operation to it, and it spits out the result. But, don't hold your breath on that one coming from me. I still have a lot of reading to do and life's still busy right now.
Last edited by 42dorian; May 20th, 2012 at 07:15 AM.
glennvan suggested vnstat - vnstat can do: 'Avg Rates' of rx and tx. The 'Total' it does is in MiB or GiB. That's about as close as I know your are going to get, unless you know some kung-fu programmer that can tackle this.
Code:$ vnstat -q Database updated: Sun May 20 10:11:55 2012 eth0 since 05/10/12 rx: 3.85 GiB tx: 267.69 MiB total: 4.11 GiB monthly rx | tx | total | avg. rate ------------------------+-------------+-------------+--------------- May '12 3.85 GiB | 267.69 MiB | 4.11 GiB | 20.55 kbit/s ------------------------+-------------+-------------+--------------- estimated 6.14 GiB | 426 MiB | 6.56 GiB | daily rx | tx | total | avg. rate ------------------------+-------------+-------------+--------------- yesterday 145.21 MiB | 31.80 MiB | 177.01 MiB | 16.78 kbit/s today 63.81 MiB | 4.67 MiB | 68.47 MiB | 15.28 kbit/s ------------------------+-------------+-------------+--------------- estimated 148 MiB | 9 MiB | 157 MiB | 10:13:02 ~ $
It also does 'live' you can see it in action until you hit CTRL+C then you get the chart:
How you would get that into conky is a bit of code magic I do not have the skill set for.Code:10:19:41 ~ $ vnstat -l Monitoring eth0... (press CTRL-C to stop) rx: 4 kbit/s 10 p/s tx: 0 kbit/s 0 p/s^C eth0 / traffic statistics rx | tx --------------------------------------+------------------ bytes 27 KiB | 4 KiB --------------------------------------+------------------ max 36 kbit/s | 8 kbit/s average 6.55 kbit/s | 0.97 kbit/s min 4 kbit/s | 0 kbit/s --------------------------------------+------------------ packets 334 | 35 --------------------------------------+------------------ max 26 p/s | 11 p/s average 10 p/s | 1 p/s min 4 p/s | 0 p/s --------------------------------------+------------------ time 33 seconds 10:20:17 ~ $
Anyway if you want it here's the conky for the display above:
Code:# killall conky && conky -c ~/Conky/S11_VNS.conky & ### Begin Window Settings ################################################## # Create own window instead of using desktop (required in nautilus) own_window yes # 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 own_window_type normal #override own_window_transparent yes own_window_hints undecorated,below,skip_taskbar,skip_pager #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # own_window_colour #4d4d4d own_window_class test 221 own_window_title test 221 ### 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 override # 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 150 minimum_size 330 0 ## width, height maximum_width 330 ## width, usually a good idea to equal minimum width gap_x 0 ### left &right gap_y 10 #60 ### up & down alignment tm #bm #################################################### End Window Settings ### ### Font Settings ########################################################## # Use Xft (anti-aliased font and stuff) use_xft yes xftfont Anonymous Pro:size=9 #xftfont WenQuanYi Micro Hei Mono:bold:size=9 #xftfont WenQuanYi Zen Hei Mono:bold:size=9 # Alpha of Xft font. Must be a value at or between 1 and 0 ### xftalpha 1 # Force UTF8? requires XFT ### override_utf8_locale yes ### WARNING ### These do NOT play well with ~/Conky/LUA/draw-bg.lua ################################################################### draw_shades no #### <<<--- yes --- To see it easier on light screens. #default_shade_color black draw_outline no #### <<<--- yes --- 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 #Gainsboro color0 ffe595 #Teo Gold color1 778899 #LightSlateGrey color2 FF8C00 #Darkorange color3 7FFF00 #Chartreuse color4 FFA07A #LightSalmon color5 FFDEAD #NavajoWhite color6 00BFFF #DeepSkyBlue color7 00FFFF #Cyan #48D1CC #MediumTurquoise color8 FFFF00 #Yellow color9 FF0000 #Red #A52A2A #DarkRed ##################################################### 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 ##################################################### End Borders Secton ### ### Miscellaneous Section ################################################## # Boolean value, if true, Conky will be forked to background when started. background no # 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 right # Default and Minimum size is 256 - needs more for single commands that # "call" a lot of text IE: bash scripts text_buffer_size 256 # 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 ############################################## 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 ~/Conky/LUA/draw-bg.lua lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.5 # ####################################################### End LUA Settings ### # The all important - How often conky refreshes. # If you have a "Cray" try: 0.2 - smokin' - but watch the CPU usage go UP! update_interval 1 # in seconds # stuff after 'TEXT' will be formatted on screen TEXT ${color0}Network${color} ${hr} ${goto 10}${downspeedgraph eth0 24,88 A52A2A 0000FF -t -l}${goto 155}${upspeedgraph eth0 24,88 A52A2A 0000FF -t -l} ${goto 10}Down: ${downspeedf eth0}${goto 155}Up: ${upspeedf eth0} ${color0}Transfer Totals${color} ${hr} ${color6}rx${goto 90}tx${goto 170}Total${goto 250}Avg Rate${color} ${color0}Today:${color} ${execpi 300 vnstat | grep "today" | awk '{print $2 $3 "\ ${goto 90}" $5 $6 "\ ${goto 170}" $8 $9 "\ ${goto 250}" $11 $12}'} ${color0}Yesterday:${color} ${execpi 300 vnstat | grep "yesterday" | awk '{print $2 $3 "\ ${goto 90}" $5 $6 "\ ${goto 170}" $8 $9 "\ ${goto 250}" $11 $12}'} ${color0}Last Week:${color} ${execpi 300 vnstat -w | grep "last week" | awk '{print $3 $4 "\ ${goto 90}" $6 $7 "\ ${goto 170}" $9 $10 "\ ${goto 250}" $12 $13}'} ${color0}Last 7 Days:${color} ${execpi 300 vnstat -w | grep "last 7 days" | awk '{print $4 $5 "\ ${goto 90}" $7 $8 "\ ${goto 170}" $10 $11 "\ ${goto 250}" $13 $14}'} ${color0}Current Week:${color} ${execpi 300 vnstat -w | grep "current week" | awk '{print $3 $4 "\ ${goto 90}" $6 $7 "\ ${goto 170}" $9 $10 "\ ${goto 250}" $12 $13}'} ${color0}${time %B}:${color} ${execpi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}\ ${goto 90}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}\ ${goto 170}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}\ ${goto 250}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $12 $13}'} ${color0}${hr}${color}
Thanks 42dorian. Heres my .conkyrc. If it helps I'm using a Dell Latitude D610 that has a 1400x1050 display.
Code:#### ## Use XFT? Required to Force UTF8 (see below) # use_xft yes xftfont DroidSans:size=8.75 xftalpha 0.1 #### ## Force UTF8? Requires XFT (see above) ## Displays degree symbol, instead of °, etc. # override_utf8_locale yes #### ## This buffer is used for text, single lines, output from $exec, and other variables. ## Increasing the text buffer size (too high) will drastically reduce Conky's performance. ## Decreasing the size (too low) will truncate content and cause strange display output. ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely! # text_buffer_size 640 #### ## Daemonize Conky, aka 'fork to background'. # background yes #### ## Update interval in seconds. # update_interval 2.0 #### ## The number of times Conky will update before quitting. ## Zero makes Conky run forever. # total_run_times 0 #### ## Create own window in instead of using desktop? # own_window yes own_window_transparent yes own_window_type normal own_window_class conky-semi own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager #### ## Some distros also require the following 2 lines. # own_window_argb_visual yes own_window_argb_value 255 #### ## Force images to redraw when they change. # imlib_cache_size 0 #### ## Use double buffering? Reduces flicker. # double_buffer yes #### ## Draw shades? # draw_shades yes default_shade_color 292421 #### ## Draw outlines? # draw_outline no #### ## Draw borders around text? # draw_borders no #### ## Draw borders around graphs? # draw_graph_borders no #### ## Print text to stdout? ## Print text in console? # out_to_ncurses no out_to_console no #### ## Text alignment. # alignment top_right #### ## Minimum size of the text area. ## Syntax: minimum_size [width] [height] # minimum_size 240 1394 #### ## Maximum width of the text area. ## Syntax: maximum_width [width] # maximum_width 240 #### ## Gap between text and screen borders. # gap_x 6 ## Left / Right gap_y 32 ## Top / Bottom #### ## Shorten MiB/GiB to M/G in stats. # short_units yes #### ## Pad % symbol spacing after numbers. # pad_percents 0 #### ## Pad spacing between text and borders. # border_inner_margin 4 #### ## Limit the length of names in "Top Processes". # top_name_width 10 #### ## Subtract file system -/+buffers/cache from used memory? ## Set to yes, to produce meaningful physical memory stats. # 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 #### ## Add spaces to keep things from moving around? ## Only affects certain objects. # use_spacer right #### ## My colors (suit yourself) # color0 White #FFFFFF color1 Ivory #FFFFF0 color2 Ivory2 #EEEEE0 color3 Ivory3 #CDCDC1 color4 Tan1 #FFA54F color5 Tan2 #EE9A49 color6 Gray #7E7E7E color7 AntiqueWhite4 #8B8378 color8 DimGray #696969 color9 Tomato #FF6347 ##### ## Load Lua for shading (optional) ## Set the path to your script here. # lua_load ~/.conky/draw_bg.lua lua_draw_hook_pre draw_bg #### ## Load Lua for bargraphs (required) ## Set the path to your script here. # lua_load ~/.conky/bargraph_small.lua lua_draw_hook_post main_bars TEXT ################################## ## LOGO ## ################################## ## Uncomment for hard-coded ID (static) #${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -76}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${off set 1}.${offset 0}0${offset 0}4${font} #### ## Uncomment for soft-coded ID (dynamic) ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -76}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}${pre_exec cat /etc /*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font} #### ## Additional ID (branch version, code name, release date, etc.) ${voffset -1}${goto 188}${font Ubuntu-B:size=8.1}${color4}${font} ################################## ## SYSTEM ## ################################## ${voffset 7}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color8}${voffset -2}${hr 2}${font} # ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color3}${offset 5}${pre_exec lsb_release -sd || cat / etc/*release}${font} ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color3}${offset 3}${sysname}${offset 3}${ke rnel}${alignr}${font DroidSans:size=8.3}${machine}${font} ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color3}${offset 5}Intel${offset 3}P4${offset 3}Extreme$ {offset 3}Edition${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font} ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color3}${offset 5}System${offset 3}Uptime${alignr}${fon t DroidSans:size=8.3}${uptime_short}${font} ################################## ## PROCESSORS ## ################################## ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU1${offset 5}${font Droid Sans:size=8.3}${cpu cpu1}%${font} ################################## ## MEMORY ## ################################## ${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 4}${font StyleBats:size=9.9}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 2}RAM${goto 97}${font DroidSan s:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font} ################################## ## HDD ## ################################## ${voffset 15}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 6}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}ROOT${goto 95}${font DroidSa ns:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font} ${voffset 15}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}HOME${goto 95}${font DroidS ans:size=8.3}${fs_used /home}${goto 133}/${offset 5}${fs_size /home}${alignr}${fs_free_perc /home}%${font} ${voffset 15}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}SWAP${goto 95}${font DroidS ans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font} ################################## ## TOP PROCESSES ## ################################## ${voffset 15}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 1}${goto 120}${font D roidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font} ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 2}${goto 120}${font D roidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font} ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 3}${goto 120}${font D roidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font} # ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font} # ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font} # ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font} ################################## ## NETWORK ## ################################## ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color3}${offset 5}Download${goto 120}${font DroidSans:size= 8.3}${totaldown eth1}${alignr}${font DroidSans:size=8.3}${downspeed eth1}${font} ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8. 3}${totalup eth1}${alignr}${font DroidSans:size=8.3}${upspeed eth1}${font} ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Private${offset 3}IP${goto 123}${font Dro idSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth1}${font} ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Public${offset 7}IP${goto 121}${font Droi dSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${fon t} ################################## ## WEATHER (Imperial) ## ################################## ${voffset 4}${font DroidSans:bold:size=8.25}${color4}WEATHER${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 0}${font RadioSpace:size=32}${color3}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" ctbi}${font}${voffset -28}${got o 33}${font Weather:size=42}${color3}y${font} ${voffset -38}${font Ubuntu:size=8.63}${color5}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" ctti}${font} ${voffset -39}${font KRARound:size=36}${color3}${goto 195}I${font} ${voffset 6}${font Ubuntu:size=23}${color5}${alignc -2}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" ccb}${font} ${voffset 8}${font DroidSansFallback:size=8.63}${color3}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH"}${font} ${voffset -57}${font ConkyWeather:size=48}${color6}${alignc -55}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" cp}${font} ${voffset 6}${font DroidSansMono:bold:size=8.62}${color4}${offset 40}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" dl}${font } ${voffset 0}${font ConkyWeather:size=37.9}${color3}${offset 26}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" fcp}${font} ${voffset 0}${font DroidSansFallback:bold:size=8.62}${color4}${offset 28}${execi 1800 /home/nuzzy/.conky/weather/weather.sh "Danville,NH" fcti} ${font} ################################## ## TIME ## ################################## ${voffset 4}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset -4}${font RadioSpace:size=32}${color3}${if_match ${time %l}<=9}${alignc 7}${time %l:%M%p}${else}${if_match ${time %l}>=10}${alignc -1 }${time %l:%M%p}${endif}${endif}${font} ################################## ## CALENDAR (5-Line) ## ################################## ${voffset 4}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 18}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %A}${font} ${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color5}${alignc 65}${time %e}${font}${else}${if_match ${time %e}> =10}${color5}${alignc 60}${time %e}${endif}${endif}${font} ${voffset 0}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %B}${font} ${voffset 0}${font DroidSansMono:size=7.6}${color3}${alignc 60}${time %Y}${font} ${voffset -83}${font CutOutsFor3DFX:size=67}${color8}${alignc 99}2${font} #### ## Uncomment for Conky 1.8.0 (use mono fonts only) # ${voffset -68}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'} #### ## Uncomment for Conky 1.8.1 (use mono fonts only) ${voffset -64}${offset 100}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'} ################################## ## RHYTHMBOX (Experimental) ## ################################## ${if_running rhythmbox} ${voffset -8}${font DroidSans:bold:size=7.75}${color4}RHYTHMBOX${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 8}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | hea d -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif} ################################## ## BANSHEE (Experimental) ## ################################## ${if_running banshee} ${voffset -10}${font DroidSans:bold:size=7.75}${color4}BANSHEE${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 ban shee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
Bookmarks