Added picom module, fixed module loading
This commit is contained in:
8
modules/picom/init.lua
Normal file
8
modules/picom/init.lua
Normal 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
18
modules/picom/picom.conf
Normal 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
|
||||
|
Reference in New Issue
Block a user