1
0
Fork 0
This commit is contained in:
Luca Bilke 2022-08-17 17:15:46 +02:00
commit 8d3323c4ee
2 changed files with 52 additions and 1 deletions

51
.config/picom/picom.conf Normal file
View File

@ -0,0 +1,51 @@
# Backend
backend = "glx";
glx-no-stencil = true;
# Shadow
shadow = true;
shadow-radius = 50;
shadow-opacity = 1;
shadow-offset-x = -50;
shadow-offset-y = -50;
shadow-exclude = [
"! focused",
"name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
];
# Opacity
inactive-opacity = 0.75;
inactive-dim = 0.1;
opacity-rule = [];
# Blur
blur-method = "dual_kawase";
blur-strength = 10;
blur-background-exclude = [
"name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Window type settings
wintypes:
{
dnd = { shadow = false; blur-background = false };
dock = { clip-shadow-above = true; }
menu = { shadow = false, blur-background = false }
utility = { shadow = false, blur-background = false }
};
# Other
mark-wmwin-focused = false;
mark-ovredir-focused = false;
use-ewmh-active-win = true;
detect-client-opacity = true;
vsync = true;
unredir-if-possible = true;
focus-exclude = [];
detect-transient = true;
Footer

View File

@ -6,7 +6,7 @@ setbg & # set the background with the `setbg` script
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
remaps & # run the remaps script, switching caps/esc and more; check it for more info
autostart="mpd xcompmgr dunst unclutter pipewire"
autostart="mpd picom dunst unclutter pipewire"
for program in $autostart; do
pidof -s "$program" || setsid -f "$program"