Update dwm role
This commit is contained in:
parent
a02aacc406
commit
5d6bf94dea
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: install required packages
|
- name: install required packages
|
||||||
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
pkg:
|
pkg:
|
||||||
|
@ -2,3 +2,5 @@
|
|||||||
- import_tasks: setup.yml
|
- import_tasks: setup.yml
|
||||||
|
|
||||||
- import_tasks: dwm.yml
|
- import_tasks: dwm.yml
|
||||||
|
|
||||||
|
- import_tasks: st-term.yml
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
become: yes
|
become: yes
|
||||||
- name: install git and make
|
- name: install screen locker
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
pkg:
|
pkg:
|
||||||
- git
|
- i3lock
|
||||||
- make
|
|
||||||
|
31
roles/dwm/tasks/st-term.yml
Normal file
31
roles/dwm/tasks/st-term.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user