Skip to content

Commit

Permalink
Add Timewarrior config for iceowl (macOS support)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arcticicestudio committed Sep 19, 2018
1 parent c08ca24 commit c1fdba9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 3 additions & 7 deletions snowblocks/timewarrior/snowblock.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
[
{
"clean": [
"~",
"~/.timewarrior"
]
"clean": ["~/.timewarrior"]
},
{
"link": {
"~/.timewarrior/timewarrior.cfg": {
"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"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2016-present Arctic Ice Studio <[email protected]>
# Copyright (C) 2016-present Sven Greb <development@svengreb.de>
# Copyright (c) 2016-present Arctic Ice Studio <[email protected]>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
Expand All @@ -11,7 +11,7 @@
#+----+
#+ UI +
#+----+
import /home/sgreb/.timewarrior/nord.theme
import /Users/sgreb/.timewarrior/nord.theme
color = true

#+---------+
Expand Down

0 comments on commit c1fdba9

Please sign in to comment.