Page 1347 of 2348 FirstFirst ... 3478471247129713371345134613471348134913571397144718472347 ... LastLast
Results 13,461 to 13,470 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #13461
    Join Date
    Nov 2008
    Location
    #!
    Beans
    1,749

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by djyoung4 View Post
    i agree with Mahngiel. Thank you K. if it wasnt for you I wouldn't get to see that i'm gonna die today in Arizona.
    Quit yer whining...

    You have no humidity to deal with and I will take your 115 degrees flat rate to my 100 Dgree 100 Humidity and 115 heat index... And at night it drops to a 105 heat index...

    And the AC just feels like a fan...

  2. #13462
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VastOne View Post
    Quit yer whining...

    You have no humidity to deal with and I will take your 115 degrees flat rate to my 100 Dgree 100 Humidity and 115 heat index... And at night it drops to a 105 heat index...

    And the AC just feels like a fan...
    I lived in Fiji for 4 years, here most of the time: 17°40'54.2"S/178°49'56.3"E

    In the summer (Dec/Jan/Feb) it was 35-40C and 100%, oh and no AC either...I was living a lot of the time with locals in the hills. I think my record was 11 cold showers in one day...I would still live there over the UK anyday! One day in the not too distant future I'll have that life again but until I die
    Last edited by kaivalagi; August 13th, 2010 at 10:12 PM.

  3. #13463
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by djyoung4 View Post
    i agree with Mahngiel. Thank you K. if it wasnt for you I wouldn't get to see that i'm gonna die today in Arizona.
    I remember visiting the Phoenix area in the middle of September one year/ On the radio they were making a big deal about how the high temp for the day was going to only be 100! My wife and I drove there in a black car with a black interior! It was a rolling solar oven. The weather stripping on one of the doors fell of because its adhesive melted!

  4. #13464
    Join Date
    Dec 2008
    Location
    The Desert
    Beans
    281
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VastOne View Post
    Quit yer whining...

    You have no humidity to deal with and I will take your 115 degrees flat rate to my 100 Dgree 100 Humidity and 115 heat index... And at night it drops to a 105 heat index...

    And the AC just feels like a fan...
    when it rains theres humidity. like 80 percent. and its still that hot. and its raining.
    and you should see my parents cars. most of the tinting on the windows has come off and my dad is constantly fixing the seals. thats y i moved to hawaii. cool and sunny all year round. and my cars temp says it just hit 49

    but anyway back to conky. i still have yet to stop the flashing. ive changed every variable and changed the minimum and maximum size and the only thing that has any effect is double buffer
    Last edited by djyoung4; August 13th, 2010 at 11:19 PM.
    I'm a super power user

  5. #13465
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mobilediesel View Post
    Sure, type that while I fix it for pollen.com
    and the output from wunderground definitely looks like it might be easier to parse since it outputs text rather than pictures to show the pollen count. I'll have to mess with that, too.
    pollen.com changed something ELSE now! it can't find my zip code any more. Guess I'm forced to set up the script to use wunderground.com

    wunderground's output is WAY easier to parse. The script wont look so messy now.
    Code:
    #!/bin/bash
    ZIP=48111
    month=$(date +%b)
    IFS=$'\n'
    LMH() {
    case $1 in
    [0-1].[0-9]|2.[0-4]) echo Low;; # 0.0 to 2.4 is Low
    2.[5-9]|3.[0-9]|4.[0-8]) echo Low-Medium;; # 2.5 to 4.8 is Low-Medium
    4.9|5.[0-9]|6.[0-9]|7.[0-2]) echo Medium;; # 4.9 to 7.2 is Medium
    7.[3-9]|8.[0-9]|9.[0-6]) echo Medium-High;; # 7.3 to 9.6 is Medium-High
    9.[7-9]|10.[0-9]|11.[0-9]|12.0) echo High;; # 9.7 to 12.0 is High
    esac
    }
    pollen=$(curl -s "http://www.wunderground.com/DisplayPollen.asp?Zipcode=${ZIP}" | sed -n -e "/Today's pollen and allergy information./,/<\/table>/p" | sed -e 's/^[[:blank:]]*//')
    days=($(echo "$pollen" | grep "<div class=\"b\">" | sed 's/<[^>]*>//g'))
    dates=($(echo "$pollen" | grep "<div>$month" | sed 's/<[^>]*>//g'))
    counts=($(echo "$pollen" | grep "<p class=\"big b\">" | sed 's/<[^>]*>//g'))
    content=($(echo "$pollen" | grep "<div class=\"mainB\">" | sed 's/<[^>]*>//g'))
    
    echo "Current pollen content:"
    echo "${content[*]}"
    for d in $(seq 0 $((${#days[*]}-1)));do
    echo "Pollen count for ${days[d]}, ${dates[d]}:"
    echo "$(LMH ${counts[d]%0}) at ${counts[d]}"
    done
    Hopefully wunderground doesn't play around with their output like pollen.com does.
    My current output from this is:
    Code:
    Current pollen content:
    Ragweed, Nettle and Chenopods.
    Pollen count for Friday, August 13, 2010:
    Medium-High at 7.30
    Pollen count for Saturday, August 14, 2010:
    Medium-High at 8.50
    Pollen count for Sunday, August 15, 2010:
    High at 9.70
    Pollen count for Monday, August 16, 2010:
    Medium-High at 9.10
    Suggestions for different wording are welcome!

    It also looks like showing the previous day's pollen count is the default.

    nevermind
    It changed to showing from today through Monday.
    Last edited by mobilediesel; August 13th, 2010 at 11:56 PM. Reason: forgot to make the zip a variable

  6. #13466
    Join Date
    Nov 2009
    Location
    Florida, USA
    Beans
    242
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    @DJ

    Here's a trouble shooting tip: Terminal any of the conkys and add one more at a time until you produce the effect that's troubling you. Play around by starting a diff conky and adding others until you can isolate what exactly is causing the problem. Then see what you can do about it then.
    Ubuntu User #29918 | Linux User #501271 |

  7. #13467
    Join Date
    Nov 2008
    Location
    #!
    Beans
    1,749

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mobilediesel View Post
    pollen.com changed something ELSE now! it can't find my zip code any more. Guess I'm forced to set up the script to use wunderground.com

    wunderground's output is WAY easier to parse. The script wont look so messy now.
    Code:
    #!/bin/bash
    ZIP=48111
    month=$(date +%b)
    IFS=$'\n'
    LMH() {
    case $1 in
    [0-1].[0-9]|2.[0-4]) echo Low;; # 0.0 to 2.4 is Low
    2.[5-9]|3.[0-9]|4.[0-8]) echo Low-Medium;; # 2.5 to 4.8 is Low-Medium
    4.9|5.[0-9]|6.[0-9]|7.[0-2]) echo Medium;; # 4.9 to 7.2 is Medium
    7.[3-9]|8.[0-9]|9.[0-6]) echo Medium-High;; # 7.3 to 9.6 is Medium-High
    9.[7-9]|10.[0-9]|11.[0-9]|12.0) echo High;; # 9.7 to 12.0 is High
    esac
    }
    pollen=$(curl -s "http://www.wunderground.com/DisplayPollen.asp?Zipcode=${ZIP}" | sed -n -e "/Today's pollen and allergy information./,/<\/table>/p" | sed -e 's/^[[:blank:]]*//')
    days=($(echo "$pollen" | grep "<div class=\"b\">" | sed 's/<[^>]*>//g'))
    dates=($(echo "$pollen" | grep "<div>$month" | sed 's/<[^>]*>//g'))
    counts=($(echo "$pollen" | grep "<p class=\"big b\">" | sed 's/<[^>]*>//g'))
    content=($(echo "$pollen" | grep "<div class=\"mainB\">" | sed 's/<[^>]*>//g'))
    
    echo "Current pollen content:"
    echo "${content[*]}"
    for d in $(seq 0 $((${#days[*]}-1)));do
    echo "Pollen count for ${days[d]}, ${dates[d]}:"
    echo "$(LMH ${counts[d]%0}) at ${counts[d]}"
    done
    Hopefully wunderground doesn't play around with their output like pollen.com does.
    My current output from this is:
    Code:
    Current pollen content:
    Ragweed, Nettle and Chenopods.
    Pollen count for Friday, August 13, 2010:
    Medium-High at 7.30
    Pollen count for Saturday, August 14, 2010:
    Medium-High at 8.50
    Pollen count for Sunday, August 15, 2010:
    High at 9.70
    Pollen count for Monday, August 16, 2010:
    Medium-High at 9.10
    Suggestions for different wording are welcome!

    It also looks like showing the previous day's pollen count is the default.

    nevermind
    It changed to showing from today through Monday.
    Say Mobilediesel,

    I ran this from term and got the following...

    Code:
    allergy.sh: 15: Syntax error: "(" unexpected
    I looked through it but could not see where the issue lies...

  8. #13468
    Join Date
    Nov 2009
    Location
    Florida, USA
    Beans
    242
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VastOne View Post
    Say Mobilediesel,

    I ran this from term and got the following...

    Code:
    allergy.sh: 15: Syntax error: "(" unexpected
    I looked through it but could not see where the issue lies...
    works when called through conky. but it's not bash appropriate.
    Last edited by Mahngiel; August 14th, 2010 at 12:54 AM.
    Ubuntu User #29918 | Linux User #501271 |

  9. #13469
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VastOne View Post
    Say Mobilediesel,

    I ran this from term and got the following...

    Code:
    allergy.sh: 15: Syntax error: "(" unexpected
    I looked through it but could not see where the issue lies...
    I'll paste it again in case I messed it up:
    Code:
    #!/bin/bash
    ZIP=48111
    month=$(date +%b)
    IFS=$'\n'
    LMH() {
    case $1 in
    [0-1].[0-9]|2.[0-4]) echo Low;; # 0.0 to 2.4 is Low
    2.[5-9]|3.[0-9]|4.[0-8]) echo Low-Medium;; # 2.5 to 4.8 is Low-Medium
    4.9|5.[0-9]|6.[0-9]|7.[0-2]) echo Medium;; # 4.9 to 7.2 is Medium
    7.[3-9]|8.[0-9]|9.[0-6]) echo Medium-High;; # 7.3 to 9.6 is Medium-High
    9.[7-9]|10.[0-9]|11.[0-9]|12.0) echo High;; # 9.7 to 12.0 is High
    esac
    }
    pollen=$(curl -s "http://www.wunderground.com/DisplayPollen.asp?Zipcode=${ZIP}" | sed -n -e "/Today's pollen and allergy information./,/<\/table>/p" | sed -e 's/^[[:blank:]]*//')
    days=($(echo "$pollen" | grep "<div class=\"b\">" | sed 's/<[^>]*>//g'))
    dates=($(echo "$pollen" | grep "<div>$month" | sed 's/<[^>]*>//g'))
    counts=($(echo "$pollen" | grep "<p class=\"big b\">" | sed 's/<[^>]*>//g'))
    content=($(echo "$pollen" | grep "<div class=\"mainB\">" | sed 's/<[^>]*>//g'))
    
    echo "Current pollen content:"
    echo "${content[*]}"
    for d in $(seq 0 $((${#days[*]}-1)));do
    echo "Pollen count for ${days[d]}, ${dates[d]}:"
    echo "$(LMH ${counts[d]%0}) at ${counts[d]}"
    done
    I just checked and is the first line in the script #!/bin/bash?
    I tried it in sh rather than bash and it doesn't work in sh.

  10. #13470
    Join Date
    Nov 2008
    Location
    #!
    Beans
    1,749

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mobilediesel View Post
    I'll paste it again in case I messed it up:


    I just checked and is the first line in the script #!/bin/bash?
    I tried it in sh rather than bash and it doesn't work in sh.
    It worked with bash...

    Now I will testify my ignorance, I thought sh was a shortcut to bash...

    Dunce hat on now after reading the differences...We were all noob's at one time!

    Thanks for the script and the education....

Page 1347 of 2348 FirstFirst ... 3478471247129713371345134613471348134913571397144718472347 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •