Correct TZ in waybar

main
Micke Nordin 1 year ago
parent fd6530ac3c
commit c3eebef453

@ -2,6 +2,7 @@
- name: Set up sway - name: Set up sway
vars: vars:
uid: "{{ lookup('env','USER') }}" uid: "{{ lookup('env','USER') }}"
TZ: "{{ lookup('env','TZ') }}"
wallpaper_path: /home/{{ uid }}/.config/wallpaper/savannah-landscape-with-acacia-trees.jpeg wallpaper_path: /home/{{ uid }}/.config/wallpaper/savannah-landscape-with-acacia-trees.jpeg
hosts: localhost hosts: localhost
connection: local connection: local

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

Loading…
Cancel
Save