-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
66 lines (52 loc) · 3.15 KB
/
config.toml
File metadata and controls
66 lines (52 loc) · 3.15 KB
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
# ─────────────────────────────────────────────────────────────────
# ── FANGIT config ────────────────────────────────────────────────
# https://github.com/disuye/fangit
# ─────────────────────────────────────────────────────────────────
#
# This file is generated by the setup wizard on first launch.
# To re-run the wizard, move or delete this file and restart fangit.
[general]
# GitHub username to @mention in notifications
github_user = ""
# Seconds before committing watched file changes (30-300)
batch_interval = 60
# Filesystem scan interval in seconds (10-300)
# Lower = faster detection, higher = less CPU
scan_interval = 30
# Tray icon style: "dot" | "logo" | "tint"
tray_style = "dot"
[repo]
# Remote repository URL (HTTPS or SSH)
url = ""
# Default branch
branch = "main"
# Auth method: "https" or "ssh"
auth = "https"
# ─────────────────────────────────────────────────────────────────
# ── Watch directories ────────────────────────────────────────────
# Watches a folder for new/changed files.
# action controls what happens:
# "sync" = git commit + push (default)
# "channel_name" = send notification via matching [[channel]]
# match is an optional regex filter — only act when new lines match.
# ─────────────────────────────────────────────────────────────────
# [[watch]]
# path_name = "MyProject"
# path = "~/path/to/watch"
# extensions = ["txt", "log"]
# action = "sync"
# match = "ERROR|WARN"
# ─────────────────────────────────────────────────────────────────
# ── Notification channels ────────────────────────────────────────
# Posts a message to a GitHub issue. No files, no git.
# mode: "dispatch" (via GitHub Action, ~35s) | "direct" (API, ~20s)
# action: "notify" | "notify+push"
# Emoji reference: 🔴🟠🟡🟢🔵🟣⚪⚫🟤
# ─────────────────────────────────────────────────────────────────
# [[channel]]
# path_name = "status"
# issue = 1
# emoji = "🟢"
# mode = "dispatch"
# action = "notify"
# ─────────────────────────────────────────────────────────────────