mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
22 lines
504 B
Nix
22 lines
504 B
Nix
{
|
|
services.picom = {
|
|
enable = true;
|
|
activeOpacity = 1;
|
|
fade = true;
|
|
fadeDelta = 1;
|
|
inactiveOpacity = 0.9;
|
|
shadow = true;
|
|
menuOpacity = 0.9;
|
|
shadowOpacity = 0.3;
|
|
opacityRules = [
|
|
# opacity-rule overrides both inactive and active opacity
|
|
"100:class_g = 'slock'" # don't want a transparent lock screen!
|
|
|
|
# video in browser tabs
|
|
# substring /regex match of title bar text
|
|
"100:name *?= 'Youtube'"
|
|
"100:name *?= 'slock'"
|
|
];
|
|
};
|
|
}
|