You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a simple color picker for Linux. It is written in Lua but uses Python to get the pixel color. Sometimes it displays some strange messages. They don't break the script, but I just don't want to see them. Looks like there are problems with luash temp files ...
@winterwolf I have a PR #15 which contains general improvements, and a rewrite of the command execution part. The upside is that you don't need the temporary file, the downside is that luaposix needs to be installed. At least on all the systems that I work with, lua and luaposix are installed.
By the way -- when you see those errors are you running sh.command in rapid succession? If so, then this might be because of FS latency. If you don't want to use the posix approach, then replacing /tmp/shluainput with os.tmpname() should do the trick.
I made a simple color picker for Linux. It is written in Lua but uses Python to get the pixel color. Sometimes it displays some strange messages. They don't break the script, but I just don't want to see them. Looks like there are problems with luash temp files ...
getpixelcolor.py
colorpicker.lua
output
The text was updated successfully, but these errors were encountered: