#! /bin/bash echo "Getting sources via git" git submodule update --init git clone https://github.com/xmonad/xmonad git clone https://github.com/xmonad/xmonad-contrib git clone https://github.com/troydm/xmonad-dbus echo "Setting up stack and building" stack setup stack init stack build stack install source xmonad-custom/install_desktop_file.sh