use more standard progressbar direction

This commit is contained in:
Artem Tarasov 2024-05-23 08:04:51 +02:00
parent 5a1cef608c
commit a69682b240
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ local function worker(user_args)
forced_height = 24,
forced_width = 24,
rounded_edge = true,
bg = "#ffffff11",
colors = {"#ffffff11", "black"},
paddings = 2,
}
@ -256,7 +256,7 @@ local function worker(user_args)
s = s .. "\n" .. meta.current_song .. " (" .. duration(meta.position) .. "/" .. duration(meta.length) .. ")"
metadata_widget:set_text(s)
progress_widget.value = meta.progress
progress_widget.values = {1.0 - meta.progress, meta.progress}
-- poor man's urldecode
local art_url = meta.art_url:gsub("file://", "/")