Shell script for making i3lock look nice.
Run with nicelock
.
nicelock
will automatically suspend dunst notifications and show a notification when locking.
Example using xss-lock
xss-lock -- /usr/bin/nicelock
Place this is your .xinitrc
or spawn it in your window manager like this in xmonad
:
myStartupHook = do
...
spawnOnce "xss-lock -- /usr/bin/nicelock"
...
defaults = def {
...
startupHook = myStartupHook
}