From c1fdba9e6554a4c1cdff32618ddafd700bc1a4cc Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Wed, 19 Sep 2018 08:00:07 +0200 Subject: [PATCH] Add Timewarrior config for iceowl (macOS support) This commit adds a configuration for the new `iceowl` host. Due to the usage of absolute paths in the config files of Timewarrior (1) e.g. for the color theme, there must be an config per host. References: (1) https://timewarrior.net Epic: GH-131 Closes GH-144 --- snowblocks/timewarrior/snowblock.json | 10 +++------- ...timewarrior.cfg.archbook => timewarrior.cfg.iceowl} | 6 +++--- 2 files changed, 6 insertions(+), 10 deletions(-) rename snowblocks/timewarrior/{timewarrior.cfg.archbook => timewarrior.cfg.iceowl} (65%) diff --git a/snowblocks/timewarrior/snowblock.json b/snowblocks/timewarrior/snowblock.json index f9c9a31..1cf3122 100644 --- a/snowblocks/timewarrior/snowblock.json +++ b/snowblocks/timewarrior/snowblock.json @@ -1,9 +1,6 @@ [ { - "clean": [ - "~", - "~/.timewarrior" - ] + "clean": ["~/.timewarrior"] }, { "link": { @@ -11,15 +8,14 @@ "create": true, "force": true, "hosts": { + "iceowl": "timewarrior.cfg.iceowl", "igloo": "timewarrior.cfg.igloo" } }, "~/.timewarrior/nord.theme": { "create": true, "force": true, - "hosts": { - "igloo": "nord.theme" - } + "path": "nord.theme" } } } diff --git a/snowblocks/timewarrior/timewarrior.cfg.archbook b/snowblocks/timewarrior/timewarrior.cfg.iceowl similarity index 65% rename from snowblocks/timewarrior/timewarrior.cfg.archbook rename to snowblocks/timewarrior/timewarrior.cfg.iceowl index 0131d04..726bcbf 100644 --- a/snowblocks/timewarrior/timewarrior.cfg.archbook +++ b/snowblocks/timewarrior/timewarrior.cfg.iceowl @@ -1,5 +1,5 @@ -# Copyright (C) 2016-present Arctic Ice Studio -# Copyright (C) 2016-present Sven Greb +# Copyright (c) 2016-present Arctic Ice Studio +# Copyright (c) 2016-present Sven Greb # Project: igloo # Repository: https://github.com/arcticicestudio/igloo @@ -11,7 +11,7 @@ #+----+ #+ UI + #+----+ -import /home/sgreb/.timewarrior/nord.theme +import /Users/sgreb/.timewarrior/nord.theme color = true #+---------+