-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcwm.yaml
51 lines (51 loc) · 1.63 KB
/
cwm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- hosts: localhost
gather_facts: false
tasks:
- name: Configure wscons
copy:
src: config/wscons/wsconsctl.conf
dest: /etc/wsconsctl.conf
- name: Configure Xresources
copy:
src: config/X11/xenodm/Xresources
dest: /etc/X11/xenodm/Xresources
- name: Configure Xsetup_0
copy:
src: config/X11/xenodm/Xsetup_0
dest: /etc/X11/xenodm/Xsetup_0
- name: Create xsession symlink
file:
src: "/home/{{ lookup('env', 'DOAS_USER') }}/.config/X11/xsession"
dest: "/home/{{ lookup('env', 'DOAS_USER') }}/.xsession"
state: link
force: true
- name: Create Xdefaults symlink
file:
src: "/home/{{ lookup('env', 'DOAS_USER') }}/.config/X11/Xdefaults"
dest: "/home/{{ lookup('env', 'DOAS_USER') }}/.Xdefaults"
state: link
force: true
- name: Create cwm symlink
file:
src: "/home/{{ lookup('env', 'DOAS_USER') }}/.config/cwm/cwmrc"
dest: "/home/{{ lookup('env', 'DOAS_USER') }}/.cwmrc"
state: link
force: true
- name: Fetch wallpapers
git:
repo: https://github.com/dane/wallpapers
dest: /usr/local/share/wallpapers
update: yes
- name: Select current wallpaper
file:
src: /usr/local/share/wallpapers/rei-2.jpg
dest: /usr/local/share/wallpapers/current.jpg
state: link
- name: Blur current wallpaper
command: |-
convert \
-scale 10% \
-blur 0x2.5 \
-resize 1000% \
/usr/local/share/wallpapers/current.jpg \
/usr/local/share/wallpapers/current-blur.jpg