add i3lock wrapper script for DPMS, fix config -> setup for lsp-null usage in nvim, and add vim fugitive
This commit is contained in:
parent
542efacba9
commit
4a4721dbcc
4 changed files with 21 additions and 2 deletions
home/bin
17
home/bin/i3lock
Normal file
17
home/bin/i3lock
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue