awesomewm/modules/volume/init.lua

15 lines
363 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 {
2022-07-16 19:12:29 -07:00
widget = require("modules.volume.widget").widget,
2022-07-16 15:44:14 -07:00
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
}