1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-23 03:32:30 +00:00

Edit volume control keys: toggle mute

Mute is now toggled when pressing the mute key, instead of having a mute and an unmute key.
This commit is contained in:
likyng 2013-05-04 21:56:02 +03:00
parent a8c3f8efb1
commit bcb2c32406

View file

@ -748,12 +748,9 @@ globalkeys = awful.util.table.join(
vicious.force({ volumewidget })
end),
awful.key({ "Control" }, "m", function ()
awful.util.spawn("amixer set Master playback mute", false )
awful.util.spawn("amixer set Master playback toggle", false )
vicious.force({ volumewidget })
end),
awful.key({ "Control" }, "u", function ()
awful.util.spawn("amixer set Master playback unmute", false )
vicious.force({ volumewidget })
end),
awful.key({ altkey, "Control" }, "m",
function ()