@@ -26,6 +26,12 @@ | |||||
state: directory | state: directory | ||||
notify: i3 reload | notify: i3 reload | ||||
- name: i3blocks config | |||||
template: | |||||
src: i3/i3blocks.config.j2 | |||||
dest: ~/.config/i3blocks/config | |||||
notify: i3 reload | |||||
- name: i3wm graphical-session service | - name: i3wm graphical-session service | ||||
template: | template: | ||||
src: i3/i3wm.service.j2 | src: i3/i3wm.service.j2 | ||||
@@ -30,13 +30,12 @@ command=/usr/share/i3blocks/$BLOCK_NAME | |||||
separator_block_width=15 | separator_block_width=15 | ||||
markup=none | markup=none | ||||
{% if with_activity %} | |||||
# activity | # activity | ||||
[activity] | [activity] | ||||
command=/opt/activity/i3blocks-activity | |||||
interval=persist | |||||
command=cat ~/.timer/activity.i3blocks | |||||
interval=once | |||||
markup=pango | markup=pango | ||||
{% endif %} | |||||
signal=1 | |||||
# hostinfo | # hostinfo | ||||
[hostinfo] | [hostinfo] | ||||