modified the script a little bit, now direction is selectable
utf8.lua
function string:split(delimiter)
local result = { }
local from = 1
local delim_from, delim_to = string.find( self,...
Type: Posts; User: mrpeachy; Keyword(s):
modified the script a little bit, now direction is selectable
utf8.lua
function string:split(delimiter)
local result = { }
local from = 1
local delim_from, delim_to = string.find( self,...
freemono had the ones i was testing with
http://s18.postimg.org/tytuck2fp/Screenshot_from_2014_02_07_23_49_13.jpg
i'm pretty sure it is possible, ive seen it done with Japanese characters
just not sure how exactly
edit - it may just be having the right font installed and set before the lua call
or maybe not...
i picked some random arabic characters to test on
you can see they are good in the terminal, but not in conky
http://s29.postimg.org/iuq8ad0ab/Screenshot_from_2014_02_07_23_06_15.jpg
this is the...
i have a lua function that can decode utf8 unicode numbers
it works in the terminal but when i send the output to conky i get boxes (for some characters)
if i could get conky to play along you...
is this what you were after?
see the yellow text at the top
http://s30.postimg.org/42nt7w725/Screenshot_from_2014_02_07_21_38_27.jpg
done by a simple lua script
function conky_rtl(t)...
the first dot is set up in lines 1448 to 1462
that was a hard one to figure out how to get it to change color when the script was updating because essential the code is frozen during updates
Very nicely done! Congrats :guitar:
in wun.lua everything that is on the timer happens between lines
1453 and 1557
i dont put the download and processing code in directly, all that stuff is...
first an oops
i forgot to add the code to close the file after reading it!
local file=/path/to/file
local f=io.open(file, "rb")
local filestring = f:read("*all"
f:close()
@stylintile
is this the pollen info you want from that file?
pollen : "lo",
@stylintile could you post the contents of
/home/dale/test/test1
please
edit looking back at all the typos in my last post, i must have been temporarily drunk!
one thing i would suggest is that lua can open and read files using native commands
in your script you are using the os.capture function to call the prgrams cat,grep and cut
clearly this works, and...
do you have anything set to 5 in the conky rc?
gap? inner margin?
yes, i do like it!
very nice indeed :guitar:
would you care to share your template? :P
note, make sure you go grab the most recent archive
a couple of important fixes today!
https://dl.dropboxusercontent.com/u/19008369/wun/wun.tar.gz
sector11 has covered most of what is important (thank you Sector11 :) )
the background images are not inherent to the wun script or template they are either being drawn with lua functions or called...
Thank you very much Habitual and Sector11 :)
the drop shadow feature is now available in the main archive :)
CURRENT ARCHIVE 01/22/14
https://dl.dropboxusercontent.com/u/19008369/wun/wun.tar.gz
http://s29.postimg.org/aj1owdx9f/Screenshot_from_2014_01_22_15_48_59.jpg
info about using wun here...
i do? well that explains it!
if you would please do so :)
ah! well it just goes to show what happens when you assume :)
EDIT its that stupid sign in thing
when im on my big computer im mrpeachy.... but signing in from any other device, using the same...
i never add the & as im usually tinkering with a script or a template and need the terminal error messages to help me spot (all to frequent) mistakes :)
for anyone interested in the Wun Weather Lua Script, you can follow its progress and get help in a new thread
http://crunchbang.org/forums/viewtopic.php?id=31306
:)
I think Wun is pretty much...
I tried to read those sed lines but I just went cross eyed :)
i should clarify that the link on the first page is the original v9000 with the recent updates due to intellicast tweaks
v9002 which i am calling wun can currently be found here in that...
v9002 is currently in the embryonic stage LOL
you can try it out in its current form, all updates will be posted on this thread:
http://crunchbang.org/forums/viewtopic.php?id=16100
however...