Skip to content

Instantly share code, notes, and snippets.

@ericek111
Created March 22, 2024 09:55
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 ericek111/2d2abc3880145de8da69d4ed199ad8ab to your computer and use it in GitHub Desktop.
Save ericek111/2d2abc3880145de8da69d4ed199ad8ab to your computer and use it in GitHub Desktop.
My picom config file
# https://gist.github.com/gaurav712/42549678b778db12fda5764f7c0757ad
backend = "glx";
# backend = "xr_glx_hybrid"; # Better performance on my 6200U ThinkPad T470s.
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
glx-copy-from-front = false;
glx-use-copysubbuffermesa = true;
vsync = false;
unredir-if-possible = true; # true for game pefromance
detect-rounded-corners = true;
detect-client-opacity = true;
detect-transient = true;
detect-client-leader = true;
shadow = true;
shadow-radius = 30;
shadow-offset-x = -30;
shadow-offset-y = -30;
shadow-opacity = 0.5;
inactive-opacity = 1;
inactive-dim = 0;
fading = true
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-delta = 10
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"class_g = 'yakuake'",
"class_g = 'lattedock'",
"_GTK_FRAME_EXTENTS@:c",
"QTILE_INTERNAL@:c",
"name = 'cpt_frame_xcb_window'",
"class_g ?= 'zoom'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_NET_WM_OPAQUE_REGION@:c",
"class_g = 'Thunderbird' && argb",
"window_type = 'dock'",
"x = 0 && y = 0 && override_redirect = true",
"x = 1920 && y = 0 && override_redirect = true",
];
wintypes:
{
tooltip = { fade = true; shadow = false; pacity = 0.9; focus = true; full-shadow = false; };
dropdown_menu = { shadow = false; };
popup_menu = { shadow = false; };
utility = { shadow = false; };
};
fading = false;
fade-delta = 4;
fade-in-step = 0.2;
fade-out-step = 0.04;
fade-exclude = [ ];
# blur-background = false;
# blur-background-frame = false;
# blur-background-fixed = false;
#blur-kern = "3x3box";
blur-method = "dual_kawase";
blur-strength = 3;
opacity-rule = [
"90:class_g = 'URxvt' && focused",
"60:class_g = 'URxvt' && !focused",
"95:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
"0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
];
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"x = 0 && y = 0 && override_redirect = true",
"x = 0 && y = 0 && override_redirect = true",
"x = 1920 && y = 0 && override_redirect = true",
# "_GTK_FRAME_EXTENTS@:c"
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment