aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-08-17 10:57:45 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-08-17 10:57:45 +0200
commit9cf6de3912a8ddf21efa0144e06dd0e5f3c5eb0c (patch)
treeb1e23cdf8592be8964d24a3a31a6115aa4d6bb52
parent43bcdae3bf3f3981ee0187fe1606bc5001985301 (diff)
downloaddotfiles-9cf6de3912a8ddf21efa0144e06dd0e5f3c5eb0c.tar.xz
Makefile: Create i3 bar venv
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
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"