First commit

This commit is contained in:
Yorick Barbanneau 2023-04-16 23:46:44 +02:00
commit 1808168211
7 changed files with 396 additions and 0 deletions

37
README.md Normal file
View file

@ -0,0 +1,37 @@
Waybar Ansible Role
-------------------
Install and configure [Waybar](https://github.com/Alexays/Waybar/)
## Variables
You can define 2 variables for this role
`waybar_option` represent the Waybar configuration file in `yaml` format. The
default values give you the provided configuration given on the Waybar
repository.
`waybar_style` is a list of element to render `style.css` template provide in
this role. Here is the defaut values:
```yaml
waybar_style:
colors:
bg: '#323232'
fg: '#ddd'
hover: '#f268b3'
selected: '#1cd180'
ok: '#1cd180'
warning: '#f2b768'
critical: '#f268b3'
fonts:
bar:
family: 'Fira Code Nerd Font'
size: '12px'
tray:
family: 'DejaVu sans'
size: '12px'
```
I choose to provide a custom `style.css` template for my need.