#!/bin/sh makepipe() { DWM_PIPE="$(mktemp -u)" || exit mkfifo -m0600 "$DWM_PIPE" || exit export DWM_PIPE } xinit() { picom --experimental-backends --config ~/.config/picom/config & feh --bg-scale ~/media/background.jpg ~/.screenlayout/home.sh makepipe xbanish & status & } xfini() { rm $DWM_PIPE || echo "failed to cleanup $DWM_PIPE" } xinit exec dwm xfini