Conky Showoff thread

Forum rules
Before you post please read how to get help
grzegorzdabrowka
Level 1
Level 1
Posts: 6
Joined: Mon Jan 11, 2016 2:10 pm

Re: Conky Showoff thread

Post by grzegorzdabrowka »

Sector11 wrote: In the screenshot it looks like you are not getting correct character rendering: Image
Do you have these set above TEXT:

Code: Select all

use_xft yes
xftfont Liberation Mono:bold:size=11
## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0
## Force UTF8? requires XFT
override_utf8_locale yes
You can use any font that supports the characters you require.
corrected

Image

send me screen, corrections, comments, ideas or every interesting parts of code: GrzegorzDabrowka[at]gmail.com
code on the website http://htmelek.republika.pl/
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

grzegorzdabrowka wrote:corrected
How about three calendars where you have one?
Image <---> Image

Code: Select all

${hr}
${color1}${goto 10}${execpi 900 ncal -bh -m `date +%m` -A-1 -B1 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -96}${goto 145}      ${color5}${time %b %Y}${color}
${goto 145}${if_match "${time %a}" == "Sun"}${color5}Su${color1} Mo Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Mon"}${color1}Su ${color5}Mo${color1} Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Tue"}${color1}Su Mo ${color5}Tu${color1} We Th Fr Sa${else}\
${if_match "${time %a}" == "Wed"}${color1}Su Mo Tu ${color5}We${color1} Th Fr Sa${else}\
${if_match "${time %a}" == "Thu"}${color1}Su Mo Tu We ${color5}Th${color1} Fr Sa${else}\
${if_match "${time %a}" == "Fri"}${color1}Su Mo Tu We Th ${color5}Fr${color1} Sa${else}\
${color1}Su Mo Tu We Th Fr ${color5}Sa${color1}${endif}${endif}${endif}${endif}${endif}${endif}
${goto 145}${execpi 900 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color5}&${color1}/' | sed ':a;N;$!ba;s/\n/\n${goto 145}/g'}${color}
${color1}${voffset -96}${goto 280}${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n${goto 280}/g'}
${color}${hr}
Using: BunsenLabs based on Debian Stable.
Conky PitStop
grzegorzdabrowka
Level 1
Level 1
Posts: 6
Joined: Mon Jan 11, 2016 2:10 pm

Re: Conky Showoff thread

Post by grzegorzdabrowka »

Sector11 wrote: How about three calendars where you have one?
good idea

Code: Select all

${color2}Calendar: ${color1}${time  %a %d %b}${alignr}${time %G-%m-%d %H}:${time %M}${blink :}${time %S }\
${if_match ${time %H}<=12}p.m.${else}${if_match ${time %H}>12}a.m.${endif}${endif} ${time %Z %z}
# month back
${color3}${execpi 900 ncal -bh -m `date +%m` -A-1 -B1 | sed ':a;N;$!ba;s/\n/\${color3}\n${goto 0}/g'}
#
# month actual
${goto 150}${voffset -91}${color2}${time %B %Y}
\
${goto 123}${voffset 0}\
${color3}\
${if_match "${time %u}" == "1"}${color2}Mo ${color1}${else}Mo ${endif}\
${if_match "${time %u}" == "2"}${color2}Tu ${color1}${else}Tu ${endif}\
${if_match "${time %u}" == "3"}${color2}We ${color1}${else}We ${endif}\
${if_match "${time %u}" == "4"}${color2}Tr ${color1}${else}Tr ${endif}\
${if_match "${time %u}" == "5"}${color2}Fr ${color1}${else}Fr ${endif}\
${if_match "${time %u}" == "6"}${color2}Sa ${color1}${else}Sa ${endif}\
${if_match "${time %u}" == "7"}${color2}Su ${color1}${else}Su ${endif}
\
${color3}${goto 124}${color3}${execpi 900 LAR=`date +%-d`; ncal -bh -A  -B0  | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color2}&${color1}/' | sed ':a;N;$!ba;s/\n/\n${goto 124}/g'}
#
# month next
${voffset -104}${goto 250}${color1}\
${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n${goto 249}/g'}
#
${voffset -20}${color3}${stippled_hr}
#
#
#
#
#
#${time %a a   %A A}
#${time %b b   %B B}
#${time %c c   %C C}
#${time %d d   %D D}
#${time %e e}
#${time %F F}
#${time %g g   %G G}
#${time %h h   %H H}
#${time %I I}
#${time %j j}
#${time %l l}
#${time %m m   %M M}
#${time %n n}
#${time %p p   %P P}
#${time %r r   %R R}
#${time %S S}
#${time %t t   %T T}
#${time %u u   %U U}
#${time %V V}
#${time %w w   %W W}
#${time %x x   %X X}
#${time %y y   %Y Y}
#${time %z z   %Z Z}
#${tztime} tz ${utime} u
#
#${color3}\
${if_match "${time %u}" == "1"}${color2}Mo ${color1}${else}Mo ${endif}\
${if_match "${time %u}" == "2"}${color2}Tu ${color1}${else}Tu ${endif}\
${if_match "${time %u}" == "3"}${color2}We ${color1}${else}We ${endif}\
${if_match "${time %u}" == "4"}${color2}Tr ${color1}${else}Tr ${endif}\
${if_match "${time %u}" == "5"}${color2}Fr ${color1}${else}Fr ${endif}\
${if_match "${time %u}" == "6"}${color2}Sa ${color1}${else}Sa ${endif}\
${if_match "${time %u}" == "7"}${color2}Su ${color1}${else}Su ${endif}
I have too long code, and no display
Image

but it working
Image

Image

Image

send me screen, corrections, comments, ideas or every interesting parts of code: GrzegorzDabrowka[at]gmail.com
code on the website http://htmelek.republika.pl/
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

grzegorzdabrowka wrote:I have too long code, and no display
Increase: text buffer size a little maybe 1024

Code: Select all

## Maximum size of user text buffer,
## i.e. layout below TEXT
## default is 16384 bytes
max_user_text 17408
TEXT
Nice tweaks ... saved! 8)

I think the commented line are a part of the text buffer size as well. Eliminate some comment lines below TEXT might also help.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
grzegorzdabrowka
Level 1
Level 1
Posts: 6
Joined: Mon Jan 11, 2016 2:10 pm

Re: Conky Showoff thread

Post by grzegorzdabrowka »

Sector11 wrote: max_user_text 16384 #default is bytes
TEXT
thx "Sector11"

"Last" version in one file.
DOWNLOAD Universal ConfConky v.003 2016.01.24 password "conky"

Image_Image

send me screen, corrections, comments, ideas or every interesting parts of code: GrzegorzDabrowka[at]gmail.com
code on the website http://htmelek.republika.pl/
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

^ Glad to help.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
Frankula
Level 1
Level 1
Posts: 10
Joined: Sat Jan 31, 2015 10:43 pm

Re: Conky Showoff thread

Post by Frankula »

Attachments
Frankula Conky
Frankula Conky
Entropy ain't what it used to be...
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

Frankula wrote:This Conky can be downloaded here: https://www.dropbox.com/s/etdjnu1aqbjpt ... ar.gz?dl=0
Interesting stuff. One OOPS!

Code: Select all

${font QuickType Pi:size=10}
In my version of your README I made a change (for future reference):

Code: Select all

	You can use any font you wish, however you will need the Xirod and
	QuickType Pi fonts to make the conky display as intended.
	If you do not have these fonts, they are available at:

	http://www.dafont.com/xirod.font
	http://ufonts.com/fonts/quicktype-pi.html
Other than the RED, which is my least favourite colour, some really nice stuff in your conky. :)

