awesomewm/modules/volume/init.lua

17 lines
380 B
Lua
Raw Normal View History

2022-07-16 15:44:14 -07:00
local volume = require("modules.volume.util")
local widget = require("modules.volume.widget")
return {
widgets = {
volume = 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
}