From 05ba6544e2548cda40b5b39938f66d168bf8fb0b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 16 Mar 2023 16:54:55 -0700 Subject: [PATCH] Try to fix transparency of xfreerdp --- oni/home/config/rincewind.scm | 8 +++++--- oni/home/services/picom.scm | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/oni/home/config/rincewind.scm b/oni/home/config/rincewind.scm index 4bafc55..c5cf287 100644 --- a/oni/home/config/rincewind.scm +++ b/oni/home/config/rincewind.scm @@ -117,7 +117,7 @@ '("name = 'mowedline'" "class_g = 'trayer'" "bounding_shaped" - "name = 'xfreerdp'")) + "class_g = 'xfreerdp'")) (wintypes '((dnd (shadow . #f)) (dock (shadow . #f)))) @@ -134,11 +134,13 @@ (blur-background-fixed #t) (blur-background-exclude '("name *= 'rofi'" - "name = 'xfreerdp'")) + "class_g = 'xfreerdp'")) (focus-exclude '("name *= 'rofi'" - "name = 'xfreerdp'")) + "class_g = 'xfreerdp'")) (fading #t) + (fade-exclude + `("class_g = 'xfreerdp'")) (fade-in-step 3) (fade-out-step 3)))) diff --git a/oni/home/services/picom.scm b/oni/home/services/picom.scm index 1be4eb0..28dde71 100644 --- a/oni/home/services/picom.scm +++ b/oni/home/services/picom.scm @@ -146,6 +146,9 @@ (fading (boolean #f) "Fade windows in/out when opening/closing and when opacity changes, unless no-fading-openclose is set") + (fade-exclude + (list '()) + "Specify a list of conditions of windows that should not be faded.") (fade-in-step (percentage 2.8) "Opacity change between steps while fading in")