Added picom module, fixed module loading
parent
e07ff152f4
commit
26ec943fef
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
init = function()
|
||||
local conf = conf_dir .. "/modules/picom/picom.conf"
|
||||
|
||||
awful.spawn("killall picom")
|
||||
awful.spawn("picom -b --conf \"" .. conf .. "\"")
|
||||
end
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
shadow-radius = 0
|
||||
shadow-opacity = 0
|
||||
|
||||
// Enable fading initially.
|
||||
// Finer config is in fade-exclude.
|
||||
fading = true
|
||||
fade-in-step = 0.04
|
||||
fade-out-step = 0.03
|
||||
fade-delta = 10
|
||||
|
||||
fade-exclude = [
|
||||
"class_g != 'awesome'"
|
||||
]
|
||||
|
||||
inactive-opacity = 1
|
||||
active-opacity = 1
|
||||
inactive-dim = 0
|
||||
|
4
rc.lua
4
rc.lua
|
@ -65,7 +65,7 @@ for k, v in pairs(config) do
|
|||
elseif (config[k].enabled == false) then
|
||||
goto skip_module
|
||||
elseif (config[k].enabled == nil) then
|
||||
debug_message("Module " .. k .. " is not explicitly enabled")
|
||||
debug_message("Module " .. k .. " is not enabled, skipping.")
|
||||
goto skip_module
|
||||
end
|
||||
|
||||
|
@ -83,7 +83,7 @@ for k, v in pairs(config) do
|
|||
end
|
||||
|
||||
-- Run all module init methods
|
||||
for _, mod in ipairs(modules) do
|
||||
for _, mod in pairs(modules) do
|
||||
if (mod["init"] ~= nil) then
|
||||
mod["init"]()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue