From 575809c56265583b84ad97273d35b1a92854321c Mon Sep 17 00:00:00 2001 From: eoli3n Date: Sat, 9 May 2020 23:45:07 +0200 Subject: [PATCH] wofi font --- roles/wofi/tasks/main.yml | 8 ++++---- roles/wofi/{files/style.css => templates/style.j2} | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) rename roles/wofi/{files/style.css => templates/style.j2} (98%) diff --git a/roles/wofi/tasks/main.yml b/roles/wofi/tasks/main.yml index d4fa072..2493105 100644 --- a/roles/wofi/tasks/main.yml +++ b/roles/wofi/tasks/main.yml @@ -4,10 +4,10 @@ path: ~/.config/wofi state: directory -- name: copy wofi style - copy: - src: style.css - dest: ~/.config/wofi/ +- name: template wofi style + template: + src: style.j2 + dest: ~/.config/wofi/style.css - name: copy wofi config copy: diff --git a/roles/wofi/files/style.css b/roles/wofi/templates/style.j2 similarity index 98% rename from roles/wofi/files/style.css rename to roles/wofi/templates/style.j2 index 6bb2230..c8e5c5f 100644 --- a/roles/wofi/files/style.css +++ b/roles/wofi/templates/style.j2 @@ -7,6 +7,7 @@ window { margin: 0px; background-color: @grey; font-size: 1.2em; + font: {{ font }}; } #input {