awesomewm/binds/system/volume.lua

32 lines
433 B
Lua
Raw Normal View History

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