From: martin f. krafft Date: Sun, 17 Jun 2018 06:49:22 +0000 (+0200) Subject: improved awesome integration X-Git-Url: https://git.madduck.net/etc/xsession.git/commitdiff_plain/8e79fe371b21550cd90a25a97f0353564bf7c4c8 improved awesome integration --- 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