瀏覽代碼

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

pull/1/head
父節點
當前提交
071fbbc04e
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      templates/workspaces/workspace.focus.fish.j2

+ 4
- 0
templates/workspaces/workspace.focus.fish.j2 查看文件

@@ -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 %}