Install i3status config

master
mandlm 2021-02-15 17:03:40 +01:00
parent 64ba860edc
commit 8ea3b8a5f4
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,17 @@
general {
colors = true
interval = 5
}
order += "battery all"
order += "tztime local"
battery all {
format = "%status %percentage %remaining"
format_down = ""
last_full_capacity = true
}
tztime local {
format = "%d.%m.%Y %H:%M"
}

View File

@ -90,3 +90,18 @@
etype: user
permissions: r
state: present
- name: ensure i3status config-dir exists
become_user: "{{ account.name }}"
file:
path: "/home/{{ account.name }}/.config/i3status"
state: directory
mode: "0700"
- name: install i3status config
become_user: "{{ account.name }}"
copy:
src: i3status/config
dest: "/home/{{ account.name }}/.config/i3status/config"
mode: "0644"