Weather isn't working for me. It's saying 17°C - not quite, it 24°C must check that too.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
Frankula
Level 1
Level 1
Posts: 10
Joined: Sat Jan 31, 2015 10:43 pm

Re: Conky Showoff thread

Post by Frankula »

Maybe green is more to your liking :

https://www.dropbox.com/s/j0ygqyrg0is5s ... ar.gz?dl=0
Attachments
Spider Void Screenshot.png
Entropy ain't what it used to be...
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

Frankula wrote:Maybe green is more to your liking :

https://www.dropbox.com/s/j0ygqyrg0is5s ... ar.gz?dl=0
That's NICE! Thank you. And easier for these old eyes to see. :)
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

Scrounged the web and put together a "minimalist" :lol: weather conky

Code: Select all

${execi 20 weather -m VABB | tail -n 5}
${alignc}Sunrise ${execi 30 l=29220026;curl -s http://weather.yahooapis.com/forecastrss?w=$l|grep astronomy| awk -F\" '{print $2}'}
${alignc}Sunset  ${execi 40 l=29220026;curl -s http://weather.yahooapis.com/forecastrss?w=$l|grep astronomy| awk -F\" '{print $4}'}
${execi 50 curl -s http://www.timeanddate.com/moon/india/mumbai|grep Moon| awk -F\" '{print $64}' | tail -n 1}
${execi 60 curl -s http://www.timeanddate.com/moon/india/mumbai|grep Moon| awk -F\" '{print $72}' | tail -n 1}
Edit: Nope, that Moon data was all wrong, i don't know didleysquat about using awk. This is correct even if clumsy.

Code: Select all

${execi 20 weather -m VABB | tail -n 4}
${execi 50 echo 'http://www.timeanddate.com/astronomy/india/mumbai'| wget -O- -i- | hxnormalize -x | lynx -stdin -dump > Moonrise && cat Moonrise | head -n 131 | tail -n 7}
Weather.png
Linux User #481272 Reg: 15th Sept., 2008
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

@ mzsade

Interesting - a couple of questions;
1. What is the first line: ${execi 20 weather -m VABB | tail -n 5} I get nothing with that.
See: weather

2. Where does one find: l=29220026 <-- that number for different locations?

I trimmed back the Moon rise set limes a little so they are not so wide (for my location)

Code: Select all

${execi 20 weather -m SABE | tail -n 5}
${alignc}Sunrise ${execi 30 l=29220026;curl -s http://weather.yahooapis.com/forecastrss?w=$l|grep astronomy| awk -F\" '{print $2}'}
${alignc}Sunset  ${execi 40 l=29220026;curl -s http://weather.yahooapis.com/forecastrss?w=$l|grep astronomy| awk -F\" '{print $4}'}
 Moonrise ${execi 50 curl -s http://www.timeanddate.com/moon/argentina/buenos-aires|grep Moon| awk -F\" '{print $64}' | tail -n 1 |cut -c23-}
 Moonset  ${execi 60 curl -s http://www.timeanddate.com/moon/argentina/buenos-aires|grep Moon| awk -F\" '{print $72}' | tail -n 1 |cut -c22-}

Temp: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE temperature}°
Pressure: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE pressure} hPa
Humidity: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE humidity}%
Wind: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE wind_dir} (${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE wind_dir_DEG}°) @ ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE wind_speed} k/h
Cloud cover: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE cloud_cover}
Last Update: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SABE last_update}
Image

I have always thought timeanddate.com would be a great place for conky. But I am CLI challenged.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

Hi, I am using weather-util for the first line. VABB is the station code for Mumbai Santacruz airport. Alternatively, you can use FIPS code for your area.
About that number; you visit weather.yahoo.com and enter your zip code or city name. The url displayed in the address bar after pressing Enter will have that number.

Btw, are you sure you have the correct moon data for your area because i arrived at "print$64" and "print$72" quite randomly. That's why i dumped curl and awk and used wget instead.
Reference: http://www.joyofdata.de/blog/using-linu ... mment-1100
Now if only i could adapt hxselect correctly..

Edit: There, now i am getting everything from timeanddate.com;

Code: Select all

conky.text = [[
$alignc${font LCDMono:bold:size=12}${time %a,%e %b,%Y}
$alignc${time %I:%M:%S %p}
${execi 20 echo 'http://www.timeanddate.com/weather/india/mumbai'| wget -O- -i- | hxnormalize -x | lynx -stdin -dump > Weather && grep . ~/Weather > weather &&sed -i '113,115d' weather && cat weather | head -n 116 | tail -n 9}
${execi 50 echo 'http://www.timeanddate.com/astronomy/india/mumbai'| wget -O- -i- | hxnormalize -x | lynx -stdin -dump > Moonrise && grep . Moonrise > moonrise && sed -i '110d' moonrise && cat moonrise | head -n 114 | tail -n 7}
]]
Weather.png
Linux User #481272 Reg: 15th Sept., 2008
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

mzsade wrote:Hi, I am using weather-util for the first line. VABB is the station code for Mumbai Santacruz airport.
Yea, I still can't get that to work ... see you are tweaking on the fly too.

I had no idea the moon data was wrong for my location, I was just plugging in Buenos Aires into your code to see if things worked.

I am sed/awk/grep challenged so I test & tweak things; that's I'm OK at ... until I get them right. I use Teo's weather scripts for weather. One bash script to collect the data and format text files for the users use - makes formatting better. So I grabbed the sun-moon data from his '2b)WUnderground API - All users - 2b_21-12-15' script and popped it into my text conky, I didn't bother running the script line:

