diff --git a/i3/Makefile b/i3/Makefile index bfd2f42..1f6e537 100644 --- a/i3/Makefile +++ b/i3/Makefile @@ -2,11 +2,12 @@ REQUIRED_BINS=\ /usr/bin/i3 \ /usr/bin/i3blocks \ /usr/bin/i3lock \ + /usr/bin/xautolock \ /usr/bin/dunst \ /usr/bin/compton \ /usr/bin/numlockx \ /usr/bin/gedit -PACKAGES=i3 i3blocks i3lock dunst compton numlockx gedit +PACKAGES=i3 i3blocks i3lock dunst compton numlockx gedit xautolock I3_CONFIG=config I3_CONFIG_OUT=$(HOME)/.config/i3/config diff --git a/i3/config b/i3/config index 605c177..05f004e 100644 --- a/i3/config +++ b/i3/config @@ -221,6 +221,9 @@ exec --no-startup-id compton --config ~/.config/compton.conf -b # polkit for authentication as root exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 +# autolock +exec xautolock -time 5m -locker ~/bin/lock -notify 10s + # Shortcuts bindsym Mod4+F1 exec firefox bindsym Mod4+F2 exec nautilus