SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Tips, Tricks & Scripts » HOW TO : using lua scripts in conky » 2013-12-19 22:01:37

Hey Peachy, great tutorials! Although I was wondering, is there any way to use newlines from within the LUA file? I am making a timetable script for my classes, and want it to be vaguely something like:

first class name
first class room
first class time
first class teacher

second class name
second class room
second class time
second class teacher


etc.

But on different days I have different amount of classes, so I can't just put each line in an individual variable and move the ypos down a few pixels.

When I did something like "timetable = "lesson1 \n lesson2"" the \n just appeared as a square character.

Thanks for your time smile

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo