]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

alsabar: failsafe for ALSA configs not starting from init
authorcopycat-killer <dada@archlinux.info>
Thu, 29 Sep 2016 08:48:27 +0000 (10:48 +0200)
committercopycat-killer <dada@archlinux.info>
Thu, 29 Sep 2016 08:48:27 +0000 (10:48 +0200)
widgets/alsabar.lua
wiki

index b7c66b7798365daf1e89ca63dab0f922467da3a1..eec3428f175124af6bce56a721b9681a9762dc98 100644 (file)
@@ -135,7 +135,7 @@ local function worker(args)
 
         if (volu and tonumber(volu) ~= alsabar._current_level) or (mute and string.match(mute, "on") ~= alsabar._muted)
         then
 
         if (volu and tonumber(volu) ~= alsabar._current_level) or (mute and string.match(mute, "on") ~= alsabar._muted)
         then
-            alsabar._current_level = tonumber(volu)
+            alsabar._current_level = tonumber(volu) or alsabar._current_level
             alsabar.bar:set_value(alsabar._current_level / 100)
             if not mute and tonumber(volu) == 0 or mute == "off"
             then
             alsabar.bar:set_value(alsabar._current_level / 100)
             if not mute and tonumber(volu) == 0 or mute == "off"
             then
diff --git a/wiki b/wiki
index 450c0bbf52d9ff9c3f13b634ff666dd352784498..4521f127d306b74538d7cde445796978aa1853cf 160000 (submodule)
--- a/wiki
+++ b/wiki
@@ -1 +1 @@
-Subproject commit 450c0bbf52d9ff9c3f13b634ff666dd352784498
+Subproject commit 4521f127d306b74538d7cde445796978aa1853cf