Ansible role to install and configure Waybar
Find a file
2023-04-16 23:46:44 +02:00
defaults First commit 2023-04-16 23:46:44 +02:00
files First commit 2023-04-16 23:46:44 +02:00
meta First commit 2023-04-16 23:46:44 +02:00
tasks First commit 2023-04-16 23:46:44 +02:00
templates First commit 2023-04-16 23:46:44 +02:00
README.md First commit 2023-04-16 23:46:44 +02:00

Waybar Ansible Role

Install and configure 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:

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.