From 8e79fe371b21550cd90a25a97f0353564bf7c4c8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 17 Jun 2018 08:49:22 +0200 Subject: [PATCH 1/1] improved awesome integration --- .config/autorandr/postswitch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index a5cfab7..49325d0 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -3,10 +3,9 @@ DELAY=5 echo >&2 Executing autorandr postswitch after $DELAY seconds… -sleep $DELAY -xconfig if command -v awesome-client >/dev/null; then - echo >&2 Restarting awesome… - echo "awesome.restart()" | awesome-client + echo >&2 Informing the Awesome Window Manager of the new profile… + echo "handle_new_autorandr_profile(\"$AUTORANDR_CURRENT_PROFILE\")" | + awesome-client >&2 fi -- 2.39.5