-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
47 lines (41 loc) · 1.68 KB
/
config.toml
File metadata and controls
47 lines (41 loc) · 1.68 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
# Uses the FreeDesktop.org backend i.e. changes how the trash data is
# represented to match the FDO spec. This can be used to integrate charon
# with an FDO-compliant trash implementation.
#
# Other options are "cbor" and "json".
backend = "fdo"
# File log level. Can be one of "debug", "info", "warn", "error", "fatal", or
# "off". Defaults to "off".
log-level = "info"
# Sets a threshold upon which we either delete or warn when the log file size
# exceeds it. Examples include "delete 20.5 gigabytes", "warn 10 KB".
# Defaults to "delete 50 mb".
log-size-mode = "warn 10 mb"
# Path to the trash home. Overridden by the CLI -t option. Defaults to
# XDG data ~/.local/share/charon. The "fdo" backend defaults to
# ~/.local/share/Trash.
trash-home = "./tmp"
# Config for various commands, rather than specifying on the CLI every time.
[delete]
# Prompts before deleting path(s). Can be "on" or "off" (the default).
prompt = "off"
# Lists deleted paths. Can be "on" or "off" (the default).
verbose = "on"
[perm-delete]
# Allows selecting by numeric index instead of trash name. Incompatible with
# explicit paths. The prompt can be exited via "exit", "quit", "q", or ":q".
# Defaults to "off".
indices = "on"
# Prompts before deleting path(s). Can be "on" (the default) or "off".
prompt = "off"
# Lists deleted paths. Can be "on" or "off" (the default).
verbose = "off"
[restore]
# Allows selecting by numeric index instead of trash name. Incompatible with
# explicit paths. The prompt can be exited via "exit", "quit", "q", or ":q".
# Defaults to "off".
indices = "on"
# Prompts before restoring path(s). Defaults to "on".
prompt = "off"
# Lists restored paths. Can be "on" or "off" (the default).
verbose = "off"