Code: Select all

${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b}\
as it's running in another conky here:
Image

So this:
Image
just uses the data that was collected and sitting here in a text file, no need to go on the net

Code: Select all

TEXT
${time %T}${alignr}${utime %T}
${uptime}${alignr}${time %x}
${alignc}CPU Avg ${if_match ${cpu cpu0}<10}${color1}00${color5}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}${color1}0${color5}${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color5}%${color}
${alignc}Conky v${conky_version}
${alignc}${color9}${membar 0,25}${color} ↓ test code ↓ ${color9}${membar 0,25}${color}
${color9}${membar 0}${color}
${image /media/5/Conky/images/bk_30.png -p 90,90 -s 90x90}${image /media/5/Conky/2b_Wunderground_API/Moon_phase.png -p 90,90}\
Sunrise:${alignr}Sunset
${if_match ${pre_exec  sed -n '16p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}<10}\
0${pre_exec  sed -n '16p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${else}${pre_exec  sed -n '16p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${endif}:${pre_exec  sed -n '18p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${alignr}${pre_exec  sed -n '21p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
:${pre_exec  sed -n '23p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}


Moonrise${alignr}Moonset
${if_match ${pre_exec  sed -n '26p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}<10}\
0${pre_exec  sed -n '26p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${else}${pre_exec  sed -n '26p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${endif}:${pre_exec  sed -n '28p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${alignr}${if_match ${pre_exec  sed -n '31p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}<10}\
0${pre_exec  sed -n '31p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${else}${pre_exec  sed -n '31p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${endif}:${pre_exec  sed -n '33p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}
Illuminated: ${pre_exec  sed -n '2p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}%\
${alignr}Age: ${pre_exec  sed -n '4p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} days.
${alignc}Moon Phase: ${pre_exec  sed -n '6p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}
${alignc}Hemisphere: ${pre_exec  sed -n '8p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}
${color9}${membar 0}${color}
${alignc}${color9}${membar 0,25}${color} ↑ between lines ↑ ${color9}${membar 0,25}${color}
I will check out your new updated code thought :)
Thank you.

PS: I collect code and snippets :)

EDIT: Your latest code yields date and time only. :(
Image
Last edited by Sector11 on Sat Feb 06, 2016 1:13 pm, edited 1 time in total.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

You have always been my inspiration when it comes to all things Conky, this tilt towards minimalism is something i've acquired from @HOAS of Crunchbang forums fame, and even though i have none of his grasp of Linux i've had a fair amount of success in aping him. :lol:
A sed related site i recently exploited for my conky; http://www.folkstalk.com/2013/03/sed-re ... mples.html
Linux User #481272 Reg: 15th Sept., 2008
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

mzsade wrote:You have always been my inspiration when it comes to all things Conky, this tilt towards minimalism is something i've acquired from @HOAS of Crunchbang forums fame, and even though i have none of his grasp of Linux i've had a fair amount of success in aping him. :lol:
A sed related site i recently exploited for my conky; http://www.folkstalk.com/2013/03/sed-re ... mples.html
Thank you for the kind words. Do yourself a favour and at least check out Teo's scripts; No matter how much info they grab with one wget call --- you can pick and choose what information you want to show. ie: a little - a lot and by a lot when it come to the Wunderground script - a lot is a LOT.

I agree about HoaS - wish I had half the knowledge he has. He's at BunsenLabs now, the continuation of #! :)

Minimum huh ... check out "inxi" :twisted:
-w for "local" weather - your ISP
-W for weather in another location

Code: Select all

 06 Feb 16 @ 15:04:16 ~
  $ inxi -w
Weather:   Conditions: 84 F (29 C) - Partly Cloudy Time: February 6, 3:25 PM ART
 
 06 Feb 16 @ 15:25:13 ~
  $ inxi -W Mumbai,India
Weather:   Conditions: 75 F (24 C) - haze Time: February 6, 11:55 PM IST
 
 06 Feb 16 @ 15:25:36 ~
  $ 
And then there is the -x options (only showing how it applies to weather here):

Code: Select all

-w     Local weather data/time. To check an alternate location, see: -W <location>. For extra weather data
       options see -x, -xx, and -xxx.
-W     <location> Supported options for <location>: postal code; city, state/country; latitude/longitude. Only
       use if you want the weather somewhere other than the machine running inxi. Use only ascii characters,
       replace spaces in city/state/country names with '+'. Example: inxi -W new+york,ny
-x     Adds the following extra data (only works with verbose or line output, not short form):
      -w -W  Wind speed and time zone (-w only).
-xx    Show extra, extra data (only works with verbose or line output, not short form):
      -w -W  Humidity, barometric pressure.
-xxx   Show extra, extra, extra data (only works with verbose or line output, not short form):
      -w -W  Location (uses -z/irc filter), weather observation time, wind chill, heat index, dew point (shows
             extra lines for data where relevant).
as in:

Code: Select all

 06 Feb 16 @ 15:29:36 ~
  $ inxi -xxxw
Weather:   Conditions: 84 F (29 C) - Partly Cloudy Wind: From the SE at 17 MPH Humidity: 66%
           Pressure: 29.98 in (1015 mb) Heat Index: 90 F (32 C)
           Location: Buenos Aires 07 (ARG) Altitude: 6 ft
           Time: February 6, 3:29 PM ART (America/Argentina/Buenos_Aires) Observation Time: February 6, 3:00 PM ART
 
 06 Feb 16 @ 15:29:44 ~
  $ inxi -xxxW Mumbai,India
Weather:   Conditions: 75 F (24 C) - haze Wind: From the WNW at 5 MPH Humidity: 61%
           Pressure: 29.95 in (1014 mb) Location: Mumbai (IN) Altitude: 14 ft
           Time: February 7, 12:00 AM IST Observation Time: February 6, 11:30 PM IST
 
 06 Feb 16 @ 15:30:04 ~
  $ 
But in conky you say ... now this I picked up here in LinuxMint I think - either way, not my idea, I'm just trying to tweak it so it will always work:

Code: Select all

TEXT
${alignc}INXI Current Weather

${color5}Buenos Aires, Argentina${color}${execi 600 inxi -xxxw | sed -n 1,2p | cut -c12- | awk '{gsub(/Conditions:/,"\n&");print}' | awk '{gsub(/ - /,"\n&");print}' | awk '{gsub(/Humidity:/,"\n&");print}' | awk '{gsub(/Wind:/,"\n&");print}' | awk '{gsub(/Gusting/,"\n&");print}' | awk '{gsub(/Wind Chill:/,"\n&");print}'| awk '{gsub(/Heat Index:/,"\n&");print}' | awk '{gsub(/Location:/,"\n&");print}' | awk '{gsub(/Altitude:/,"\n&");print}'}

${color5}Mumbai, India${color}${execi 600 inxi -xxxW Mumbai,India | sed -n 1,2p | cut -c12- | awk '{gsub(/Conditions:/,"\n&");print}' | awk '{gsub(/ - /,"\n&");print}' | awk '{gsub(/Humidity:/,"\n&");print}' | awk '{gsub(/Wind:/,"\n&");print}' | awk '{gsub(/Gusting/,"\n&");print}' | awk '{gsub(/Wind Chill:/,"\n&");print}'| awk '{gsub(/Heat Index:/,"\n&");print}' | awk '{gsub(/Location:/,"\n&");print}' | awk '{gsub(/Altitude:/,"\n&");print}' | awk '{gsub(/Time:/,"\n&");print}' | awk '{gsub(/Observation/,"\n&");print}'}

---- 2x
${color5}Buenos Aires, Argentina${color}${execi 600 inxi -xxw | sed -n 1,2p | cut -c12- | awk '{gsub(/Conditions:/,"\n&");print}' | awk '{gsub(/ - /,"\n&");print}' | awk '{gsub(/Humidity:/,"\n&");print}' | awk '{gsub(/Wind:/,"\n&");print}' | awk '{gsub(/Gusting/,"\n&");print}' | awk '{gsub(/Wind Chill:/,"\n&");print}'| awk '{gsub(/Heat Index:/,"\n&");print}' | awk '{gsub(/Location:/,"\n&");print}' | awk '{gsub(/Altitude:/,"\n&");print}'}

---- 1x
${color5}Buenos Aires, Argentina${color}${execi 600 inxi -xw | sed -n 1,2p | cut -c12- | awk '{gsub(/Conditions:/,"\n&");print}' | awk '{gsub(/ - /,"\n&");print}' | awk '{gsub(/Humidity:/,"\n&");print}' | awk '{gsub(/Wind:/,"\n&");print}' | awk '{gsub(/Gusting/,"\n&");print}' | awk '{gsub(/Wind Chill:/,"\n&");print}'| awk '{gsub(/Heat Index:/,"\n&");print}' | awk '{gsub(/Location:/,"\n&");print}' | awk '{gsub(/Altitude:/,"\n&");print}'}

---- no x
${color5}Buenos Aires, Argentina${color}${execi 600 inxi -w | sed -n 1,2p | cut -c12- | awk '{gsub(/Conditions:/,"\n&");print}' | awk '{gsub(/ - /,"\n&");print}' | awk '{gsub(/Humidity:/,"\n&");print}' | awk '{gsub(/Wind:/,"\n&");print}' | awk '{gsub(/Gusting/,"\n&");print}' | awk '{gsub(/Wind Chill:/,"\n&");print}'| awk '{gsub(/Heat Index:/,"\n&");print}' | awk '{gsub(/Location:/,"\n&");print}' | awk '{gsub(/Altitude:/,"\n&");print}'}
Image

I think that sed related site you just gave me will help in my inxi quest :)
Thank you
Using: BunsenLabs based on Debian Stable.
Conky PitStop
3fRI
Level 4
Level 4
Posts: 229
Joined: Sat Nov 20, 2010 10:25 am
Location: State of Confusion

Re: Conky Showoff thread

Post by 3fRI »

@ sector11: fancy meeting YOU here!!!

p.s. Ah, you know me as g33zr. :lol:
System 76 Pangolin: 4x Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, Manjaro 15.12 Capella Xfce/Cinnamon 64-bit
iMac 21.5: Intel Core 2 Duo 3.06 GHz, Mac OS 10.11

[iWhat? Me worry?[/i]
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

3fRI wrote:@ sector11: fancy meeting YOU here!!!

p.s. Ah, you know me as g33zr. :lol:
Well hello there 3Fri aka g33zr, coffee's on want one? Brand new expresso machine - and I promise no additives. :lol:

Of course I'm here - it's a conky thread isn't it.
Been here for a long time, just getting more active now.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
3fRI
Level 4
Level 4
Posts: 229
Joined: Sat Nov 20, 2010 10:25 am
Location: State of Confusion

Re: Conky Showoff thread

Post by 3fRI »

:lol: The "Conky Guy" strikes again!

So, why am I here? I'm running LM Cinnamon on my aging iMac since the machine was acting up with other distros. Anyway, as I was skimming through the forums, I spotted your alias. Meanwhile thanks for the espresso. Gotta keep the old bones shakin'! :lol:
System 76 Pangolin: 4x Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, Manjaro 15.12 Capella Xfce/Cinnamon 64-bit
iMac 21.5: Intel Core 2 Duo 3.06 GHz, Mac OS 10.11

[iWhat? Me worry?[/i]
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

3fRI wrote::lol: The "Conky Guy" strikes again!
I never strike, I may tap a shoulder here and there, sneak up behind - but never strike.

Yea, I knew you were a "Minty" you've mentioned it in other places far far away. I'm here 'cuz I need a place to conky. ;)
And this thread need some beefing up :)

Quick (off topic) question: What do you think of 'pluma' ??
Scrap that, that's Mate! Sorry!
Using: BunsenLabs based on Debian Stable.
Conky PitStop
Post Reply

Return to “Compiz, Conky, Docks, & Widgets”