awesomewm/modules/volume/init.lua

15 lines
363 B
Lua

local volume = require("modules.volume.util")
local widget = require("modules.volume.widget")
return {
widget = require("modules.volume.widget").widget,
keybinds = require("modules.volume.keybinds"),
init = function ()
-- Make sure volume is unmuted
volume.commands:unmute()
-- Update volume widget at start
volume.commands:get(widget.update)
end
}