From a7e088592133a48300f1123e12e28599c2cc4563 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Tue, 28 Sep 2021 01:51:02 +0300 Subject: [PATCH] add some picom opacity rules --- profiles/workspace/picom.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/profiles/workspace/picom.nix b/profiles/workspace/picom.nix index d5afb65..36aab98 100644 --- a/profiles/workspace/picom.nix +++ b/profiles/workspace/picom.nix @@ -4,8 +4,8 @@ services.picom = { enable = true; backend = "glx"; - activeOpacity = "0.95"; - inactiveOpacity = "0.95"; + activeOpacity = "0.98"; + inactiveOpacity = "0.98"; opacityRule = [ # Disable opacity for fullscreen window "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'" @@ -24,8 +24,16 @@ "100:class_g = 'mpv'" "100:class_g = 'explorer.exe'" "100:class_g = '.scrcpy-wrapped'" - "90:class_g = 'URxvt' && focused" - "70:class_g = 'URxvt' && !focused" + "100:class_g = 'Minecraft* 1.17.1'" + "100:class_g = 'steam_app_220200'" + "100:class_g = 'Picture in picture'" + "100:class_g = 'Pinta' && focused" + "95:class_g = 'URxvt' && focused" + "95:class_g = 'alacritty' && focused" + "95:class_g = 'kitty' && focused" + "85:class_g = 'URxvt' && !focused" + "85:class_g = 'alacritty' && !focused" + "85:class_g = 'kitty' && !focused" ]; blur = true; blurExclude = [