1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-26 05:35:30 +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) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod4+Shift+r restart bindsym Mod4+Shift+r restart
# exit i3 (logs you out of your X session) # 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) # resize window (you can also use the mouse for that)
mode "resize" { 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 exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
# autolock # autolock
exec xautolock -time 5m -locker ~/bin/lock -notify 10s exec xautolock -time 5 -locker ~/bin/lock -notify 10
# Shortcuts # Shortcuts
bindsym Mod4+F1 exec firefox bindsym Mod4+F1 exec firefox