From: martin f. krafft Date: Fri, 11 Apr 2025 06:39:08 +0000 (+0200) Subject: Delay before informing AwesomeWM X-Git-Url: https://git.madduck.net/etc/xsession.git/commitdiff_plain/bc854d806a3bb898473f68ebef81037c0f2d259f Delay before informing AwesomeWM --- 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