Install i3status config
This commit is contained in:
parent
64ba860edc
commit
8ea3b8a5f4
2 changed files with 32 additions and 0 deletions
17
roles/user-account/files/i3status/config
Normal file
17
roles/user-account/files/i3status/config
Normal 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"
|
||||||
|
}
|
|
@ -90,3 +90,18 @@
|
||||||
etype: user
|
etype: user
|
||||||
permissions: r
|
permissions: r
|
||||||
state: present
|
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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue