sway: Dim screen before locking
This commit is contained in:
parent
d94bcbe93e
commit
74d28e370f
2 changed files with 14 additions and 3 deletions
9
bin/_locker
Executable file
9
bin/_locker
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if [ "${1-}" = 'dim' ]; then
|
||||
chayang
|
||||
fi
|
||||
|
||||
exec swaylock -f -e -F -k -l -c 000000 --indicator-idle-visible
|
||||
Loading…
Add table
Add a link
Reference in a new issue