]> 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:

manipulate mixer relatively, not absolutely
authormartin f. krafft <madduck@madduck.net>
Mon, 8 Sep 2014 20:46:53 +0000 (22:46 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 8 Sep 2014 20:46:53 +0000 (22:46 +0200)
.config/awesome/rc.lua

index 4a28c5e7b95b47f13cad921389a841f4a431ba74..8cd9f1e7092d8265891fb909a6bc5cbc11f45baa 100644 (file)
@@ -456,10 +456,10 @@ cmdmodkey = "Mod3"
 
 -- xmms2 & sound
 globalkeys = awful.util.table.join(globalkeys,
-  awful.key({ cmdmodkey }, "Prior", function () awful.util.spawn("amixer set Master 2+") end),
-  awful.key({ cmdmodkey }, "Next", function () awful.util.spawn("amixer set Master 2-") end),
-  awful.key({ cmdmodkey }, "Up", function () awful.util.spawn("amixer set PCM 2+") end),
-  awful.key({ cmdmodkey }, "Down", function () awful.util.spawn("amixer set PCM 2-") end),
+  awful.key({ cmdmodkey }, "Prior", function () awful.util.spawn("amixer set Master 2%+") end),
+  awful.key({ cmdmodkey }, "Next", function () awful.util.spawn("amixer set Master 2%-") end),
+  awful.key({ cmdmodkey }, "Up", function () awful.util.spawn("amixer set PCM 2%+") end),
+  awful.key({ cmdmodkey }, "Down", function () awful.util.spawn("amixer set PCM 2%-") end),
   awful.key({ cmdmodkey }, "Home", function () awful.util.spawn("amixer set Mic toggle") end),
   awful.key({ cmdmodkey }, "End", function () awful.util.spawn("amixer set Master toggle") end),
   awful.key({ cmdmodkey }, "Left", function () awful.util.spawn("nyxmms2 prev") end),