remove duplicates from PATH in .zshrc and fix infinite recursive i3lock call

This commit is contained in:
Tony Blyler 2022-04-26 10:44:37 -04:00
parent 441ad802e7
commit 2095d3cb00
3 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,17 @@
#!/bin/bash
set -euo pipefail
revert() {
# disable DPMS
xset dpms 0 0 0
}
# revert DPMS on script exit
trap revert EXIT
# turn off screen after 5 seconds
xset +dpms dpms 5 5 5
i3lock --nofork -c 000000
revert