mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 14:13:53 +01:00
46 lines
939 B
YAML
46 lines
939 B
YAML
---
|
|
- name: clone eww project
|
|
git:
|
|
repo: https://github.com/elkowar/eww
|
|
dest: "$HOME/dev/eww"
|
|
|
|
- name: build eww
|
|
shell: cargo build --release --no-default-features --features=wayland
|
|
args:
|
|
creates: "$HOME/dev/eww/target/release/eww"
|
|
chdir: "$HOME/dev/eww/"
|
|
|
|
- name: chmod eww
|
|
file:
|
|
path: "$HOME/dev/eww/target/release/eww"
|
|
mode: 0755
|
|
|
|
- name: create eww config dir
|
|
file:
|
|
path: "$HOME/.config/eww"
|
|
state: directory
|
|
|
|
- name: configure eww
|
|
template:
|
|
src: '{{ item.src }}'
|
|
dest: "$HOME/.config/eww/{{ item.dest }}"
|
|
loop:
|
|
- src: eww.scss.j2
|
|
dest: eww.scss
|
|
- src: eww.yuck.j2
|
|
dest: eww.yuck
|
|
|
|
- name: create eww scripts dir
|
|
file:
|
|
path: "$HOME/.config/eww/scripts"
|
|
state: directory
|
|
|
|
- name: copy eww scripts
|
|
copy:
|
|
src: '{{ item }}'
|
|
dest: "$HOME/.config/eww/scripts"
|
|
loop:
|
|
- get-active-workspace
|
|
- get-workspaces
|
|
#- change-active-workspace
|