From 9cf6de3912a8ddf21efa0144e06dd0e5f3c5eb0c Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 17 Aug 2017 10:57:45 +0200 Subject: Makefile: Create i3 bar venv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9b4fd8b..ab48c07 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,11 @@ -install: +i3venv = ~/.local/share/i3/venv + +$(i3venv): + mkdir -p "$(i3venv)" + python -m venv "$(i3venv)" + "$(i3venv)"/bin/pip install --upgrade i3pystatus netifaces colour + +install: i3venv -ln -sfn "$(PWD)/ssh" "$(HOME)/.ssh" -ln -sfn "$(PWD)/gnupg" "$(HOME)/.gnupg" -ln -sf "$(PWD)/zsh/zshenv" "$(HOME)/.zshenv" -- cgit v1.2.3-70-g09d2