1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-22 12:03:43 +00:00

[i3] Fixed i3 exit and autolock

This commit is contained in:
Przemysław Grondek 2019-11-04 14:39:55 +01:00
parent 9e0832ac85
commit 4f94a5803c

View File

@ -148,7 +148,7 @@ bindsym Mod4+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod4+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod4+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
bindsym Mod4+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
@ -222,7 +222,7 @@ exec --no-startup-id compton --config ~/.config/compton.conf -b
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
# autolock
exec xautolock -time 5m -locker ~/bin/lock -notify 10s
exec xautolock -time 5 -locker ~/bin/lock -notify 10
# Shortcuts
bindsym Mod4+F1 exec firefox