Giter Site home page Giter Site logo

Comments (5)

plikhari avatar plikhari commented on June 12, 2024

HI

I am not a developer, but I, sometimes answer issues related to LUA.

In this case, Lua cannot find the script - try other ways to state the path. A relative path also works, but perhaps using ~/.conky does not. Try full path like /home/username/.conky/bargraph_small.lua.1080p-dpw1

I am the author of conkywx ( a conky weather app on Arch Linux ) - a conky app that is lua heavy (yes, there is a good sprinkle of Perl as well ) and works without issues.

from conky.

mtompkins avatar mtompkins commented on June 12, 2024

HI

I am not a developer, but I, sometimes answer issues related to LUA.

In this case, Lua cannot find the script - try other ways to state the path. A relative path also works, but perhaps using ~/.conky does not. Try full path like /home/username/.conky/bargraph_small.lua.1080p-dpw1

I am the author of conkywx ( a conky weather app on Arch Linux ) - a conky app that is lua heavy (yes, there is a good sprinkle of Perl as well ) and works without issues.

Thanks @plikhari ... when I tried $HOME I didn't think to try a fully hardcoded path. Indeed it works.
I do still consider this a bug, however, but appreciate your share!

from conky.

plikhari avatar plikhari commented on June 12, 2024

Thanks @plikhari ... when I tried $HOME I didn't think to try a fully hardcoded path. Indeed it works. I do still consider this a bug, however, but appreciate your share!

I do not use the conventional path .conky etc, but conky looks at the root from where it is initiated / started - so I land up using ./lib/which ever script - this never fails.

-------------------------------------------------------------
-- Load lua component of conkywx
-------------------------------------------------------------`
lua_load = './lib/conkywx.lua',
lua_startup_hook = 'startup',
};

conky.text = [[
${lua main -n wxrings -d ./examples/hartley-lua-data.lua }
# ${execpi 3600 ${template0} -c ${template1} -t ${template2}}
]];

`

Here is an example - I have moved away from using conky functions to using pure lua - but you can see the original comment to trigger the non Lua conky.

Here is a link to the latest test conkywx build - I intend updating the AUR soon, but let's see hmmmm

from conky.

mtompkins avatar mtompkins commented on June 12, 2024

I made this exact change :)

from conky.

brndnmtthws avatar brndnmtthws commented on June 12, 2024

This should be fixed with #1779.

from conky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.