From ddabcfcdbbe364431b270ebeeca92948d045bca8 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Wed, 3 Apr 2024 07:28:02 -0400 Subject: [PATCH] Disable / Re-Enabel Compositor After Switching Autorandr Configs - Eliminates the lagging issue where picom is started, display refresh rate is changed, and picom is not reloaded --- .config/autorandr/postswitch | 3 +++ README.org | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index 62487d7..0360cf6 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -6,6 +6,9 @@ then /home/sravan/.scripts/session.sh --restart & fi +# Disable & Re-Enable Compositor +/home/sravan/.scripts/picom.sh --on & + # NVIDIA Force Composition Pipeline /usr/bin/nvidia-force-comp-pipeline & diff --git a/README.org b/README.org index 49c68bf..3e0410d 100644 --- a/README.org +++ b/README.org @@ -3096,6 +3096,9 @@ then /home/sravan/.scripts/session.sh --restart & fi +# Disable & Re-Enable Compositor +/home/sravan/.scripts/picom.sh --on & + # NVIDIA Force Composition Pipeline /usr/bin/nvidia-force-comp-pipeline &