37 lines
819 B
Markdown
37 lines
819 B
Markdown
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.
|