Correct TZ in waybar

This commit is contained in:
Micke Nordin 2023-11-13 16:52:59 +01:00
parent fd6530ac3c
commit c3eebef453
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -11,6 +11,7 @@
"format-icons": ["", "", "", "", ""]
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
"format-alt": "{:%a, %d. %b %H:%M}",
"timezone": "{{ TZ }}"
}
}