Skip to content

Instantly share code, notes, and snippets.

@jwhendy
Created June 24, 2018 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwhendy/4fa4dcc2511ff2ec3c7860fa38af0b61 to your computer and use it in GitHub Desktop.
Save jwhendy/4fa4dcc2511ff2ec3c7860fa38af0b61 to your computer and use it in GitHub Desktop.
unredir-if-possible = false;
opacity-rule = ["70:class_g = 'URxvt'"];
fade-in-step = 0.02;
fade-out-step = 0.02;
fade-delta = 2;
inactive-dim = 0.1;
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-exclude = [
"name = 'Notification'",
# no shadow on compton
"override_redirect = 1 && !WM_CLASS@:s",
# no double shadows on Firefox's popup
"class_g = 'Firefox'",
"class_g = 'Conky'",
# no shadow on i3 frames
"class_g = 'i3-frame'",
# no shadow on stacked / tabbed windows
"_NET_WM_STATE@[0]:a = '_NET_WM_STATE@_MAXIMIZED_VERT'",
"_NET_WM_STATE@[0]:a = '_NET_WM_STATE@_MAXIMIZED_HORZ'",
"_GTK_FRAME_EXTENTS@:c"
];
mark-ovredir-focused = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment