Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions UpdatingImage/updatingimage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ barWidget.setUpdateInterval(updateInterval)
local imageSet = false

function update()
if not commandLine or commandLine == "" then
if not imageSet then
barWidget.setImage(imagePath, true, imageWidth, imageHeight)
imageSet = true
end
return
end
Comment on lines +80 to +86
noctalia.runAsync(commandLine, function(result)
if result.exitCode == 0 then
if not imageSet then
Expand Down