aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-29 14:06:12 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-29 14:06:12 +0200
commit3b326e1463203dcf7fb0d223d2c06e46c5003577 (patch)
tree14c7ec3a778fdca58427a4c31c1f49d81ed52a65
parent933f9d27dbc840ae3511ca841b0e7b7f6f2ed283 (diff)
fix picom high cpu usage
-rw-r--r--.config/picom.conf##template9
1 files changed, 6 insertions, 3 deletions
diff --git a/.config/picom.conf##template b/.config/picom.conf##template
index a45a6c3..a6c27c6 100644
--- a/.config/picom.conf##template
+++ b/.config/picom.conf##template
@@ -1,7 +1,4 @@
-backend = "glx";
-shadow = true;
{% if yadm.hostname == "thoncc" %}
-vsync = true;
shadow-radius = 24;
shadow-opacity = 0.15;
shadow-offset-y = -24;
@@ -11,8 +8,14 @@ shadow-radius = 48;
shadow-opacity = 0.3;
shadow-offset-y = -48;
shadow-offset-x = -48;
+
+# do not touch, shit finally works w/ gpu
+backend = "xrender";
+vsync = true;
{% endif %}
+
corner-radius = 8;
+shadow = true;
fade-in-step = 0.3;
fade-out-step = 0.18;