From eb5cedabf8bd121f23ba79258b568afcd3183837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 21 Mar 2023 19:14:32 +0100 Subject: [PATCH] fix(picom): do not make lockscreen transparent --- configs/picom.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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'" + ]; }; }