#!/bin/bash if [ -z ${SWAYSOCK+x} ]; then i3 exit else sway exit fi