in my enthousiasm, I forgot I don't like to depend on X

This commit is contained in:
Felix Van der Jeugt 2016-01-10 22:12:06 +01:00
parent 75ac54e950
commit 556c3c15c8
2 changed files with 8 additions and 7 deletions

11
xinitrc
View File

@ -1,7 +1,5 @@
#!/bin/sh
xsecurelock auth_pam_x11 saver_image # force login before further initing
userresources=$HOME/.config/Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
@ -45,5 +43,12 @@ forklog bash ~/.fehbg
forklog xautolock -time 1 -locker xsecurelock
forklog xset dpms 0 0 50 s off
exec xmonad
xmonad
pkill redshift
pkill dunst
pkill xcape
pkill xautolock
wait

4
zlogin
View File

@ -1,4 +0,0 @@
#!/bin/bash
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx