diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-03-02 20:15:48 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-03-02 20:15:48 +0300 |
| commit | 0c354b9066d421daa0797b68064cb7c40aa37d52 (patch) | |
| tree | 957e5ca8444c6ad642cf6dedf8a2ff5865d1802c /auth | |
| parent | b2588387676d18b3adf6fa7b2e4edb24e03512fc (diff) | |
*/*: Refactor auth config
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'auth')
| -rw-r--r-- | auth/config/donmai.zsh | 2 | ||||
| -rw-r--r-- | auth/config/gelbooru.zsh | 1 | ||||
| -rw-r--r-- | auth/config/moebooru.zsh | 2 | ||||
| -rw-r--r-- | auth/config/sankakucomplex.zsh | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/auth/config/donmai.zsh b/auth/config/donmai.zsh index fec7316..e3f5c77 100644 --- a/auth/config/donmai.zsh +++ b/auth/config/donmai.zsh @@ -5,9 +5,11 @@ case "${ib_board}" in (a) ib_auth="https://safebooru.donmai.us" + ib_config="safebooru" ;; (d) ib_auth="https://danbooru.donmai.us" + ib_config="danbooru" ;; esac diff --git a/auth/config/gelbooru.zsh b/auth/config/gelbooru.zsh index 7cb059d..6637c67 100644 --- a/auth/config/gelbooru.zsh +++ b/auth/config/gelbooru.zsh @@ -4,6 +4,7 @@ ib_auth=0 ib_raw=0 +ib_config="gelbooru" ib_login_file="user_id" ib_key_file="api_key" ib_login_word="user ID" diff --git a/auth/config/moebooru.zsh b/auth/config/moebooru.zsh index 7319352..1143298 100644 --- a/auth/config/moebooru.zsh +++ b/auth/config/moebooru.zsh @@ -5,9 +5,11 @@ case "${ib_board}" in (k) ib_auth="https://konachan.com" + ib_config="konachan" ;; (y) ib_auth="https://yande.re" + ib_config="yandere" ;; esac diff --git a/auth/config/sankakucomplex.zsh b/auth/config/sankakucomplex.zsh index a34318f..808b840 100644 --- a/auth/config/sankakucomplex.zsh +++ b/auth/config/sankakucomplex.zsh @@ -5,9 +5,11 @@ case "${ib_board}" in (i) ib_auth="https://i.sankakuapi.com" + ib_config="idolcomplex" ;; (s) ib_auth="https://sankakuapi.com" + ib_config="sankakuchannel" ;; esac |
