Skip to content

Instantly share code, notes, and snippets.

@brunomiguel
Created January 21, 2022 09:55
Show Gist options
  • Save brunomiguel/6c77708813f457f48ea1e492f4c74d6f to your computer and use it in GitHub Desktop.
Save brunomiguel/6c77708813f457f48ea1e492f4c74d6f to your computer and use it in GitHub Desktop.
picom-ibhagwan-git config
# ░█▀█░▀█▀░█▀▀░█▀█░█▄█░░░░█▀▀░█▀█░█▀█░█▀▀
# ░█▀▀░░█░░█░░░█░█░█░█░░░░█░░░█░█░█░█░█▀▀
# ░▀░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀░░▀▀▀░▀▀▀░▀░▀░▀░░
#
# X compositor configuration
# ░█▀▀░█░█░█▀█░█▀▄░█▀█░█░█
# ░▀▀█░█▀█░█▀█░█░█░█░█░█▄█
# ░▀▀▀░▀░▀░▀░▀░▀▀░░▀▀▀░▀░▀
shadow = true;
shadow-radius = 32;
shadow-opacity = 0.5;
shadow-offset-x = -32;
shadow-offset-y = -32;
# shadow-red = 0
# shadow-green = 0
# shadow-blue = 0
shadow-color = "#000000";
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"class_g = 'slop'",
"class_g = 'Firefox' && argb",
"class_g = 'Rofi'",
"class_g = 'i3bar'",
"class_g *= 'i3bar'",
"name *= 'i3bar'",
"class_g ?= 'i3bar'",
"class_g *= 'i3'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
# ░█▀▀░█▀█░█▀▄░▀█▀░█▀█░█▀▀
# ░█▀▀░█▀█░█░█░░█░░█░█░█░█
# ░▀░░░▀░▀░▀▀░░▀▀▀░▀░▀░▀▀▀
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-delta = 3;
fade-exclude = [];
no-fading-openclose = false;
no-fading-destroyed-argb = true;
# ░█▀█░█▀█░█▀█░█▀▀░▀█▀░▀█▀░█░█
# ░█░█░█▀▀░█▀█░█░░░░█░░░█░░░█░
# ░▀▀▀░▀░░░▀░▀░▀▀▀░▀▀▀░░▀░░░▀░
inactive-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
active-opacity = 1.0;
inactive-dim = 0.0;
focus-exclude = [
"class_g = 'Cairo-clock'",
"class_g ?= 'rofi'",
"class_g ?= 'slop'",
"class_g ?= 'Steam'"
];
# inactive-dim-fixed = 1.0;
opacity-rule = [
"90:class_g = 'URxvt'",
"80:class_g = 'UXTerm'",
"80:class_g = 'XTerm'"
]
# ░█▀▄░█░░░█░█░█▀▄░█▀▄░▀█▀░█▀█░█▀▀
# ░█▀▄░█░░░█░█░█▀▄░█▀▄░░█░░█░█░█░█
# ░▀▀░░▀▀▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░▀▀▀
blur: {
method = "dual_kawase";
strength = 10.0;
deviation = 1.0;
kernel = "11x11gaussian";
}
blur-background = false;
blur-background-frame = true;
blur-background-fixed = true;
# blur-kern = "3x3box";
blur-background-exclude = [
"class_g = 'slop'",
"class_g = 'Firefox' && argb",
"name = 'rofi - Global Search'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# Corners #
#################################
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
# corner-radius = 0
corner-radius = 6;
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"name *= 'tint2'",
"name *= 'jgmenu'",
"name *= 'screenkey'",
"name *= 'polybar'",
"window_type = 'dock'",
"window_type = 'desktop'",
"class_g = 'i3bar'",
"class_g *= 'i3bar'",
"name *= 'i3bar'",
"class_g ?= 'i3bar'",
"class_g *= 'i3'"
];
# ░█▀▀░█▀▀░█▀█░█▀▀░█▀▄░█▀█░█░░░░░█▀▀░█▀▀░▀█▀░▀█▀░▀█▀░█▀█░█▀▀░█▀▀
# ░█░█░█▀▀░█░█░█▀▀░█▀▄░█▀█░█░░░░░▀▀█░█▀▀░░█░░░█░░░█░░█░█░█░█░▀▀█
# ░▀▀▀░▀▀▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░░░▀▀▀░▀▀▀░░▀░░░▀░░▀▀▀░▀░▀░▀▀▀░▀▀▀
daemon = false;
backend = "glx";
vsync = true;
dbus = false;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
# use-ewmh-active-win = true;
# unredir-if-possible = false;
# unredir-if-possible-delay = 0;
unredir-if-possible-exclude = [];
detect-transient = true;
detect-client-leader = true;
resize-damage = 1;
invert-color-include = [];
glx-no-stencil = true;
# glx-no-rebind-pixmap = false;
use-damage = true;
# xrender-sync-fence = true;
# glx-fshader-win = "";
# force-win-blend = false;
# no-ewmh-fullscreen = false;
# max-brightness = 1.0;
transparent-clipping = false;
#log-level = "warn";
#log-file = "~/.cache/picom-log.log";
show-all-xerrors = true;
# write-pid-path = '/path/to/your/mom';
wintypes: {
tooltip = { fade = true; shadow = false; focus = false; };
normal = { shadow = true; };
dock = { shadow = false; };
dnd = { shadow = false; };
popup_menu = { shadow = true; focus = false; };
dropdown_menu = { shadow = true; focus = false; };
above = { shadow = true; };
splash = { shadow = false; };
utility = { focus = false; shadow = false; blur-background = false; };
notification = { shadow = true; };
desktop = { shadow = false; blur-background = false; };
menu = { focus = false; };
dialog = { shadow = true; };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment