A custom script that triggers a screen lock, suspending dunst notifications.
Also provides a systemd unit that executes the lock script upon system suspend.
i3lock
dunst
- /usr/local/lib/systemd/system/[email protected]
- $HOME/bin/lock.sh
- $HOME/bin/notification.sh
Note that I3LOCK_BACKGROUND
in lock.sh
should be configured as desired.