Add waybar conf

main
Micke Nordin 1 year ago
parent 70b0b6d909
commit 116f44fe56

@ -21,4 +21,14 @@
owner: "{{ uid }}"
group: "{{ uid }}"
mode: '0640'
- name: Create waybar dir
ansible.builtin.file:
dest: "/home/{{ uid }}/.config/waybar"
state: directory
- name: Install waybar config
ansible.builtin.template:
src: ../templates/waybar_config.j2
dest: "/home/{{ uid }}/.config/waybar/config"
owner: "{{ uid }}"
group: "{{ uid }}"
mode: '0640'

@ -0,0 +1,16 @@
{
"layer": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["battery", "clock", "tray"],
"sway/window": {
"max-length": 50
},
"battery": {
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""]
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
}
}
Loading…
Cancel
Save