Lock bspwm on start, allow dropping to shell when auto-starting X

This commit is contained in:
mitchell 2021-05-17 10:14:08 -04:00
parent ff5d6b36bc
commit c5fc03396b
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
slock &
setxkbmap -option altwin:swap_alt_win
setxkbmap -option ctrl:swapcaps
xset s off -dpms

View File

@ -1,7 +1,7 @@
function start_x_at_login
if status is-login
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
exec startx -- -keeptty
startx -- -keeptty
end
end
end