-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
77 lines (67 loc) · 2.71 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Default calendar configuration.
# Store in "~/.config/calendar", "/etc/xdg/calendar", "/etc/calendar".
# We use one more padding on the left to account for the border around the
# preview window. Looks a bit unbalanced without it, but feel free to tweak as
# you please.
LeftPadding = 2
RightPadding = 1
# NoteDir should describe where to store notes.
#
# Environment variables, such as $HOME may be used in the path and will be
# expanded appropriately. If the file is missing it is simply treated as an
# empty file. All other errors will return the error string itself (which is
# meant to be displayed to the user).
NoteDir = "$HOME/.local/share/calendar"
# You may specify an editor to use when opening notes. If unspecified, we will
# respect the environment variables VISUAL or EDITOR or fallback to using vi.
# Editor = "nvim"
# Padding, LeftMargin, MinWidth, and MaxWidth for the preview window.
#
# Padding and margin are included within min and max width.
# Unit is number of spaces.
PreviewPadding = 1
PreviewLeftMargin = 3
PreviewMinWidth = 40
PreviewMaxWidth = 80
# You can change the hotkeys used to navigate the calendar. The key names are
# mostly as you would expect, but you may refer to this list for "the strange
# ones":
# https://github.com/charmbracelet/bubbletea/blob/94d6f5079e07301046e38f6c59cb286dd6856155/key.go#L245
KeyQuit = ["ctrl+c", "q"]
KeySelectLeft = ["left", "h"]
KeySelectDown = ["down", "j"]
KeySelectUp = ["up", "k"]
KeySelectRight = ["right", "l"]
KeyFocusPreview = ["tab"]
KeyTogglePreview = ["p"]
KeyEditNote = ["enter"]
KeyYankDate = ["y"]
KeyLastSunday = ["b", "H"]
KeyNextSunday = ["w"]
KeyNextSaturday = ["e", "L"]
KeyMonthUp = ["ctrl+u"]
KeyMonthDown = ["ctrl+d"]
# Colors can be specified in a few different ways. Terminal support may vary.
# By default, all colors are specified using ANSI 16 which has the best support.
#
# ANSI 16 colors: "5", "9", "12" (numbers 0-15)
# ANSI 256 Colors: "86", "201", "202" (numbers 16-255)
# True Color (16,777,216 colors; 24-bit): "#0000FF", "#04B575", "#3C3C3C"
TodayStyle.Color = "2"
TodayStyle.Bold = false
TodayStyle.Italic = false
NotedStyle.Color = ""
NotedStyle.Bold = false
NotedStyle.Italic = false
InactiveStyle.Color = "8"
InactiveStyle.Bold = false
InactiveStyle.Italic = false
# One or more files containing a list of important dates and a color they
# should be diplayed with. Each line should be a date in either the format:
# 2006-02-28 or 02-28 followed by a space and then a color.
# HolidayLists = ["$HOME/.config/calendar/public-holidays", "$HOME/.config/calendar/birthdays"]
# Keywords can be configured to display a day in a different color if that
# day's note contains a specific string of text.
# Keywords = [
# { Keyword = "APPT", Color = "2" },
# ]