Page 1098 of 2274 FirstFirst ... 98598998104810881096109710981099110011081148119815982098 ... LastLast
Results 10,971 to 10,980 of 22732

Thread: Post your .conkyrc files w/ screenshots

  1. #10971
    Join Date
    Jul 2009
    Location
    Germany > Hessen > DA
    Beans
    26

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by BaroqueBloke View Post
    Thanks Miegiel and Bruce! The tips are appreciated. Now, If I wanted to add a second conky in the middle of the screen... im unclear about that.

    This command is your friend!

    Thus, the Conky window will be positioned on the screen!

    Code:
    alignment 
    Aligned position on screen, may be top_left, top_right, top_middle, bottom_left, bottom_right, 
    bottom_middle, middle_left, middle_right, or none (also can be abreviated as tl, tr, tm, bl, br, bm, ml, mr). 
    See also gap_x and gap_y.
    http://conky.sourceforge.net/config_settings.html
    64Bit - HP Compaq Presario CQ60-105EG, 4GB RAM, 160GB, NVIDIA GeForce 8200M, AMD Athlon X2 Dual-Core / Mandriva 2009.1, Mandriva 2010, #! Crunchbang 9.04.01 Conky-Hardcore - searchOne

  2. #10972
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mobilediesel View Post
    Crazy, you say?
    [..]
    The reason for ${TODAY/#0/} is because for days that have a zero (01 02 ... 09) confuse BASH when it tries to do math with it.
    Nice.
    1 CASE conditionals
    1 FOR loop
    and that's it

    As for ${TODAY/#0/} then it's no need because of TODAY=$(date +%-d) which give numbers wihout leading "zeros".

    And your SED ommited "01" when $TODAY was "1" and colorised "1" from number "10" so I've added 2 character to correct that:

    Code:
    #!/bin/bash
    # horizontal calendar for conky by ans
    # Updated by: mobilediesel, dk75, Bruce, Crinos512, et al.
    # locale depend week day names
    lang=$1
    case ${lang:=$LANG} in
    	af* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Sa" "So");;			# Afrikaans (Afrikaans)
    	be* )  DOW=("Па" "Аў" "Се" "Ча" "Пя" "Су" "Ня");;			# Belarusian (Беларуская)
    	bs* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");;			# Bosnian (Bosanac)
    	bg* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Съ" "Не");;			# Bulgarian (Български)
    	zh* )  DOW=("周一" "周二" "周三" "周四" "周五" "周六" "周天");;		# Chinese (中文)
    	hr* )  DOW=("Po" "Ut" "Ut" "Sr" "Če" "Su" "Ne");;			# Croatian (Hrvatska)
    	cs* )  DOW=("Po" "t" "St" "Čt" "P" "So" "Ne");;			# Czech (Četina)
    	da* )  DOW=("Ma" "Ti" "On" "To" "Fr" "L" "S");;			# Danish (Dntina)
    	nl* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Za" "Zo");;			# Dutch (Nederlandse)
    	de* )  DOW=("Mo" "Di" "Mi" "Do" "Fr" "Sa" "So");;			# German (Deutche)
    	el* )  DOW=("Δε" "Τρ" "Τε" "Πέ" "Πα" "Σά" "Κυ");;			# Greek (Ελληνικά)
    	et* )  DOW=("Es" "Te" "Ko" "Ne" "Re" "La" "P");;			# Estonian (Eesti)
    	tl* )  DOW=("Lu" "Ma" "Mi" "Hu" "Bi" "Sa" "Li");;			# Filipino (Filipino)
    	fi* )  DOW=("Ma" "Ti" "Ke" "To" "Pe" "La" "Su");;			# Finnish (Suomen)
    	fr* )  DOW=("Lu" "Ma" "Me" "Je" "Ve" "Sa" "Di");;			# French (Franais)
    	gl* )  DOW=("Lu" "Ma" "M" "Xo" "Ve" "S" "Do");;			# Galician (Galego)
    	hi* )  DOW=("सोम" "मंगल" "बुध" "गुरु" "शुक्र" "शनि" "सूर्य")	;;			# Hindi (हिन्दी)
    	hu* )  DOW=("H" "Ke" "Se" "C" "P" "So" "Va");;			# Hungarian (Magyar)
    	is* )  DOW=("M" "r" "Mi" "Fi" "F" "La" "Su");;			# Icelandic (slenska)
    	id* )  DOW=("Se" "Se" "Ra" "Ka" "Ju" "Sa" "Mi");;			# Indonesian (Indonesia)
    	it* )  DOW=("Lu" "Ma" "Me" "Gi" "Ve" "Sa" "Do");;			# Italian (Italiano)
    	ja* )  DOW=("月曜" "火曜" "水曜" "木曜" "金曜" "土曜" "日曜");;		# Japanese (日本語) x
    	ko* )  DOW=("월요" "화요" "수요" "목요" "금요" "토요" "일요");;		# Korean (한국어) x
    	lv* )  DOW=("Pr" "Ot" "Tr" "Ce" "Pe" "Se" "Sv");;			# Latvian (Latvieu)
    	lt* )  DOW=("pi" "an" "tr" "ke" "pe" "e" "se");;			# Lithuanian (Lietuvikai)
    	mk* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Са" "Не");;			# Macedonian (Македонски)
    	ml* )  DOW=("Is" "Se" "Ra" "Ra" "Ju" "Sa" "Mi");;			# Malayam (Bahasa Melayu)
    	nb* )  DOW=("ma" "ti" "on" "to" "fr" "l" "s");;			# Norwegian (Norsk)
    	pl* )  DOW=("Po" "Wt" "Śr" "Cz" "Pt" "So" "Nd");;			# Polish (Polska)
    	pt* )  DOW=("Sq" "Te" "Qa" "Qi" "Se" "S" "Do");;			# Portuguese (Portugus)
    	ro* )  DOW=("Lu" "Ma" "Mi" "Jo" "Vi" "Sa" "Du");;			# Romanian (Romn)
    	ru* )  DOW=("По" "Вт" "Ср" "Че" "Пя" "Су" "Во");;			# Russian (Русский)
    	sr* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");;			# Serbian (Српски)
    	sk* )  DOW=("Po" "Ut" "St" "t" "Pi" "So" "Ne");;			# Slovak (Slovenčina)
    	sl* )  DOW=("Po" "To" "Sr" "Če" "Pe" "So" "Ne");;			# Slovenian (Slovenski)
    	es* )  DOW=("Lu" "Ma" "Mi" "Ju" "Vi" "S" "Do");;			# Spanish (Espaol)
    	sv* )  DOW=("M" "Ti" "On" "To" "Fr" "L" "S");;			# Swedish (Svenska)
    	tr* )  DOW=("Pa" "Sa" "a" "Pe" "Cu" "Cu" "Pa");;			# Turkish (Trke)
    	uk* )  DOW=("По" "Ві" "Се" "Че" "Пя" "Су" "Не");;			# Ukrainian (Українська)
            * ) DOW=("Mo" "Tu" "We" "Th" "Fr" "Sa" "Su") ;;
    esac
    
    COLOROLD="445566" #MidSlateGrey
    COLORTODAY="FF8C00" #Darkorange
    COLORREST="445566" #MidSlateGrey
    COLORNEXT="778899" #LightSlateGrey
    COLORSATURDAY="FFFF00"
    COLORSUNDAY="FF8C00"
    COLOR=("" "" "" "" "" "\${color $COLORSATURDAY}" "\${color $COLORSUNDAY}")
    COLOREND=("" "" "" "" "" "\${color}" "\${color}")
    
    TODAY=$(date +%-d)
    LASTDAY=$(date -d "-$TODAY days +1 month" +%d)
    FIRSTDAY=$(date -d "-$[$TODAY-1] days" +%u)
    
    # Build $TOPLINE
    k=$FIRSTDAY
    for j in $(seq 1 1 31); do
      TOPLINE="$TOPLINE ${COLOR[$[k-1]]}${DOW[$[k-1]]}${COLOREND[$[k-1]]}"
      k=$[${k/#7/0}+1]
    done
    
    BOTTOM=" \${color $COLOROLD}$(seq -w -s ' ' $LASTDAY|sed "s/.$TODAY /\${color $COLORTODAY}&\${color $COLORREST}/") \${color $COLORNEXT}$(seq -w -s ' ' 01 $[31-$LASTDAY])"
    
    echo "\${goto 20}$TOPLINE\${tab 20}"
    echo "\${goto 20}$BOTTOM\${color}\${tab 20}"
    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. #10973
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by BaroqueBloke View Post
    Thanks Miegiel and Bruce! The tips are appreciated. Now, If I wanted to add a second conky in the middle of the screen... im unclear about that.
    Are you talking starting a second conky or positioning it.

    searchOne talks about positioning it

    But to start a second conky or a third, fourth ... 101st see Chapter I, Step 2 or Chapter II directly.

    NOTE: Make sure your second conky does NOT overwrite the space of the first conky. Therefore searchOnes tip is a must as well.

    Have a nice day.
    Bruce

  4. #10974
    Join Date
    Jul 2009
    Location
    Germany > Hessen > DA
    Beans
    26

    Re: Post your .conkyrc files w/ screenshots

    Just like Bruce said! With
    Code:
    conky
    starts the .conkyrc in your Home-Directory.

    If you now want to start another Conky that goes with
    Code:
    conky-c /Directory/Name
    The name of the other Conky file should not be .conkyrc!
    64Bit - HP Compaq Presario CQ60-105EG, 4GB RAM, 160GB, NVIDIA GeForce 8200M, AMD Athlon X2 Dual-Core / Mandriva 2009.1, Mandriva 2010, #! Crunchbang 9.04.01 Conky-Hardcore - searchOne

  5. #10975
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    Nice.
    1 CASE conditionals
    1 FOR loop
    and that's it
    dizzy still with the changes --- so one last change:

    Code:
    #!/bin/bash
    cal
    Now that's optimized!!!!!!!!!!!
    It may not work, but it is optimized!

    Have a non-dizzy day
    Bruce

  6. #10976
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Last one small tingy... when TODAY == LASTDAY then TODAY isn't coloried so it needs last 2 char to add
    Code:
    #!/bin/bash
    # horizontal calendar for conky by ans
    # Updated by: mobilediesel, dk75, Bruce, Crinos512, et al.
    # locale depend week day names
    lang=$1
    case ${lang:=$LANG} in
    	af* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Sa" "So");;			# Afrikaans (Afrikaans)
    	be* )  DOW=("Па" "Аў" "Се" "Ча" "Пя" "Су" "Ня");;			# Belarusian (Беларуская)
    	bs* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");;			# Bosnian (Bosanac)
    	bg* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Съ" "Не");;			# Bulgarian (Български)
    	zh* )  DOW=("周一" "周二" "周三" "周四" "周五" "周六" "周天");;		# Chinese (中文)
    	hr* )  DOW=("Po" "Ut" "Ut" "Sr" "Če" "Su" "Ne");;			# Croatian (Hrvatska)
    	cs* )  DOW=("Po" "t" "St" "Čt" "P" "So" "Ne");;			# Czech (Čeština)
    	da* )  DOW=("Ma" "Ti" "On" "To" "Fr" "L" "S");;			# Danish (Dnština)
    	nl* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Za" "Zo");;			# Dutch (Nederlandse)
    	de* )  DOW=("Mo" "Di" "Mi" "Do" "Fr" "Sa" "So");;			# German (Deutche)
    	el* )  DOW=("Δε" "Τρ" "Τε" "Πέ" "Πα" "Σά" "Κυ");;			# Greek (Ελληνικά)
    	et* )  DOW=("Es" "Te" "Ko" "Ne" "Re" "La" "P");;			# Estonian (Eesti)
    	tl* )  DOW=("Lu" "Ma" "Mi" "Hu" "Bi" "Sa" "Li");;			# Filipino (Filipino)
    	fi* )  DOW=("Ma" "Ti" "Ke" "To" "Pe" "La" "Su");;			# Finnish (Suomen)
    	fr* )  DOW=("Lu" "Ma" "Me" "Je" "Ve" "Sa" "Di");;			# French (Franais)
    	gl* )  DOW=("Lu" "Ma" "M" "Xo" "Ve" "S" "Do");;			# Galician (Galego)
    	hi* )  DOW=("सोम" "मंगल" "बुध" "गुरु" "शुक्र" "शनि" "सूर्य")	;;			# Hindi (हिन्दी)
    	hu* )  DOW=("H" "Ke" "Se" "C" "P" "So" "Va");;			# Hungarian (Magyar)
    	is* )  DOW=("M" "r" "Mi" "Fi" "F" "La" "Su");;			# Icelandic (slenska)
    	id* )  DOW=("Se" "Se" "Ra" "Ka" "Ju" "Sa" "Mi");;			# Indonesian (Indonesia)
    	it* )  DOW=("Lu" "Ma" "Me" "Gi" "Ve" "Sa" "Do");;			# Italian (Italiano)
    	ja* )  DOW=("月曜" "火曜" "水曜" "木曜" "金曜" "土曜" "日曜");;		# Japanese (日本語) x
    	ko* )  DOW=("월요" "화요" "수요" "목요" "금요" "토요" "일요");;		# Korean (한국어) x
    	lv* )  DOW=("Pr" "Ot" "Tr" "Ce" "Pe" "Se" "Sv");;			# Latvian (Latviešu)
    	lt* )  DOW=("pi" "an" "tr" "ke" "pe" "še" "se");;			# Lithuanian (Lietuviškai)
    	mk* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Са" "Не");;			# Macedonian (Македонски)
    	ml* )  DOW=("Is" "Se" "Ra" "Ra" "Ju" "Sa" "Mi");;			# Malayam (Bahasa Melayu)
    	nb* )  DOW=("ma" "ti" "on" "to" "fr" "l" "s");;			# Norwegian (Norsk)
    	pl* )  DOW=("Po" "Wt" "Śr" "Cz" "Pt" "So" "Nd");;			# Polish (Polska)
    	pt* )  DOW=("Sq" "Te" "Qa" "Qi" "Se" "S" "Do");;			# Portuguese (Portugus)
    	ro* )  DOW=("Lu" "Ma" "Mi" "Jo" "Vi" "Sa" "Du");;			# Romanian (Romn)
    	ru* )  DOW=("По" "Вт" "Ср" "Че" "Пя" "Су" "Во");;			# Russian (Русский)
    	sr* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");;			# Serbian (Српски)
    	sk* )  DOW=("Po" "Ut" "St" "Št" "Pi" "So" "Ne");;			# Slovak (Slovenčina)
    	sl* )  DOW=("Po" "To" "Sr" "Če" "Pe" "So" "Ne");;			# Slovenian (Slovenski)
    	es* )  DOW=("Lu" "Ma" "Mi" "Ju" "Vi" "S" "Do");;			# Spanish (Espaol)
    	sv* )  DOW=("M" "Ti" "On" "To" "Fr" "L" "S");;			# Swedish (Svenska)
    	tr* )  DOW=("Pa" "Sa" "a" "Pe" "Cu" "Cu" "Pa");;			# Turkish (Trke)
    	uk* )  DOW=("По" "Ві" "Се" "Че" "Пя" "Су" "Не");;			# Ukrainian (Українська)
            * ) DOW=("Mo" "Tu" "We" "Th" "Fr" "Sa" "Su") ;;
    esac
    
    COLOROLD="445566" #MidSlateGrey
    COLORTODAY="FF8C00" #Darkorange
    COLORREST="445566" #MidSlateGrey
    COLORNEXT="778899" #LightSlateGrey
    COLORSATURDAY="FFFF00"
    COLORSUNDAY="FF8C00"
    COLOR=("" "" "" "" "" "\${color $COLORSATURDAY}" "\${color $COLORSUNDAY}")
    COLOREND=("" "" "" "" "" "\${color}" "\${color}")
    
    TODAY=$(date +%-d)
    LASTDAY=$(date -d "-$TODAY days +1 month" +%d)
    FIRSTDAY=$(date -d "-$[$TODAY-1] days" +%u)
    
    # Build $TOPLINE
    k=$FIRSTDAY
    for j in $(seq 1 1 31); do
      TOPLINE="$TOPLINE ${COLOR[$[k-1]]}${DOW[$[k-1]]}${COLOREND[$[k-1]]}"
      k=$[${k/#7/0}+1]
    done
    
    BOTTOM=" \${color $COLOROLD}$(seq -w -s ' ' $LASTDAY|sed "s/.$TODAY \?/\${color $COLORTODAY}&\${color $COLORREST}/") \${color $COLORNEXT}$(seq -w -s ' ' 01 $[31-$LASTDAY])"
    
    echo "\${goto 20}$TOPLINE\${tab 20}"
    echo "\${goto 20}$BOTTOM\${color}\${tab 20}"
    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

  7. #10977
    Join Date
    Jul 2009
    Location
    Germany > Hessen > DA
    Beans
    26

    Re: Post your .conkyrc files w/ screenshots

    My God, how many languages do you want there's cramming?

    Makes it a competition who writes the shortest script?
    64Bit - HP Compaq Presario CQ60-105EG, 4GB RAM, 160GB, NVIDIA GeForce 8200M, AMD Athlon X2 Dual-Core / Mandriva 2009.1, Mandriva 2010, #! Crunchbang 9.04.01 Conky-Hardcore - searchOne

  8. #10978
    Join Date
    Oct 2009
    Location
    UK
    Beans
    85

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    Did you use rhythmbox from conky or Conky Rhythmbox Python Script

    Show us your conky.
    I've done some testing but with no luck. I used that Conky Rhythmbox Python Script posted (which works on its own, not with conkymain though)

    Here's my conky:
    Code:
    background yes
    use_xft yes
    xftfont neuropol x free:size=10
    xftalpha 0.8
    update_interval 1.0
    own_window no
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_shades no
    draw_outline no
    draw_graph_borders yes
    stippled_borders no
    default_color white
    default_shade_color black
    alignment top
    minimum_width 30
    maximum_width 1000
    minimum_size 30
    gap_y 30
    gap_x 6
    use_spacer none
    no_buffers yes
    
    TEXT
    $sysname $kernel $machine | Logged in as: $user_names
    Processor: ${cpu cpu0}% ${cpubar cpu1 8,30}  | Memory: ${mem} of ${memmax} ${memgraph mem 8,30} | HDD: ${fs_used /} of ${fs_size /} used | Uptime: $uptime_short 
    
    
    
    
    
            ${font neuropol x free:size=14}${time %A %d %B %Y}   ${font neuropol x free:size=32}${time %H:%M}
    and Rhythmbox:
    Code:
    background yes
    use_xft yes
    xftfont neuropol x free:size=10
    xftalpha 0.8
    update_interval 1.0
    own_window no
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_shades no
    draw_outline no
    draw_graph_borders yes
    stippled_borders no
    default_color white
    default_shade_color black
    alignment bottom_left
    minimum_width 30
    maximum_width 300
    minimum_size 30
    gap_y 30
    gap_x 6
    use_spacer none
    no_buffers yes
    
    
    TEXT
    ${color4}${font neuropol x free:style=Bold:size=14}@ ${font neuropol x free:style=Bold:size=11}Rhythmbox${font}
    
    ${voffset 10}${color3}Status:${color1}${exec conkyRhythmbox --datatype=ST}
    ${color3}Artist:${color1}${exec conkyRhythmbox --datatype=AR}
    ${color3}Album:${color1}${exec conkyRhythmbox --datatype=AL}
    ${color3}Title:${color1}${exec conkyRhythmbox --datatype=TI}
    ${color3}Position:${color1}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE} - ${exec conkyRhythmbox --datatype=PP}%
    #!Crunchbang

  9. #10979
    Bruce M. is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by searchOne View Post
    My God, how many languages do you want there's cramming?
    I've been thinking the same thing.
    Maybe this script should come with NO languages, at all, but point to a language.file according to a command line option dk75 has one:

    Code:
    ${execpi 3600 env LANG=es_ES.UTF8 /home/username/path/to/conky_calhoriz.sh}
    where: env LANG=es_TI.UTF8 is for Spanish

    amd mobilediesel's shorter one that works (today)

    Code:
    ${execpi 3600 /home/username/path/to/conky_calhoriz.sh es}
    that could be changed to something like:

    Code:
    ${execpi 3600 /home/username/path/to/conky_calhoriz.sh es --lang:home/username/path/to/lang.file}
    Or, even more convienent a package deal:
    conky_calhoriz.sh, and
    lang.file

    conky_calhoriz.sh

    Code:
    #!/bin/bash
    # horizontal calendar for conky by ans
    # Updated by: mobilediesel, dk75, Bruce, Crinos512, et al.
    # locale depend week day names
    # check lang.file and replace the xx line with the language file of your choice
    lang=$1
    case ${lang:=$LANG} in
    	xx* )  DOW=("xx" "xx" "xx" "xx" "xx" "xx" "xx");; # 
            * ) DOW=("Mo" "Tu" "We" "Th" "Fr" "Sa" "Su") ;;
    esac
    and lang.file
    Code:
    case ${lang:=$LANG} in
    	af* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Sa" "So");;			# Afrikaans (Afrikaans)
    	be* )  DOW=("Па" "Аў" "Се" "Ча" "Пя" "Су" "Ня");;			# Belarusian (Беларуская)
    	bs* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");;			# Bosnian (Bosanac)
    	bg* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Съ" "Не");;			# Bulgarian (Български)
    	zh* )  DOW=("周一" "周二" "周三" "周四" "周五" "周六" "周天");;		# Chinese (中文)
    	hr* )  DOW=("Po" "Ut" "Ut" "Sr" "Če" "Su" "Ne");;			# Croatian (Hrvatska)
    	cs* )  DOW=("Po" "t" "St" "Čt" "P" "So" "Ne");;			# Czech (Četina)
    	da* )  DOW=("Ma" "Ti" "On" "To" "Fr" "L" "S");;			# Danish (Dntina)
    	nl* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Za" "Zo");;			# Dutch (Nederlandse)
    	de* )  DOW=("Mo" "Di" "Mi" "Do" "Fr" "Sa" "So");;			# German (Deutche)
    	el* )  DOW=("Δε" "Τρ" "Τε" "Πέ" "Πα" "Σά" "Κυ");;			# Greek (Ελληνικά)
    	et* )  DOW=("Es" "Te" "Ko" "Ne" "Re" "La" "P");;			# Estonian (Eesti)
    	tl* )  DOW=("Lu" "Ma" "Mi" "Hu" "Bi" "Sa" "Li");;			# Filipino (Filipino)
    	fi* )  DOW=("Ma" "Ti" "Ke" "To" "Pe" "La" "Su");;			# Finnish (Suomen)
    	fr* )  DOW=("Lu" "Ma" "Me" "Je" "Ve" "Sa" "Di");;			# French (Franais)
    	gl* )  DOW=("Lu" "Ma" "M" "Xo" "Ve" "S" "Do");;			# Galician (Galego)
    	hi* )  DOW=("सोम" "मंगल" "बुध" "गुरु" "शुक्र" "शनि" "सूर्य")	;;			# Hindi (हिन्दी)
    	hu* )  DOW=("H" "Ke" "Se" "C" "P" "So" "Va");;			# Hungarian (Magyar)
    	is* )  DOW=("M" "r" "Mi" "Fi" "F" "La" "Su");;			# Icelandic (slenska)
    	id* )  DOW=("Se" "Se" "Ra" "Ka" "Ju" "Sa" "Mi");;			# Indonesian (Indonesia)
    	it* )  DOW=("Lu" "Ma" "Me" "Gi" "Ve" "Sa" "Do");;			# Italian (Italiano)
    	ja* )  DOW=("月曜" "火曜" "水曜" "木曜" "金曜" "土曜" "日曜");;		# Japanese (日本語) x
    	ko* )  DOW=("월요" "화요" "수요" "목요" "금요" "토요" "일요");;		# Korean (한국어) x
    	lv* )  DOW=("Pr" "Ot" "Tr" "Ce" "Pe" "Se" "Sv");;			# Latvian (Latvieu)
    	lt* )  DOW=("pi" "an" "tr" "ke" "pe" "e" "se");;			# Lithuanian (Lietuvikai)
    	mk* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Са" "Не");;			# Macedonian (Македонски)
    	ml* )  DOW=("Is" "Se" "Ra" "Ra" "Ju" "Sa" "Mi");;			# Malayam (Bahasa Melayu)
    	nb* )  DOW=("ma" "ti" "on" "to" "fr" "l" "s");;			# Norwegian (Norsk)
    	pl* )  DOW=("Po" "Wt" "Śr" "Cz" "Pt" "So" "Nd");;			# Polish (Polska)
    	pt* )  DOW=("Sq" "Te" "Qa" "Qi" "Se" "S" "Do");;			# Portuguese (Portugus)
    	ro* )  DOW=("Lu" "Ma" "Mi" "Jo" "Vi" "Sa" "Du");;			# Romanian (Romn)
    	ru* )  DOW=("По" "Вт" "Ср" "Че" "Пя" "Су" "Во");;			# Russian (Русский)
    	sr* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");;			# Serbian (Српски)
    	sk* )  DOW=("Po" "Ut" "St" "t" "Pi" "So" "Ne");;			# Slovak (Slovenčina)
    	sl* )  DOW=("Po" "To" "Sr" "Če" "Pe" "So" "Ne");;			# Slovenian (Slovenski)
    	es* )  DOW=("Lu" "Ma" "Mi" "Ju" "Vi" "S" "Do");;			# Spanish (Espaol)
    	sv* )  DOW=("M" "Ti" "On" "To" "Fr" "L" "S");;			# Swedish (Svenska)
    	tr* )  DOW=("Pa" "Sa" "a" "Pe" "Cu" "Cu" "Pa");;			# Turkish (Trke)
    	uk* )  DOW=("По" "Ві" "Се" "Че" "Пя" "Су" "Не");;			# Ukrainian (Українська)
            * ) DOW=("Mo" "Tu" "We" "Th" "Fr" "Sa" "Su") ;;
    esac
    After all, one only needs one language for it to work.

    Just a thought.

    Quote Originally Posted by searchOne View Post
    Makes it a competition who writes the shortest script?
    I win! -->> short!

    You didn't say it had to work.

    CHIMO!
    Bruce

  10. #10980
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    Nice.
    1 CASE conditionals
    1 FOR loop
    and that's it

    As for ${TODAY/#0/} then it's no need because of TODAY=$(date +%-d) which give numbers without leading "zeros".

    And your SED ommited "01" when $TODAY was "1" and colorised "1" from number "10" so I've added 2 character to correct that:
    I totally missed that.
    Last one small tingy... when TODAY == LASTDAY then TODAY isn't colorised so it needs last 2 char to add
    Got that too, excellent work!
    http://dl.dropbox.com/u/1055489/scri...ky_calhoriz.sh

Page 1098 of 2274 FirstFirst ... 98598998104810881096109710981099110011081148119815982098 ... 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
  •