mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Rework markdown
- One line per sentence - Use '#' instead of underline to mark headings - Consistent indentation
This commit is contained in:
parent
5b073d3390
commit
37a3aa0ccf
5 changed files with 117 additions and 157 deletions
|
@ -1,24 +1,21 @@
|
|||
Timewarrior Holiday Files
|
||||
=========================
|
||||
# Timewarrior Holiday Files
|
||||
|
||||
The holiday files were created using https://holidata.net data by the 'refresh'
|
||||
script. This data can be updated using these commands:
|
||||
The holiday files were created using https://holidata.net data by the 'refresh' script.
|
||||
This data can be updated using these commands:
|
||||
|
||||
$ ./refresh
|
||||
$ ./refresh
|
||||
|
||||
If you need another locale (for example sv-SE), do this:
|
||||
|
||||
$ ./refresh --locale sv-SE
|
||||
$ ./refresh --locale sv-SE
|
||||
|
||||
If you need a specific locale region, do this:
|
||||
|
||||
$ ./refresh --locale de-CH --region Bern
|
||||
$ ./refresh --locale de-CH --region Bern
|
||||
|
||||
By default, the current and next year are updated. If the locale is not
|
||||
supported by holidata.net, or there is no data (yet) for the locale for this
|
||||
year and next year, you will see an error.
|
||||
By default, the current and next year are updated.
|
||||
If the locale is not supported by holidata.net, or there is no data (yet) for the locale for this year and next year, you will see an error.
|
||||
|
||||
To specify a set of years to update, do this:
|
||||
|
||||
$ ./refresh --locale en-US --year 2015 2016 2017
|
||||
|
||||
$ ./refresh --locale en-US --year 2015 2016 2017
|
||||
|
|
61
doc/themes/README
vendored
61
doc/themes/README
vendored
|
@ -1,56 +1,47 @@
|
|||
Timewarrior Color Themes
|
||||
========================
|
||||
# Timewarrior Color Themes
|
||||
|
||||
The theme files define colors that Timewarrior uses in various situations.
|
||||
There are several themes provided with Timewarrior, and you use a theme by
|
||||
importing it into your configuration file. Edit this file:
|
||||
There are several themes provided with Timewarrior, and you use a theme by importing it into your configuration file.
|
||||
Edit this file:
|
||||
|
||||
~/.timewarrior/timewarrior.cfg
|
||||
~/.timewarrior/timewarrior.cfg
|
||||
|
||||
And add the import line, which looks like this:
|
||||
|
||||
import /path/to/theme/dark.theme
|
||||
import /path/to/theme/dark.theme
|
||||
|
||||
You can find more themes online at ...
|
||||
|
||||
TODO URL needed
|
||||
TODO URL needed
|
||||
|
||||
|
||||
Create Your Own
|
||||
---------------
|
||||
## Create Your Own
|
||||
|
||||
It is easy to create your own Timewarrior color theme. The simplest approach is
|
||||
to copy an existing theme and then modify the colors.
|
||||
It is easy to create your own Timewarrior color theme.
|
||||
The simplest approach is to copy an existing theme and then modify the colors.
|
||||
|
||||
There is no minimum requirement for a theme - it doesn't need to define any
|
||||
colors, but that isn't really the point of a theme. Ideally define a description
|
||||
which is shown in the 'diagnostics' command output:
|
||||
There is no minimum requirement for a theme - it doesn't need to define any colors, but that isn't really the point of a theme.
|
||||
Ideally define a description which is shown in the 'diagnostics' command output:
|
||||
|
||||
theme.description Description of the theme.
|
||||
theme.description Description of the theme.
|
||||
|
||||
The individual color settings are all used by Taskwarrior, and providing a
|
||||
color for each of these is best. If no color is provided for a setting, then no
|
||||
color is used, a default does not apply. Color settings include:
|
||||
The individual color settings are all used by Taskwarrior, and providing a color for each of these is best.
|
||||
If no color is provided for a setting, then no color is used, a default does not apply.
|
||||
Color settings include:
|
||||
|
||||
theme.colors.exclusion Used to color excluded time in reports
|
||||
theme.colors.today Used to highlight today on reports that show dates
|
||||
theme.colors.label Used for non-critical labels in reports
|
||||
theme.colors.exclusion Used to color excluded time in reports
|
||||
theme.colors.today Used to highlight today on reports that show dates
|
||||
theme.colors.label Used for non-critical labels in reports
|
||||
|
||||
The color palette is used to automatically color tagged time in reports. When
|
||||
creating a color theme, the palette should be larger rather than smaller. It is
|
||||
recommended that you provide at least 16 colors, otherwise Timewarrior cycles
|
||||
through them and you'll see repetitions.
|
||||
The color palette is used to automatically color tagged time in reports.
|
||||
When creating a color theme, the palette should be larger rather than smaller.
|
||||
It is recommended that you provide at least 16 colors, otherwise Timewarrior cycles through them and you'll see repetitions.
|
||||
|
||||
## Share Your Theme
|
||||
|
||||
Share Your Theme
|
||||
----------------
|
||||
Having created a color theme, share it in the spirit of Open Source.
|
||||
Make it available for download, or alternatively send it to us at:
|
||||
|
||||
Having created a color theme, share it in the spirit of Open Source. Make it
|
||||
available for download, or alternatively send it to us at:
|
||||
support@gothenburgbitfactory.org
|
||||
|
||||
support@gothenburgbitfactory.org
|
||||
|
||||
We will list (and attribute) your theme on the Timewarrior support pages, where
|
||||
you will find other themes and extensions.
|
||||
|
||||
---
|
||||
We will list (and attribute) your theme on the Timewarrior support pages, where you will find other themes and extensions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue