awesomewm/binds/system/volume.lua

32 lines
466 B
Lua
Raw Normal View History

2021-08-01 07:24:26 -07:00
return gears.table.join(
awful.key( {}, "XF86AudioRaiseVolume",
function ()
wrapper.volume.up()
end,
{
description = "Volume up",
group = "System"
}
),
awful.key( {}, "XF86AudioLowerVolume",
function ()
wrapper.volume.down()
end,
{
description = "Volume down",
group = "System"
}
),
awful.key( {}, "XF86AudioMute",
function ()
wrapper.volume.togglemute()
end,
{
description = "Mute",
group = "System"
}
)
)