diff --git a/playbooks/sway.yaml b/playbooks/sway.yaml index e73978a..dbe08ce 100644 --- a/playbooks/sway.yaml +++ b/playbooks/sway.yaml @@ -2,6 +2,7 @@ - name: Set up sway vars: uid: "{{ lookup('env','USER') }}" + TZ: "{{ lookup('env','TZ') }}" wallpaper_path: /home/{{ uid }}/.config/wallpaper/savannah-landscape-with-acacia-trees.jpeg hosts: localhost connection: local diff --git a/templates/waybar_config.j2 b/templates/waybar_config.j2 index 15b1c68..5276e39 100644 --- a/templates/waybar_config.j2 +++ b/templates/waybar_config.j2 @@ -11,6 +11,7 @@ "format-icons": ["", "", "", "", ""] }, "clock": { - "format-alt": "{:%a, %d. %b %H:%M}" + "format-alt": "{:%a, %d. %b %H:%M}", + "timezone": "{{ TZ }}" } }