From b87934eb281f9efc7b4ae600bd340425ab12ea5f Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 16 Jan 2021 22:24:35 +0100 Subject: [PATCH] start activity on workspace focus --- templates/workspaces/workspace.focus.fish.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/workspaces/workspace.focus.fish.j2 b/templates/workspaces/workspace.focus.fish.j2 index 44f6afb..cdb53c4 100644 --- a/templates/workspaces/workspace.focus.fish.j2 +++ b/templates/workspaces/workspace.focus.fish.j2 @@ -1,3 +1,7 @@ #!/usr/bin/fish {{ ansible_managed | comment }} i3-msg mode remote + +{% if workspaces[workspace].activity is defined %} +~/bin/timer begin_activity "{{workspaces[workspace].activity}}" +{% endif %}