X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/00d3aaa4438509e32247d91b7becb5d30d72bf08..HEAD:/.config/autorandr/postswitch?ds=inline diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index a5cfab7..fcabf46 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -3,10 +3,13 @@ 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 + +sleep $DELAY + +~/.bin/xconfig >&2