config.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. # Enable mouse controls
  2. mouse = true
  3. # "default" means use $EDITOR.
  4. editor = "default"
  5. hide_blocked_users = true
  6. show_attachment_links = true
  7. messages_limit = 50
  8. markdown_enabled = true
  9. # Timestamps uses Go timestamp format
  10. # See: https://gosamples.dev/date-time-format-cheatsheet
  11. [timestamps]
  12. enabled = true
  13. format = "3:04PM"
  14. [notifications]
  15. enabled = true
  16. duration = 500
  17. [notifications.sound]
  18. enabled = true
  19. only_on_ping = true
  20. # How Discord sees us.
  21. # status: "online", "idle", "dnd" (Do Not Disturb), "" (invisible),
  22. # note: does not seem to work
  23. [identify]
  24. status = "online"
  25. browser = "default"
  26. browser_version = "default"
  27. user_agent = "default"
  28. # Global shortcuts
  29. # Esc: Reset message selection or close the channel selection popup.
  30. [keys]
  31. focus_guilds_tree = "Ctrl+G"
  32. focus_messages_text = "Ctrl+T"
  33. focus_message_input = "Ctrl+P"
  34. # Hide/show the guilds tree
  35. toggle_guilds_tree = "Ctrl+B"
  36. quit = "Ctrl+C"
  37. # Log out and remove the authentication token from keyring.
  38. # Requires re-login upon restart.
  39. logout = "Ctrl+D"
  40. # Only while focusing on the guilds tree
  41. [keys.guilds_tree]
  42. select_previous = "Rune[k]"
  43. select_next = "Rune[j]"
  44. select_first = "Rune[g]"
  45. select_last = "Rune[G]"
  46. # Select the currently highlighted text-based channel or expand a guild or channel.
  47. select_current = "Enter"
  48. yank_id = "Rune[i]"
  49. collapse_parent_node = "Rune[-]"
  50. move_to_parent_node = "Rune[p]"
  51. # Only while focusing on sent messages
  52. [keys.messages_text]
  53. select_previous = "Rune[k]"
  54. select_next = "Rune[j]"
  55. select_first = "Rune[g]"
  56. select_last = "Rune[G]"
  57. # Select the message reference (reply) of the selected channel.
  58. select_reply = "Rune[s]"
  59. # Reply to the selected message.
  60. reply = "Rune[r]"
  61. # Reply (with mention) to the selected message.
  62. reply_mention = "Rune[R]"
  63. cancel = "Esc"
  64. delete = "Rune[d]"
  65. # Open the selected message's attachments or hyperlinks in the message
  66. # using the default browser application.
  67. open = "Rune[o]"
  68. # Yank (copy) the selected message's content/url/id.
  69. yank_content = "Rune[y]"
  70. yank_url = "Rune[u]"
  71. yank_id = "Rune[i]"
  72. # Only while typing a message
  73. # Alt+Enter: Insert a new line to the current text.
  74. [keys.message_input]
  75. # Send the message.
  76. send = "Enter"
  77. # Open message input in your editor.
  78. editor = "Ctrl+E"
  79. # Remove existing text or cancel reply.
  80. cancel = "Esc"
  81. # Applies to all
  82. [theme]
  83. background_color = "default"
  84. [theme.title]
  85. # Title color of non-focused widgets
  86. color = "default"
  87. # Title color of the focused widget
  88. active_color = "green"
  89. align = "left"
  90. [theme.border]
  91. enabled = true
  92. # [top, bottom, left, right]
  93. padding = [0, 0, 1, 1]
  94. color = "default"
  95. active_color = "green"
  96. preset = "round"
  97. [theme.guilds_tree]
  98. auto_expand_folders = true
  99. # Give tree-like shape
  100. graphics = true
  101. private_channel_color = "white"
  102. guild_color = "white"
  103. channel_color = "white"
  104. [theme.messages_text]
  105. # Set to false to show messages with usernames instead of nicknames
  106. show_user_nicks = true
  107. show_user_colors = true
  108. reply_indicator = ">"
  109. forwarded_indicator = "<"
  110. author_color = "aqua"
  111. content_color = "white"
  112. emoji_color = "green"
  113. link_color = "blue"
  114. attachment_color = "yellow"