1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 15:32:01 +01:00
eoli3n-dotfiles/roles/sway/tasks/main.yml
2019-12-13 00:23:54 +01:00

51 lines
927 B
YAML

---
- name: install wayland and sway
pacman:
name:
- wayland
- xorg-server-xwayland
- sway
- waybar
- grim # screenshots
- slurp # select region
- 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