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+s exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to shutdown i3?' -b 'Yes, exit i3' 'shutdown 0'"
bindsym $mod+Ctrl+r exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to reboot i3?' -b 'Yes, exit i3' 'reboot'"
bindsym $mod+Ctrl+s exec systemctl suspend
# resize window (you can also use the mouse for that)