From e80b9845de6aed3d6dc053339585d9fb04eb5c16 Mon Sep 17 00:00:00 2001 From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com> Date: Fri, 7 Jan 2022 12:00:21 +0100 Subject: [PATCH] Update picom.conf --- config/picom/picom.conf | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/config/picom/picom.conf b/config/picom/picom.conf index dec66b2..871d1e7 100644 --- a/config/picom/picom.conf +++ b/config/picom/picom.conf @@ -35,15 +35,26 @@ inactive-opacity = 1.0; # like `50:name *= "Firefox"`. picom-trans is recommended over this. # Note we don't make any guarantee about possible conflicts with other # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. -# example: -# opacity-rule = [ "93:class_g = 'kitty' && focused" ]; -# opacity-rule = [ "75:class_g = 'kitty' && !focused" ]; +# examples: +# opacity-rule = [ "93:class_g = 'kitty'" ]; +# +# More than one rule must be in several lines... +# and there is also whether there is Focused or Unfocused. +# +#opacity-rule = [ +# "95:class_g = 'kitty' && focused", +# "75:class_g = 'kitty' && !focused", +# "95:class_g = 'alacritty' && focused", +# "75:class_g = 'alacritty' && !focused" +#]; # -opacity-rule = [ "93:class_g = 'kitty' && focused" ]; -#opacity-rule = [ "75:class_g = 'kitty' && !focused" ]; -#opacity-rule = [ "93:class_g = 'alacritty' && focused" ]; -opacity-rule = [ "75:class_g = 'alacritty' && !focused" ]; +opacity-rule = [ + "95:class_g = 'kitty' && focused", + "75:class_g = 'kitty' && !focused", + "95:class_g = 'alacritty' && focused", + "75:class_g = 'alacritty' && !focused" +]; ################################# # Shadows #