1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 07:21:58 +01:00
eoli3n-dotfiles/roles/sway/tasks/main.yml
2019-12-12 23:09:31 +01:00

50 lines
897 B
YAML

---
- name: install wayland and sway
pacman:
name:
- wayland
- xorg-server-xwayland
- sway
- waybar
- grim # screenshots
- wl-clipboard # clipboard
- playerctl # spotify
- ttf-font-awesome
become: true
- name: install aur sway deps
aur:
name:
- swaylock-fancy-git
- name: create sway config dir
file:
path: ~/.config/sway/
state: directory
- name: copy configuration file
template:
src: sway/config.j2
dest: ~/.config/sway/config
- name: autostart sway
copy:
src: bash_profile
dest: ~/.bash_profile
- name: copy waybar configuration
tags: waybar
synchronize:
src: waybar
dest: ~/.config/
- name: create swaylock dir config
file:
path: ~/.config/swaylock/
state: directory
- name: copy swaylock config
copy:
src: swaylock.config
dest: ~/.config/swaylock/config