diff --git a/root/usr/lib/xsecurelock/saver_image b/root/usr/lib/xsecurelock/saver_image new file mode 100755 index 0000000..5d57345 --- /dev/null +++ b/root/usr/lib/xsecurelock/saver_image @@ -0,0 +1,2 @@ +#!/bin/bash +exec xloadimage -fullscreen -windowid $XSCREENSAVER_WINDOW /home/felix/.config/screensaver_image diff --git a/xinitrc b/xinitrc index 360555e..cb538b6 100644 --- a/xinitrc +++ b/xinitrc @@ -1,6 +1,6 @@ #!/bin/sh -xsecurelock # force login before further initing +xsecurelock auth_pam_x11 saver_image # force login before further initing userresources=$HOME/.config/Xresources usermodmap=$HOME/.Xmodmap @@ -56,3 +56,5 @@ pkill xautolock wait +systemctl poweroff +