Skip to content

Instantly share code, notes, and snippets.

@mustaqimM
Created December 12, 2019 06:24
Show Gist options
  • Save mustaqimM/91d56c92b1eaa02cd602308afdf46f72 to your computer and use it in GitHub Desktop.
Save mustaqimM/91d56c92b1eaa02cd602308afdf46f72 to your computer and use it in GitHub Desktop.
# Shadow
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
log-level = "warn";
# log-file = "/path/to/your/log/file";
# shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
#"class_g = 'jetbrains-studio'",
"class_g = 'mpv'",
"class_g = 'kitty'",
"class_g = 'Firefox'",
"class_g = 'Emacs'",
"class_g = 'Nightly'",
#"class_g = 'qBittorrent'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_NET_WM_STATE@[0]:a = '_NET_WM_STATE@_MAXIMIZED_VERT'",
"_NET_WM_STATE@[0]:a = '_NET_WM_STATE@_MAXIMIZED_HORZ'",
"_GTK_FRAME_EXTENTS@:c"
];
# shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
# Opacity
#inactive-opacity = 0.8;
# active-opacity = 0.8;
frame-opacity = 0.9;
inactive-opacity-override = false;
inactive-dim = 0.2;
# inactive-dim-fixed = true;
#blur-background = true;
#blur-background-frame = true;
#blur-kern = "3x3box";
#blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
# blur-background-fixed = true;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"class_g = 'Nightly'",
"_GTK_FRAME_EXTENTS@:c"
];
opacity-rule = [ "100:class_g = 'UXTerm'",
"100:class_g = 'kitty'",
"100:class_g = 'alacritty'",
"100:class_g = 'rofi'",
"100:class_g = 'xst-256color'"];
# Fading
fading = true;
fade-delta = 5;
fade-in-step = 0.30;
fade-out-step = 0.30;
# no-fading-openclose = true;
# no-fading-destroyed-argb = true;
fade-exclude = [ ];
# Other
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
# use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [
"class_g = 'Cairo-clock'",
#"_NET_WM_NAME@:s = 'rofi'",
];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
# resize-damage = 1;
# GLX backend
# glx-no-stencil = true;
# glx-no-rebind-pixmap = true;
# xrender-sync-fence = true;
use-damage = true;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment