Super + Up increases volume, Super + Down decreases it
This commit is contained in:
parent
83d83edc0b
commit
ecd3439efb
8
rc.lua
8
rc.lua
|
@ -420,6 +420,14 @@ globalkeys = awful.util.table.join(
|
||||||
awful.util.spawn("amixer set Master 3%-", false)
|
awful.util.spawn("amixer set Master 3%-", false)
|
||||||
end, {description = "decrease the volume by 3%", group="Fn Keys"}),
|
end, {description = "decrease the volume by 3%", group="Fn Keys"}),
|
||||||
|
|
||||||
|
awful.key({modkey}, "Up", function()
|
||||||
|
awful.util.spawn("amixer sset Master 3%+", false)
|
||||||
|
end, {description = "increase the volume by 3%", group="Sound controls"}),
|
||||||
|
|
||||||
|
awful.key({modkey}, "Down", function()
|
||||||
|
awful.util.spawn("amixer sset Master 3%-", false)
|
||||||
|
end, {description = "decrease the volume by 3%", group="Sound controls"}),
|
||||||
|
|
||||||
awful.key({ }, "XF86AudioMute", function()
|
awful.key({ }, "XF86AudioMute", function()
|
||||||
awful.util.spawn("amixer set Master toggle", false)
|
awful.util.spawn("amixer set Master toggle", false)
|
||||||
end, {description = "mute sound", group="Fn Keys"}),
|
end, {description = "mute sound", group="Fn Keys"}),
|
||||||
|
|
Loading…
Reference in New Issue