X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/c377f0c278d6840c4fbfab14cca8eecf2ccc67ee..00d3aaa4438509e32247d91b7becb5d30d72bf08:/.config/autorandr/postswitch?ds=sidebyside diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch new file mode 100755 index 0000000..a5cfab7 --- /dev/null +++ b/.config/autorandr/postswitch @@ -0,0 +1,12 @@ +#!/bin/sh + +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 +fi