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