mirror of https://github.com/mitchell/dotfiles.git
Lock bspwm on start, allow dropping to shell when auto-starting X
This commit is contained in:
parent
ff5d6b36bc
commit
c5fc03396b
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
slock &
|
||||||
setxkbmap -option altwin:swap_alt_win
|
setxkbmap -option altwin:swap_alt_win
|
||||||
setxkbmap -option ctrl:swapcaps
|
setxkbmap -option ctrl:swapcaps
|
||||||
xset s off -dpms
|
xset s off -dpms
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
function start_x_at_login
|
function start_x_at_login
|
||||||
if status is-login
|
if status is-login
|
||||||
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
|
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
|
||||||
exec startx -- -keeptty
|
startx -- -keeptty
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue