Pos tagged online dating

I have fonts that Conky just won't load, and they default to Arial or Times New Roman.Not to mention that all the work making a Font means.Also the image I used is an example, I'd like to have Hours in a bold font and Minutes in a Thin/Light font.

pos tagged online dating-27pos tagged online dating-63

I want to have Conky display the time using words and not numbers.

What I want to do is more or less how the Pebble Watch looks (Red watch). I never programmed in Lua or used Conky before, but I saw a nice Monday morning challenge, and it took me 2 hours from start to finish, including writing the answer down : P This is indeed possible using Lua scripting.

Like in the image, even if only the time and not the date can be shown. You can use the script below (the number conversion is taken from rosettacode.org).

The script can do a boring option, which will translate to "twelve forty-five", and an awesome option which will translate it to "a quarter to one".

It also does a Uri Herrera option which does the hour bold ;) Also it automatically refreshes, when the time changes.

words = {"one ", "two ", "three ", "four ", "five ", "six ", "seven ", "eight ", "nine "} levels = {"thousand ", "million ", "billion ", "trillion ", "quadrillion ", "quintillion ", "sextillion ", "septillion ", "octillion ", [0] = ""} iwords = {"ten ", "twenty ", "thirty ", "forty ", "fifty ", "sixty ", "seventy ", "eighty ", "ninety "} twords = {"eleven ", "twelve ", "thirteen ", "fourteen ", "fifteen ", "sixteen ", "seventeen ", "eighteen ", "nineteen "} function digits(n) local i, ret = -1 return function() i, ret = i + 1, n % 10 if n 0 then n = math.floor(n / 10) return i, ret end end end level = false function getname(pos, dig) level = level or pos % 3 == 0 if(dig == 0) then return "" end local name = (pos % 3 == 1 and iwords[dig] or words[dig]) ..

(pos % 3 == 2 and "hundred " or "") if(level) then name, level = name ..

levels[math.floor(pos / 3)], false end return name end function number To Word(number) if(number == 0) then return "zero" end vword = "" for i, v in digits(number) do vword = getname(i, v) .. v, twords[i]) end return vword end function conky_boring Time() hour = os.date("%H") + 0 minute = os.date("%M") + 0 return number To Word(hour) ..

vword end for i, v in ipairs(words) do vword = vword:gsub("ty " .. number To Word(minute) end function conky_awesome Time() hour = os.date("%H") + 0 minute = os.date("%M") + 0 hour = hour % 12 if(hour == 0) then hour, next Hour Word = 12, "one " else next Hour Word = number To Word(hour+1) end hour Word = number To Word(hour) if(minute == 0 ) then return hour Word ..

"o'clock" elseif(minute == 30) then return "half past " ..

hour Word elseif(minute == 15) then return "a quarter past " ..

522 Comments

  1. hey baieti i platit pentru a 4 chei usb inima ca isnt cu reglaj electric ive niciodata utilizat unul inainte aceste sunt mea intrebari de conectarea mea rozator in a butuc ar reaction speed schimbare la toate ?

  2. UPSKIRT TIMES Voyeur Realm - All the peeping videos are DOWNLOADABLE!

Comments are closed.