Skip to content

Commit

Permalink
README.md: Use example-conf.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jnd-au committed Oct 17, 2024
1 parent dc1c0ac commit c71d3a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
32 changes: 1 addition & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,37 +80,7 @@ Configs are read from `$HOME/.config/tz/conf.toml`.
Time zone `id`s should reference items from the standard tz database names.
Alias them by providing your own name with the `name` key.

Sample configuration:

```toml
[[zones]]
id = "NZ"
name = "NZ"

[[zones]]
id = "Australia/Sydney"
name = "Sydney"

[[zones]]
id = "Asia/Kolkata"
name = "Bangalore"

[[zones]]
id = "UTC"
name = "UTC"

[keymaps]
prev_hour = ["h", "left"]
next_hour = ["l", "right"]
prev_day = ["k", "up"]
next_day = ["j", "down"]
prev_week = ["p", "<"]
next_week = ["n", ">"]
toggle_date = ["d"]
open_web = ["o", "x"]
now = ["t"]
quit = ["q", "esc", "ctrl+c"]
```
Sample configuration: [example-conf.toml](./example-conf.toml)

## Environment Variable

Expand Down
6 changes: 3 additions & 3 deletions example-conf.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ prev_hour = ["h", "left"]
next_hour = ["l", "right"]
prev_day = ["k", "up"]
next_day = ["j", "down"]
prev_week = ["p"]
next_week = ["n"]
prev_week = ["p", "<"]
next_week = ["n", ">"]
toggle_date = ["d"]
open_web = ["o"]
open_web = ["o", "x"]
now = ["t"]
quit = ["q", "esc", "ctrl+c"]

0 comments on commit c71d3a4

Please sign in to comment.