Added a table hack

master
Mark 2022-04-24 08:32:58 -07:00
parent b7e3263d85
commit 0d09d5315f
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 8 additions and 3 deletions

4
rc.lua
View File

@ -35,8 +35,8 @@ wrapper.ibus.set(1)
beautiful.init(require("theme")) beautiful.init(require("theme"))
-- Initialize volume controller -- Initialize volume controller
volume = require("volume") Volume = require("volume")
vol = volume:new{pa_sink = conf.pamixer_sink} vol = Volume{pa_sink = conf.pamixer_sink}
desktop = require("desktop") desktop = require("desktop")

View File

@ -1,2 +1,7 @@
local P = require("volume/volume") local P = require("volume/volume")
return P
local F = function(args)
return P:new(args)
end
return F