更改 awesome pulse 音量显示组件

This commit is contained in:
zedhugh committed 2025-02-25 04:29:30 +08:00
1 parent 8df4070ec1
commit 2419068ede
5 files changed
+108 -57

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ local volicon = wibox.widget.imagebox(theme.widget_vol)
theme.volume = lain.widget.pulse({
settings = function()
vlevel = volume_now.left .. "-" .. volume_now.right .. "%|" .. volume_now.device
if volume_now.muted == "yes" then
if volume_now.muted then
vlevel = vlevel .. " M"
end
widget:set_markup(markup.fontfg(theme.font, "#7493d2", vlevel))