mirror of https://github.com/mitchell/dotfiles.git
Only lock screen automatically on login
This commit is contained in:
parent
5e333db741
commit
95a1a8caac
|
@ -1,6 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
slock &
|
||||
if [ ! -e ~/.bspwm_no_lock ]
|
||||
then
|
||||
slock &
|
||||
touch ~/.bspwm_no_lock
|
||||
fi
|
||||
|
||||
setxkbmap -option altwin:swap_alt_win
|
||||
setxkbmap -option ctrl:swapcaps
|
||||
xset s off -dpms
|
||||
|
|
|
@ -165,6 +165,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|||
unset f
|
||||
fi
|
||||
|
||||
rm -f $HOME/.bspwm_no_lock
|
||||
|
||||
exec bspwm' >~/.xinitrc
|
||||
|
||||
log 'Installing arc-gruvbox theme'
|
||||
|
|
Loading…
Reference in New Issue