[misc] move locking setting to autostart
This commit is contained in:
parent
a0903cab9c
commit
ad6f8e9ccb
|
@ -10,6 +10,7 @@ $HOME/.config/dunst/launch.sh
|
||||||
$HOME/.config/dwm/dwmbar
|
$HOME/.config/dwm/dwmbar
|
||||||
|
|
||||||
# setup screen locker
|
# setup screen locker
|
||||||
|
xset s 300
|
||||||
killall xss-lock
|
killall xss-lock
|
||||||
xss-lock --ignore-sleep (which slock) &
|
xss-lock --ignore-sleep (which slock) &
|
||||||
|
|
||||||
|
|
|
@ -64,14 +64,9 @@ export XMODIFIERS="@im=ibus"
|
||||||
export QT_IM_MODULE=ibus
|
export QT_IM_MODULE=ibus
|
||||||
export GTK_IM_MODULE=xim
|
export GTK_IM_MODULE=xim
|
||||||
|
|
||||||
# auto lock after 300 seconds
|
|
||||||
xset s 300
|
|
||||||
systemd-lock-handler /usr/local/bin/slock
|
|
||||||
|
|
||||||
# setup gnome keyring
|
# setup gnome keyring
|
||||||
dbus-update-activation-environment --systemd DISPLAY
|
dbus-update-activation-environment --systemd DISPLAY
|
||||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
export SSH_AUTH_SOCK=$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||||
export SSH_AUTH_SOCK
|
|
||||||
|
|
||||||
# load monitors profile
|
# load monitors profile
|
||||||
autorandr --change --force
|
autorandr --change --force
|
||||||
|
|
Loading…
Reference in New Issue
Block a user