Browse Source

make it possible to define false to end activity on workspace selection

pull/1/head
parent
commit
071fbbc04e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      templates/workspaces/workspace.focus.fish.j2

+ 4
- 0
templates/workspaces/workspace.focus.fish.j2 View File

@@ -3,5 +3,9 @@
i3-msg mode remote

{% if workspaces[workspace].activity is defined %}
{% if workspaces[workspace].activity %}
~/bin/timer begin_activity "{{workspaces[workspace].activity}}"
{% else %}
~/bin/timer end_activity
{% endif %}
{% endif %}