add i3lock wrapper script for DPMS, fix config -> setup for lsp-null usage in nvim, and add vim fugitive

This commit is contained in:
Tony Blyler 2021-12-16 09:32:48 -05:00
parent 542efacba9
commit 4a4721dbcc
4 changed files with 21 additions and 2 deletions
home/bin

17
home/bin/i3lock Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
set -euo pipefail
revert() {
# disable DPMS
xset dpms 0 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