X11: auto start xss-lock

This commit is contained in:
rydesun 2022-03-19 22:03:07 +08:00
parent 2e7515f76a
commit 15ff5e3473

View file

@ -13,5 +13,6 @@ source ${XDG_CONFIG_HOME}/X11/profile
systemctl start --user Xorg.target
if [[ -n "$@" ]]; then
xss-lock -- betterlockscreen -l &
exec "$@"
fi