From bc854d806a3bb898473f68ebef81037c0f2d259f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 11 Apr 2025 08:39:08 +0200 Subject: [PATCH] Delay before informing AwesomeWM --- .config/autorandr/postswitch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index fcabf46..dc5e763 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -4,12 +4,12 @@ DELAY=5 echo >&2 Executing autorandr postswitch after $DELAY seconds… +sleep $DELAY + if command -v awesome-client >/dev/null; then echo >&2 Informing the Awesome Window Manager of the new profile… echo "handle_new_autorandr_profile(\"$AUTORANDR_CURRENT_PROFILE\")" | awesome-client >&2 fi -sleep $DELAY - ~/.bin/xconfig >&2 -- 2.39.5