Added volume widget

This commit is contained in:
2022-07-16 15:44:14 -07:00
parent 840f084db8
commit 8b3a1ac5a0
9 changed files with 49 additions and 42 deletions

View File

@ -1,7 +1,6 @@
return {
keys = gears.table.join(
require("binds.system.backlight"),
require("binds.system.volume"),
require("binds.system.system"),
require("binds.window.client"),

View File

@ -1,31 +0,0 @@
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"
}
)
)