1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-25 21:25:39 +00:00

[i3] Added xautolock

This commit is contained in:
Przemysław Grondek 2019-11-04 14:33:10 +01:00
parent e6fcf76876
commit 9e0832ac85
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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