config.toml 3.2 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. # Whether to parse and render markdown in messages or not.
  9. markdown = true
  10. # Timestamps uses Go timestamp format
  11. # See: https://gosamples.dev/date-time-format-cheatsheet
  12. [timestamps]
  13. enabled = true
  14. format = "3:04PM"
  15. [notifications]
  16. enabled = true
  17. duration = 500
  18. [notifications.sound]
  19. enabled = true
  20. only_on_ping = true
  21. # How Discord sees us.
  22. # status: "online", "idle", "dnd" (Do Not Disturb), "" (invisible),
  23. # note: does not seem to work
  24. [identify]
  25. status = "online"
  26. browser = "default"
  27. browser_version = "default"
  28. user_agent = "default"
  29. # Global shortcuts
  30. # Esc: Reset message selection or close the channel selection popup.
  31. [keys]
  32. focus_guilds_tree = "Ctrl+G"
  33. focus_messages_text = "Ctrl+T"
  34. focus_message_input = "Ctrl+P"
  35. # Hide/show the guilds tree
  36. toggle_guilds_tree = "Ctrl+B"
  37. quit = "Ctrl+C"
  38. # Log out and remove the authentication token from keyring.
  39. # Requires re-login upon restart.
  40. logout = "Ctrl+D"
  41. # Only while focusing on the guilds tree
  42. [keys.guilds_tree]
  43. select_previous = "Rune[k]"
  44. select_next = "Rune[j]"
  45. select_first = "Rune[g]"
  46. select_last = "Rune[G]"
  47. # Select the currently highlighted text-based channel or expand a guild or channel.
  48. select_current = "Enter"
  49. yank_id = "Rune[i]"
  50. collapse_parent_node = "Rune[-]"
  51. move_to_parent_node = "Rune[p]"
  52. # Only while focusing on sent messages
  53. [keys.messages_text]
  54. select_previous = "Rune[k]"
  55. select_next = "Rune[j]"
  56. select_first = "Rune[g]"
  57. select_last = "Rune[G]"
  58. # Select the message reference (reply) of the selected channel.
  59. select_reply = "Rune[s]"
  60. # Reply to the selected message.
  61. reply = "Rune[r]"
  62. # Reply (with mention) to the selected message.
  63. reply_mention = "Rune[R]"
  64. cancel = "Esc"
  65. delete = "Rune[d]"
  66. # Open the selected message's attachments or hyperlinks in the message
  67. # using the default browser application.
  68. open = "Rune[o]"
  69. # Yank (copy) the selected message's content/url/id.
  70. yank_content = "Rune[y]"
  71. yank_url = "Rune[u]"
  72. yank_id = "Rune[i]"
  73. # Only while typing a message
  74. # Alt+Enter: Insert a new line to the current text.
  75. [keys.message_input]
  76. # Send the message.
  77. send = "Enter"
  78. # Open message input in your editor.
  79. editor = "Ctrl+E"
  80. # Remove existing text or cancel reply.
  81. cancel = "Esc"
  82. # Applies to all
  83. [theme]
  84. background_color = "default"
  85. [theme.title]
  86. alignment = "left"
  87. # style supports foreground and background.
  88. style = { foreground = "default" }
  89. active_style = { foreground = "green" }
  90. [theme.border]
  91. enabled = true
  92. # [top, bottom, left, right]
  93. padding = [0, 0, 1, 1]
  94. set = "round"
  95. style = { foreground = "default" }
  96. active_style = { foreground = "green" }
  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_style = { foreground = "aqua" }
  111. mention_style = { foreground = "blue" }
  112. emoji_style = { foreground = "green" }
  113. url_style = { foreground = "blue" }
  114. attachment_style = { foreground = "yellow" }