Allow per-user environment

This commit is contained in:
2020-10-05 21:55:12 +02:00
parent 1224356d2e
commit 84b58f9453
5 changed files with 35 additions and 6 deletions

View File

@@ -47,11 +47,11 @@ reset_screen() {
lock_and_screen_off() {
lock &
_pid=$!
systemctl --user --no-block kill --signal SIGUSR1 dunst_user
dunstctl disable
screen_off
xset dpms 0 0 5
wait $_pid
systemctl --user --no-block kill --signal SIGUSR2 dunst_user
dunstctl enable
reset_screen
}