you want to draw the bar when operstate is down, right ? so try the inverse :
local f = io.open('/sys/class/net/wlan0/operstate
if f:read() == "up" then
local f =...
Type: Posts; User: wlourf; Keyword(s):
you want to draw the bar when operstate is down, right ? so try the inverse :
local f = io.open('/sys/class/net/wlan0/operstate
if f:read() == "up" then
local f =...
Ok, I see, then try up instead down :
if f:read() == "up" then
You ask : "also need some help with the lua to not show link bar when easytether0 is connected."
Try to add this code after the settings for the wlan0 bar :
local f =...
A simple conky displaying a modern clock and/or a coverart for your player and/or a photo-album
...
Try this :
function get_updates()
local ud=io.popen("aptitude search '~U' | wc -l")
local status = ud:read("*all")
ud:close()
if status > 0 then status=100 end
return...
you could use
co="exec aptitude search '~U' | wc -l",but unfortunately you can't set a max value in this script (it is set at 100). If you could set a max value, you will have set to 1 so the...
No idea, I think you didn't copy/paste the full script. Try to find the original script.
the function conky_init_scripts is missing in your cpu.lua file
Degan, in your conkyrc, change the path to file cpu_v.0.1.lua
Yes, it is conky, you can dowload the full setup on deviantArt :
http://shamen456.deviantart.com/art/en-attendant-Ocelot-254418236
Here's my non-obstructive conky at the moment, made with Lua :...
yes, with this Lua script, you have to restart the conky. Use a terminal and run
conky -c /path/conky
When you make a change to the conky, stop the conky with Ctrl + C in the terminal and start...
nothing better to do, I don't know :D but I wrote this little script some month ago:
# -- Conky settings -- #
background no
update_interval 0.1
cpu_avg_samples 2
net_avg_samples 2
...
I use this site to get images from earth or moon :
http://www.fourmilab.ch/earthview/expert.html
It is very intersting because you can choose many parameters (latitude, longitude, colors ...)
...
Maybe there are other ways, but this one works :
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s...
yep sorry, I forgot the interface, so it should be :
${wireless_bitrate wlan0} if wlan0 is your interface.
As wrote wnelson, you should check it with ifconfig i a terminal.
If the...
@akernan,
what is the output of
${wireless_bitrate} in a conky window if you write it in the TEXT section, like any other variable ?
You should post the whole script, I don't understand what you putted in quotes !
@akernan, there is an updated version of the bargraph script : http://wlourf.deviantart.com/gallery/28062900#/d2jj1rz (If you use it, just copy the bars_settings into the new script).
For the...
Hello;
If conky variables don't work, it's maybe because they return numbers with units. You can get off them using something like
name="",
arg=conky_parse("${wireless_bitrate}"):gsub("...
thanks to you both, I tried the copy [:] before but not in this way. That rocks !
Hi !
I have this little script :
table = [["a",1],["b",2]]
table.append(table[1])
table.append(table[2])
print table
table[0].append("aa")
table[1].append("bb")
Which ring is it ? is it in the script of this post : http://ubuntuforums.org/showpost.php?p=10594070&postcount=290
No idea for that, did you try to use the $voffest statement ?
It's just to show different configurations ! I use the red and green but the archive contains the 3 files .
By the way, with a WM like Openbox I can add a margin to my desk so the Conky is always...
Nice stuff, 42dorian !
Here's mine only-Lua Conky :
http://uppix.com/t-vertical_conky_i4d94e70e0009ea78.png
Files are on my dA page if someone ask ;-)
you're welcome clicksight :D
if you are interessted in Cairo and Lua, you can find some interesting links here :
http://conky-pitstop.wikidot.com/conky-links
with other links to get some...