awesomewm/modules/volume/init.lua

20 lines
459 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")
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
volume.commands:unmute()
-- Update volume widget at start
volume.commands:get(widget.update)
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
}