about summary refs log tree commit diff
path: root/.config/luastatus/alsa.lua
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2026-02-13 18:09:22 +0000
committervenomade <venomade@venomade.com>2026-02-13 18:09:22 +0000
commit4b8cc0b9a9d92636b5c5b84595e6302900f5dfce (patch)
treef0896b545f01e87c661af2dbf53f80337c06c05e /.config/luastatus/alsa.lua
parent0bd150185551b6d8835d022c15a5f6e832d51113 (diff)
ZK, NVIM and Misc
Add ZK config, template and script.
Add various Neovim plugins, and some markdown specific settings.
Add Neovim aliases.
Fix 100% in alsa luastatus plugin.
Diffstat (limited to '.config/luastatus/alsa.lua')
-rw-r--r--.config/luastatus/alsa.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/.config/luastatus/alsa.lua b/.config/luastatus/alsa.lua
index fb97270..fc0f13b 100644
--- a/.config/luastatus/alsa.lua
+++ b/.config/luastatus/alsa.lua
@@ -10,8 +10,18 @@ widget = {
         symbol = '󰕿'
       elseif percent >= 70 then
         symbol = '󰕾'
+        if percent >= 99.5 then
+          return {
+            full_text = string.format('%s %d%%', symbol, math.floor(0.5 + percent)),
+            color = '#b7bdf8'
+          }
+        end
       end
-      return { full_text = string.format('%s%3d%%', symbol, math.floor(0.5 + percent)), color = '#b7bdf8' }
+
+      return {
+        full_text = string.format('%s%3d%%', symbol, math.floor(0.5 + percent)),
+        color = '#b7bdf8'
+      }
     end
   end,
   event = [[