diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-08-17 22:33:40 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-08-17 22:33:40 +0530 |
commit | adffba663dbe8daebe311dc8f3ae5d40109cb2dd (patch) | |
tree | 0a8aa46d9a297ea346d5092aafd10602df4f0930 /macli.yaml | |
parent | c413effd06e43abd197735915d136124324e24b1 (diff) |
reading config file's defaults while searching
Diffstat (limited to 'macli.yaml')
-rw-r--r-- | macli.yaml | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -5,15 +5,19 @@ # https://vidhukant.xyz/docs/macli # https://github.com/MikunoNaka/macli # +# macli v1.12 onwards support reading this file but +# currently this file may cause unexpected behaviour +# so it is not currently recommended to use it # AUTHENTICAITON INFO # macli defaults to the system keyring on windows or mac, -# or gnome-keyring on linux to store the login information +# 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 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 @@ -22,9 +26,14 @@ auth: save_client_id: "yes" # default settings (can be overridden by corresponding flags, `macli --help` for more details) -defaults: +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 not recommended) + search_offset: 0 # offset for the search results (default is 0, changing it is here not recommended as it may cause confusion) search_nsfw: false # include NSFW rated search results (true/false) +lists: + # TODO: add default sort types, etc + list_offset: 0 # offset for the results (default is 0, changing it here is not recommended as it may cause confusion) + list_length: 15 # amount of titles to show from user's list + include_nsfw_results: false # show NSFW rated items |