autologin and autostart xsecurelock
This commit is contained in:
parent
4bf7e378ee
commit
f8da28c326
6
xinitrc
6
xinitrc
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
xsecurelock # force login before further initing
|
||||||
|
|
||||||
userresources=$HOME/.config/Xresources
|
userresources=$HOME/.config/Xresources
|
||||||
usermodmap=$HOME/.Xmodmap
|
usermodmap=$HOME/.Xmodmap
|
||||||
sysresources=/etc/X11/xinit/.Xresources
|
sysresources=/etc/X11/xinit/.Xresources
|
||||||
@ -44,7 +46,7 @@ forklog xautolock -time 1 -locker xsecurelock
|
|||||||
forklog xset dpms 0 0 50 s off
|
forklog xset dpms 0 0 50 s off
|
||||||
|
|
||||||
# Start herbstluftwm in locked mode. Is unlocked after autostart.
|
# Start herbstluftwm in locked mode. Is unlocked after autostart.
|
||||||
exec xmonad
|
xmonad
|
||||||
|
|
||||||
# Cleaning up
|
# Cleaning up
|
||||||
pkill redshift
|
pkill redshift
|
||||||
@ -52,3 +54,5 @@ pkill dunst
|
|||||||
pkill xcape
|
pkill xcape
|
||||||
pkill xautolock
|
pkill xautolock
|
||||||
|
|
||||||
|
wait
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user