From c27319552d138bf6f853c8d9cc7eb2af24c27136 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 20 May 2024 18:53:38 +0530 Subject: made 'nsfw' in config file global --- macli.toml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'macli.toml') diff --git a/macli.toml b/macli.toml index 69ee259..2dddd19 100644 --- a/macli.toml +++ b/macli.toml @@ -1,9 +1,8 @@ # sample macli configuration file # can be placed (and accessed in the same order) -# at ./macli.yaml, ~/.config/macli/macli.yaml or /etc/macli/macli.yaml +# at ./macli.toml, ~/.config/macli/macli.toml or /etc/macli/macli.toml # -# https://vidhukant.xyz/docs/macli -# https://github.com/MikunoNaka/macli +# https://git.vidhukant.com/macli # AUTHENTICAITON INFO # macli defaults to the system keyring on windows or mac, @@ -23,16 +22,18 @@ 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) -search_nsfw = false # include NSFW rated search results (true/false) 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) -include_nsfw_results = false # show NSFW rated items -- cgit v1.2.3