aboutsummaryrefslogtreecommitdiff
path: root/macli.toml
blob: 2dddd1995bcaa0e3b7e300c3c2bf906ea9c87e43 (plain)
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
# sample macli configuration file
# can be placed (and accessed in the same order) 
# at ./macli.toml, ~/.config/macli/macli.toml or /etc/macli/macli.toml
#
# https://git.vidhukant.com/macli

# AUTHENTICAITON INFO
# macli defaults to the system keyring on windows or mac, 
# or gnome-keyring (optional) on linux to store the login information
# if none are available it can be set here 
# but it is not recommended unless it's the only option
#
# if you're using something like termux, this is probably the only option
[auth]
# TODO: add option to ignore system keyring
# ~~can leave blank, macli will set this~~ TODO: make macli set this optionally
token = ""
# run `macli help` for instructions for creating one
client_id = ""
# save newly entered client id when logging in (yes/no)
save_client_id = "yes"
# set this to true if you do not wanna use the system kerying (unsafe)
no_system_keyring = false # `macli login -k` works similarly

[global]
# NSFW rated search results and list items
nsfw = true

# default settings (can be overridden by corresponding flags, `macli --help` for more details)
[searching]
prompt_length = 5 # length of anime/manga selection prompt when searching (default: 5)
search_length = 10 # amount of search results to get (default: 10)
search_offset = 0 # offset for the search results (default is 0, changing it is here not recommended as it may cause confusion)
auto_select_n = 0 # automatically select nth option while searching (0 means disabled)

[lists]
# TODO: add default sort types, etc
list_length = 15 # amount of titles to show from user's list
list_offset = 0 # offset for the results (default is 0, changing it here is not recommended as it may cause confusion)