Created system volume class

This commit is contained in:
2022-04-23 21:13:35 -07:00
parent fca8c4bbd5
commit c37ea71746
9 changed files with 301 additions and 295 deletions

View File

@ -1,7 +1,7 @@
return gears.table.join(
awful.key( {}, "XF86AudioRaiseVolume",
function ()
wrapper.volume.up()
vol:up()
end,
{
description = "Volume up",
@ -11,7 +11,7 @@ return gears.table.join(
awful.key( {}, "XF86AudioLowerVolume",
function ()
wrapper.volume.down()
vol:down()
end,
{
description = "Volume down",
@ -21,7 +21,7 @@ return gears.table.join(
awful.key( {}, "XF86AudioMute",
function ()
wrapper.volume.togglemute()
vol:togglemute()
end,
{
description = "Mute",