awesomewm/modules/volume/init.lua

18 lines
371 B
Lua
Raw Normal View History

2022-07-16 15:44:14 -07:00
local volume = require("modules.volume.util")
2022-11-05 08:12:13 -07:00
local popup = require("modules.volume.popup")
2022-07-16 15:44:14 -07:00
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
2022-11-05 09:47:15 -07:00
-- Implicitly updates widgets
volume.commands.unmute()
2022-11-05 08:12:13 -07:00
end,
for_each_screen = function (s)
popup(s)
2022-07-16 15:44:14 -07:00
end
}