Update dwm role

This commit is contained in:
pgrondek 2020-07-01 15:49:46 +02:00
parent a02aacc406
commit 5d6bf94dea
4 changed files with 36 additions and 3 deletions

View File

@ -1,5 +1,6 @@
---
- name: install required packages
become: yes
apt:
update_cache: yes
pkg:

View File

@ -2,3 +2,5 @@
- import_tasks: setup.yml
- import_tasks: dwm.yml
- import_tasks: st-term.yml

View File

@ -1,9 +1,8 @@
---
- block:
become: yes
- name: install git and make
- name: install screen locker
apt:
update_cache: yes
pkg:
- git
- make
- i3lock

View File

@ -0,0 +1,31 @@
---
- name: install required packages
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- name: checkout
shell:
cmd: |
mkdir -p ~/src
cd ~/src
git clone {{ st-repo }}
- name: build st
make:
chdir: ~/src/stterm
- name: copy icon
become: yes
copy:
src: usr/share/icons/dwm.png
dest: /usr/share/icons/dwm.png
- name: install st
become: yes
make:
chdir: ~/src/stterm
target: install