[FIX] Launch xautolock at i3's startup

It seems that the xinitrc command doesn't work... I'll have to
investigate why.
This commit is contained in:
Bruno BELANYI 2019-07-18 20:56:49 +02:00
parent 494ee185ef
commit d9d2d975ba
2 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,5 @@
# Allow inclusion of home directories in ~/.Xresources
xrdb -I$HOME ~/.Xresources
# Autolock after 1 minute without any input, lock on upper-left, don't in lower-right
xautolock -time 1 -cornerredelay 5 -corners +00- -locker "~/scripts/i3exit lock" &
# Launch i3
exec i3

View File

@ -227,6 +227,8 @@ exec --no-startup-id redshift-gtk
exec --no-startup-id dunst
# Notify when battery is at 15% and 5% percent
exec --no-startup-id i3-battery-popup -n -L 15 -l 5
# Autolock after 1 minute without any input, lock on upper-left, don't in lower-right
exec --no-startup-id xautolock -time 1 -cornerredelay 5 -corners +00- -locker "~/scripts/i3exit lock"
# Set the wallpaper
exec --no-startup-id feh --bg-fill ~/Pictures/wallpapers/starry-night-tree.png