9 lines
137 B
Bash
Executable File

#!/usr/bin/env bash
BIN=$1
[[ -n "$BIN" ]] || BIN=xmonad
stack install --local-bin-path "$PWD"
[[ -f "$BIN" ]] || ln -s xmonad "$BIN"