[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 # Allow inclusion of home directories in ~/.Xresources
xrdb -I$HOME ~/.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 # Launch i3
exec i3 exec i3

View file

@ -227,6 +227,8 @@ exec --no-startup-id redshift-gtk
exec --no-startup-id dunst exec --no-startup-id dunst
# Notify when battery is at 15% and 5% percent # Notify when battery is at 15% and 5% percent
exec --no-startup-id i3-battery-popup -n -L 15 -l 5 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 # Set the wallpaper
exec --no-startup-id feh --bg-fill ~/Pictures/wallpapers/starry-night-tree.png exec --no-startup-id feh --bg-fill ~/Pictures/wallpapers/starry-night-tree.png