Locking things
This commit is contained in:
parent
b536af829e
commit
f14cbe7f2c
3 changed files with 9 additions and 11 deletions
|
@ -1,6 +1,12 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
dm-tool lock
|
||||
if [ $? -ne 0 ]; then
|
||||
$HOME/.config/i3/blurlock
|
||||
revert() {
|
||||
xset dpms 0 0 0
|
||||
}
|
||||
trap revert SIGHUP SIGINT SIGTERM
|
||||
xset dpms 5 5 5
|
||||
i3lock --nofork --color 648901 --ignore-empty-password
|
||||
revert
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue