Commit 114ef7c7 authored by Benedikt Vollmerhaus's avatar Benedikt Vollmerhaus

Add optional installation task for Python dependencies

parent cb4939e0
#!/usr/bin/env sh
# Optional post-install tasks for my dotfiles, such as installing dependencies.
# Author: Benedikt Vollmerhaus
# License: MIT
read -r -p "Install Python dependencies for scripts submodule? [Y/n] " choice
if [[ $choice =~ ^[Yy]$ ]]; then
if pip install --user -q -r scripts/requirements.txt; then
printf "Successfully installed dependencies for all Python scripts.\\n"
printf "System packages may require manual installation; see README.\\n"
......@@ -6,10 +6,19 @@
- clean: ['~']
- link:
~/.config/i3: config/i3
~/.config/i3/config: config/i3/config
# Scripts autostarted by i3 are symlinked right in its config directory:
~/.config/i3/ scripts/scripts/
~/.config/i3/ scripts/scripts/
~/.config/polybar: config/polybar
~/.vimrc: vimrc
~/.Xresources: Xresources
- shell:
- [git submodule update --init --recursive, Pulling submodules]
- [git submodule update --init --recursive, "1) Pulling submodules"]
- command: ./install-tasks
stdin: true
stdout: true
stderr: true
description: "2)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment