mirror of
https://github.com/pgrondek/config.git
synced 2024-11-22 03:53:43 +00:00
[i3] Added xautolock
This commit is contained in:
parent
e6fcf76876
commit
9e0832ac85
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user