Browse Source

i3blocks config

timer
parent
commit
5ae2c88242
2 changed files with 9 additions and 4 deletions
  1. +6
    -0
      tasks/i3.yaml
  2. +3
    -4
      templates/i3/i3blocks.config.j2

+ 6
- 0
tasks/i3.yaml View File

@@ -26,6 +26,12 @@
state: directory
notify: i3 reload

- name: i3blocks config
template:
src: i3/i3blocks.config.j2
dest: ~/.config/i3blocks/config
notify: i3 reload

- name: i3wm graphical-session service
template:
src: i3/i3wm.service.j2


+ 3
- 4
templates/i3/i3blocks.config.j2 View File

@@ -30,13 +30,12 @@ command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none

{% if with_activity %}
# activity
[activity]
command=/opt/activity/i3blocks-activity
interval=persist
command=cat ~/.timer/activity.i3blocks
interval=once
markup=pango
{% endif %}
signal=1

# hostinfo
[hostinfo]