Change i3 shortcuts for window closing, screen locking

This commit is contained in:
Marty Oehme 2019-02-21 18:24:06 +01:00
parent 64f8d11dcc
commit 315cd00301

View file

@ -34,7 +34,7 @@ floating_modifier $mod
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+Shift+c kill
# start dmenu (a program launcher)
#bindsym $mod+space exec dmenu_run
@ -132,14 +132,12 @@ bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+Shift+y reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+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 $mod+Shift+z exec "i3-nagbar -m 'I am not useful?' -B 'Agreed!' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
@ -173,4 +171,4 @@ bar {
status_command i3status
}
bindsym $mod+shift+x exec i3lock
bindsym $mod+Ctrl+l exec i3lock