diff --git a/Makefile b/Makefile deleted file mode 100644 index 3c8b6b7..0000000 --- a/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -install: stack - stack install - -stack: .get-repo-lock - stack setup - stack init - stack build - -get-repos: - 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 - -.get-repo-lock: get-repos - touch .get-repo-lock diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..34caec5 --- /dev/null +++ b/install.sh @@ -0,0 +1,15 @@ +#! /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 diff --git a/xmonad-custom b/xmonad-custom index be10c83..99fb2de 160000 --- a/xmonad-custom +++ b/xmonad-custom @@ -1 +1 @@ -Subproject commit be10c83957d683147da5aa156d3e79d50ab081b7 +Subproject commit 99fb2dee633e7ab5f0aa893d619c7c0d8d7db0b3