Page 1592 of 2327 FirstFirst ... 5921092149215421582159015911592159315941602164216922092 ... LastLast
Results 15,911 to 15,920 of 23264

Thread: Post your .conkyrc files w/ screenshots

  1. #15911
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by kaivalagi View Post
    It's worth mentioning that those scripts along with the conkyLatLong and conkyText scripts are now in the conkyMisc package in the Conky Companions PPA. It has it's own thread here: http://ubuntuforums.org/showthread.php?t=1646675

    Chimo

    edit: and I said I wouldn't sector11

    I have a question about that one (conkyLatLong) if you don't mind. Is it possible for you to put an update into that where there ARE two switches? So you can, maybe, only display the latitude or only display the longitude? Or perhaps a third where it shows in decimal instead of minutes?

    I have a space I'd love to use it, but it's too narrow for both latitude and longitude next to eachother. I'd like to be able to just display one above the other, and decimal would be easier there.

  2. #15912
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Beautiful. One question does that "also" work in "Linux".
    Does "developed under Ubuntu" count?

    Quote Originally Posted by Sector11 View Post
    Here's another one. That calendar script you posted maintains a 31 day calendar with extra days for the following months ONLY if it is a horizontal calendar. This one does the same for horizontal or vertical (better for spacing) - can you make this good for BSD as well:
    I'll try and send it over to this BSD user for testing


    PS: I almost forgot
    There is a draft for payday countdown:
    Code:
    #/bin/bash
    
    #########################################################################
    # This is a script that count down from STARTDAY by COUNTDAY day number #
    ######################################################################### 
    
    STARTDATE=$(date -d "$1" +%j |bc -l)
    COUNTDAY=$(echo $2 |bc -l)
    TODAY=$(date +%j |bc -l)
    PAYDAYS=$(echo "scale=0; (($TODAY - $STARTDATE) / $COUNTDAY) + 1" |bc -l )
    PAYDAY=$(echo "($PAYDAYS + 1) * $COUNTDAY" |bc -l)
    COUNTDOWN=$[PAYDAY-TODAY]
    
    printf "\nSTART:\t\t$STARTDATE\n"
    printf "COUNT:\t\t$COUNTDAY\n"
    printf "TODAY:\t\t$TODAY\n"
    printf "PayDays No.:\t$PAYDAYS\n"
    printf "Next PayDay:\t$PAYDAY\n"
    printf "CountDown:\t$COUNTDOWN\n"
    it is meant to run as this:
    Code:
    payday-countdown.sh "2011-02-6" 14
    Last edited by dk75; February 9th, 2011 at 09:04 PM.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  3. #15913
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    I have a question about that one (conkyLatLong) if you don't mind. Is it possible for you to put an update into that where there ARE two switches? So you can, maybe, only display the latitude or only display the longitude? Or perhaps a third where it shows in decimal instead of minutes?

    I have a space I'd love to use it, but it's too narrow for both latitude and longitude next to eachother. I'd like to be able to just display one above the other, and decimal would be easier there.
    There are no options, a GPS co-ordinate is returned based on your location discovered through your IP address

  4. #15914
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    There are no options, a GPS co-ordinate is returned based on your location discovered through your IP address
    I know that I was asking if he could make the script with the switches built in so that it'd be easier to split them apart and work with them in more narrow spaces on the Conky. As in an update to the script, not how to use the script as it is right now.

  5. #15915
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    Does "developed under Ubuntu" count?
    If it works - YES!

    Quote Originally Posted by dk75 View Post
    I'll try and send it over to this BSD user for testing
    That's reasonable. Thanks

    Quote Originally Posted by dk75 View Post
    PS: I almost forgot
    There is a draft for payday countdown:
    Nice but: if a person gets paid every 14 days - say every second Friday the next payday cannot be more than 14 days away.

    In this example I set the first Friday of the year: 7 Jan 2011 as the first payday:

    Code:
      17:36 ~
             $ cal -3
        January 2011         February 2011           March 2011       
    Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
                       1         1  2  3  4  5         1  2  3  4  5
     2  3  4  5  6  7  8   6  7  8  9 10 11 12   6  7  8  9 10 11 12
     9 10 11 12 13 14 15  13 14 15 16 17 18 19  13 14 15 16 17 18 19
    16 17 18 19 20 21 22  20 21 22 23 24 25 26  20 21 22 23 24 25 26
    23 24 25 26 27 28 29  27 28                 27 28 29 30 31
    30 31                                       
    
      17:36 ~
             $ payday "2011-01-07" 14
    
    START:		7
    COUNT:		14
    TODAY:		40
    PayDays No.:	3
    Next PayDay:	56
    CountDown:	16
    
      17:39 ~
             $
    And it's telling me the next payday is 16 days away? when in fact it is: 9 days away: 18 Feb 2011

    Shouldn't this be it:
    Code:
    Next PayDay:	49
    CountDown:	9
    Nice script though I'm playing with it.
    Last edited by Sector11; February 9th, 2011 at 10:15 PM.

  6. #15916
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    If it works - YES!



    That's reasonable. Thanks



    Nice but: is a person gets paid every 14 days - say every second Friday the next payday cannot be more than 14 days away.

    In this example I set the first Friday of the year: 7 Jan 2011 as the first payday:

    Code:
      17:36 ~
             $ cal -3
        January 2011         February 2011           March 2011       
    Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
                       1         1  2  3  4  5         1  2  3  4  5
     2  3  4  5  6  7  8   6  7  8  9 10 11 12   6  7  8  9 10 11 12
     9 10 11 12 13 14 15  13 14 15 16 17 18 19  13 14 15 16 17 18 19
    16 17 18 19 20 21 22  20 21 22 23 24 25 26  20 21 22 23 24 25 26
    23 24 25 26 27 28 29  27 28                 27 28 29 30 31
    30 31                                       
    
      17:36 ~
             $ payday "2011-01-07" 14
    
    START:		7
    COUNT:		14
    TODAY:		40
    PayDays No.:	3
    Next PayDay:	56
    CountDown:	16
    
      17:39 ~
             $
    And it's telling me the next payday is 16 days away? when in fact it is: 9 days away: 18 Feb 2011

    Shouldn't this be it:
    Code:
    Next PayDay:	49
    CountDown:	9
    Nice script though I'm playing with it.

    Y'know, you could probably save yourself some effort by counting the day of the year rather than messing with days of the week. Every day of the year has a number, associate the start day with a day of the week (An integer between 1 and 7) and you can make the script count the number of cycles it goes through 1 through 7. Count once, ignore it. Count twice, mark it there, search for what day of the year that is, and spit out the countdown from the current day of the year. Two number arrays that correspond like the gears of a clock rather than one giant array of 12 months with varying numbers of days and strings meaning the days of the week. Convert it all to numbers and it'll mesh better.

    In theory anyways. Weird inspirations, sorry.

  7. #15917
    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 dk75 View Post
    Does "developed under Ubuntu" count?



    I'll try and send it over to this BSD user for testing


    PS: I almost forgot
    There is a draft for payday countdown:
    Code:
    #/bin/bash
    
    #########################################################################
    # This is a script that count down from STARTDAY by COUNTDAY day number #
    ######################################################################### 
    
    STARTDATE=$(date -d "$1" +%j |bc -l)
    COUNTDAY=$(echo $2 |bc -l)
    TODAY=$(date +%j |bc -l)
    PAYDAYS=$(echo "scale=0; (($TODAY - $STARTDATE) / $COUNTDAY) + 1" |bc -l )
    PAYDAY=$(echo "($PAYDAYS + 1) * $COUNTDAY" |bc -l)
    COUNTDOWN=$[PAYDAY-TODAY]
    
    printf "\nSTART:\t\t$STARTDATE\n"
    printf "COUNT:\t\t$COUNTDAY\n"
    printf "TODAY:\t\t$TODAY\n"
    printf "PayDays No.:\t$PAYDAYS\n"
    printf "Next PayDay:\t$PAYDAY\n"
    printf "CountDown:\t$COUNTDOWN\n"
    it is meant to run as this:
    Code:
    payday-countdown.sh "2011-02-6" 14
    dk75 to the rescue with another great script.
    I'm a super power user

  8. #15918
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    I know that I was asking if he could make the script with the switches built in so that it'd be easier to split them apart and work with them in more narrow spaces on the Conky. As in an update to the script, not how to use the script as it is right now.
    You can edit the script @ /usr/share/conkymisc/conkyLatLong.py to not
    convert to degree/minte/second and to split long/lat to two lines.

    ie staring at line #46
    Code:
    # convert to degree/minte/second
            # output the lat/long with bearings...
    #        if lat[0:1] == "-":
    #            lat = lat[1:len(lat)+1]
    #            lat = convertDegreeMinuteSecond(lat)+"S"
    #        else:
    #            lat = convertDegreeMinuteSecond(lat)+"N"
             
    #        if long[0:1] == "-":
    #            long = long[1:len(long)+1]
    #            long = convertDegreeMinuteSecond(long)+"W"
    #        else:
    #            long = convertDegreeMinuteSecond(long)+"E"
                
            print "%s\n%s"%(lat,long)

  9. #15919
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    I know that I was asking if he could make the script with the switches built in so that it'd be easier to split them apart and work with them in more narrow spaces on the Conky. As in an update to the script, not how to use the script as it is right now.
    Well, in the post above there is a link to the thread for those apps, why not ask there?

  10. #15920
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Well, in the post above there is a link to the thread for those apps, why not ask there?
    I'm trying to get THIS thread back to it's old glory The more of these other threads there are, the quicker it'll lose it's usefulness. Keep this one active and it'll be easier for everyone to find, and kaivalagi can still do his updates on the other threads. He's got a repository going after all, so if any updates happen, we'll just get notified by the updaters.

    In fact, right now I solved my own question, though I'm not fond of the way I did it. I used Grep/Awk to output the values I wanted. I'm still in the middle of formatting and rearranging things. It would still be nice if the script itself had switches to do this. And as I am a HORRIBLE Python programmer, I dread looking at the code myself.

Page 1592 of 2327 FirstFirst ... 5921092149215421582159015911592159315941602164216922092 ... 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
  •