making nice only work on desktop for now

This commit is contained in:
Chris Cochrun 2020-09-16 06:36:21 -05:00
parent 697f504169
commit 93b95448cb
6 changed files with 194 additions and 20 deletions

View file

@ -159,7 +159,11 @@ frame-opacity = 0.7;
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
<<<<<<< HEAD
active-opacity = 0.8;
=======
active-opacity = 0.85;
>>>>>>> 05f8e08... making nice only work on desktop for now
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@ -196,8 +200,12 @@ opacity-rule = [
"70:class_g = 'TelegramDesktop'",
"90:class_g = 'Joplin'",
"100:class_g = 'firefox'",
<<<<<<< HEAD
"100:class_g = 'dolphin'",
"100:class_g = 'mpv'",
=======
"100:class_g = 'soffice'",
>>>>>>> 05f8e08... making nice only work on desktop for now
"100:class_g = 'libreoffice'",
"100:class_g = 'Thunderbird'"
];
@ -262,9 +270,14 @@ blur-background-exclude = [
# when taking selection screenshot with `main`
# https://github.com/naelstrof/maim/issues/130
"class_g = 'slop'",
<<<<<<< HEAD
"_GTK_FRAME_EXTENTS@:c",
# "window_type = '_NET_WM_WINDOW_TYPE_NOTIFICATION'"
"window_type = 'notification'"
=======
"class_g = 'soffice'",
"_GTK_FRAME_EXTENTS@:c"
>>>>>>> 05f8e08... making nice only work on desktop for now
];
@ -330,7 +343,7 @@ refresh-rate = 0
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
use-ewmh-active-win = true
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering