2021-08-01 07:24:26 -07:00
|
|
|
return gears.table.join(
|
|
|
|
awful.key( {}, "XF86AudioRaiseVolume",
|
|
|
|
function ()
|
2022-04-24 19:02:47 -07:00
|
|
|
vol:volume_up()
|
2021-08-01 07:24:26 -07:00
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "Volume up",
|
|
|
|
group = "System"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
|
|
|
awful.key( {}, "XF86AudioLowerVolume",
|
|
|
|
function ()
|
2022-04-24 19:02:47 -07:00
|
|
|
vol:volume_down()
|
2021-08-01 07:24:26 -07:00
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "Volume down",
|
|
|
|
group = "System"
|
|
|
|
}
|
|
|
|
),
|
|
|
|
|
|
|
|
awful.key( {}, "XF86AudioMute",
|
|
|
|
function ()
|
2022-04-24 19:02:47 -07:00
|
|
|
vol:toggle_mute()
|
2021-08-01 07:24:26 -07:00
|
|
|
end,
|
|
|
|
{
|
|
|
|
description = "Mute",
|
|
|
|
group = "System"
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|