From 72bad1b01b838a0892efafa99c4abf76e5364bb6 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 3 Sep 2022 15:16:50 +0200 Subject: [PATCH] Switch to picom --- .config/picom.conf | 20 ++++++++++++++++++++ .xsessionrc | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .config/picom.conf diff --git a/.config/picom.conf b/.config/picom.conf new file mode 100644 index 0000000..99fb488 --- /dev/null +++ b/.config/picom.conf @@ -0,0 +1,20 @@ +# basic configuration +backend = "glx"; +vsync = true; +glx-no-stencil = true; +panting-on-overlay = true; + +opengl-swc = true; + +# Fading +fading = true; +fade-in-step=0.05; +fade-out-step=0.05; + +# Corners +corner-radius = 15; +rounded-corners-exclude = [ + "class_g = 'dwm'", + "class_g = 'Dunst'" +] + diff --git a/.xsessionrc b/.xsessionrc index d3689b7..e0f4924 100755 --- a/.xsessionrc +++ b/.xsessionrc @@ -5,7 +5,7 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then export AWT_TOOLKIT=MToolkit wmname LG3D - compton & + picom -b redshift & dwmstatus & dunst &