aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/eww/bar/system-stats.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/eww/bar/system-stats.lua')
-rw-r--r--modules/desktop/eww/bar/system-stats.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/desktop/eww/bar/system-stats.lua b/modules/desktop/eww/bar/system-stats.lua
index b651e2d..6085f39 100644
--- a/modules/desktop/eww/bar/system-stats.lua
+++ b/modules/desktop/eww/bar/system-stats.lua
@@ -483,7 +483,7 @@ local function get_sound_state()
if pout then
local num = tonumber(pout:match("^(%-?%d+)"))
if num then
- percent = math.max(0, math.min(100, num))
+ percent = math.max(0, num)
end
end