X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/0a263fdb60c3f844983ff0d4cfbc03789e4ad02f..8e79fe371b21550cd90a25a97f0353564bf7c4c8:/.config/autorandr/postswitch?ds=inline 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