#!/bin/sh # # see i3lock(1) # # Aaron LI # 2017-10-03 # revert() { xset dpms 0 0 0 } trap revert SIGHUP SIGINT SIGTERM xset +dpms dpms 5 5 5 i3lock -n revert