Last active
May 26, 2021 09:57
-
-
Save axionl/b92de343031ad9d93cb7d69d7fb60500 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title = "QRay Configuration Example" | |
config_version = "0.1.0" | |
# https://toml.io/en/v1.0.0 | |
toml_version = "1.0.0" | |
[options] | |
[options.interface] | |
# ["en_US", "zh_CN"] | |
language = "en_US" | |
[options.theme] | |
# ["default-light", "dark"] | |
theme = "default-light" | |
# include *.toml from directory | |
include_dir = "$HOME/.local/share/qray_themes/" | |
[options.connections] | |
db_path = "$HOME/.config/qray/connections.db" | |
update_proxy = true | |
[options.update] | |
auto_update = false | |
check_update = true | |
# ["stable", "develop"] | |
update_channel = "stable" | |
[core] | |
core_path = "/usr/bin/v2ray" | |
assets_path = "/usr/share/v2ray" | |
# ["none", "debug", "info", "warning", "error"] | |
log_level = "warning" | |
log_lines = 500 | |
[core.api] | |
enable = true | |
port = 15490 | |
[inbound] | |
listening_address = "127.0.0.1" | |
[inbound.socks] | |
enable = true | |
port = 1089 | |
[inbound.socks.auth] | |
enable = false | |
username = "" | |
password = "" | |
[inbound.http] | |
enable = true | |
port = 8888 | |
[inbound.http.auth] | |
enable = false | |
username = "" | |
password = "" | |
[latency] | |
# ["tcping", "icmp"] | |
method = "tcping" | |
url = "https://www.google.com" | |
[latency.tcping] | |
user_agent = "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.7113.93 Safari/537.36" | |
[[themes]] | |
name = "default-light" | |
[themes.tray] | |
# ["line", "block"] | |
stylish = "line" | |
# ["light", "dark", "colorful"] | |
color = "light" | |
[themes.banner] | |
# if disable, that use `background_color` as default | |
enable = false | |
# qrc source or image file url | |
background_image = "qrc:/icons/card_background.jpg" | |
background_opacity = 0.9 | |
[themes.colors] | |
text_color = "#3f3f3f" | |
background_color = "#ffffff" | |
highlight_color = "#6bbdbd" | |
highlight_text_color = "#ffffff" | |
warn_color = "#ff6767" | |
warn_text_color = "#ffffff" | |
shadow_color = "#29000000" | |
border_color = "#27707070" | |
deep_color = "#6badad" | |
deep_text_color = "#ffffff" | |
characteristic_color = "#bbde5e" | |
characteristic_text_color = "#ffffff" | |
[[themes]] | |
name = "dark" | |
[themes.tray] | |
stylish = "line" | |
color = "light" | |
[themes.banner] | |
enable = false | |
background_image = "qrc:/icons/card_background.jpg" | |
background_opacity = 0.9 | |
[themes.colors] | |
text_color = "#3f3f3f" | |
background_color = "#3b4252" | |
highlight_color = "#5e81ac" | |
highlight_text_color = "#eceff4" | |
warn_color = "#bf616a" | |
warn_text_color = "#ffffff" | |
shadow_color = "#29000000" | |
border_color = "#3381a1c1" | |
deep_color = "#2e3440" | |
deep_text_color = "#ffffff" | |
characteristic_color = "#bbde5e" | |
characteristic_text_color = "#ffffff" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment