#!/bin/sh
read -p "Exit i3 [Y]/n?" exit
[ "$exit" = "Y" ] && i3-msg exit