Added picom module, fixed module loading

This commit is contained in:
2022-11-04 22:04:06 -07:00
parent e07ff152f4
commit 26ec943fef
3 changed files with 28 additions and 2 deletions

8
modules/picom/init.lua Normal file
View File

@ -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
}

18
modules/picom/picom.conf Normal file
View File

@ -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