diff --git a/configs/picom.nix b/configs/picom.nix index e28b586..66ffd9b 100644 --- a/configs/picom.nix +++ b/configs/picom.nix @@ -8,5 +8,14 @@ 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'" + ]; }; }