ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
2.25k stars 70 forks source link

exmaple TOML config #456

Closed MadSkillZzZz closed 3 weeks ago

MadSkillZzZz commented 3 weeks ago

i dont really know TOML syntax, and also dont know Golang. I have problems with my toml config. It would be nice to get some help and also if there was an example toml config file in the repo

ayn2op commented 3 weeks ago

Default configuration (may change in future):

mouse = true
hide_blocked_users = true
messages_limit = 50
editor = "default"
timestamps = false
timestamps_format = "3:04PM"
show_attachment_links = true

[keys]
  focus_guilds_tree = "Ctrl+G"
  focus_messages_text = "Ctrl+T"
  focus_message_input = "Ctrl+P"
  toggle_guilds_tree = "Ctrl+B"
  select_previous = "Rune[k]"
  select_next = "Rune[j]"
  select_first = "Rune[g]"
  select_last = "Rune[G]"
  logout = "Ctrl+D"
  quit = "Ctrl+C"
  [keys.guilds_tree]
    select_current = "Enter"
  [keys.messages_text]
    select_reply = "Rune[s]"
    select_pin = "Rune[p]"
    reply = "Rune[r]"
    reply_mention = "Rune[R]"
    delete = "Rune[d]"
    yank = "Rune[y]"
    open = "Rune[o]"
  [keys.message_input]
    send = "Enter"
    editor = "Ctrl+E"
    cancel = "Esc"

[theme]
  border = true
  border_color = "default"
  border_padding = [0, 0, 1, 1]
  title_color = "default"
  background_color = "default"
  [theme.guilds_tree]
    auto_expand_folders = true
    channel_color = "white"
    graphics = true
    guild_color = "white"
    private_channel_color = "white"
  [theme.messages_text]
    reply_indicator = "╭ "
    author_color = "aqua"
    content_color = "white"
    emoji_color = "green"
    link_color = "blue"
    attachment_color = "yellow"
MadSkillZzZz commented 3 weeks ago

yo, thanks!

вт, 29 окт. 2024 г. в 06:00, Ayyan @.***>:

Default configuration (may change in future):

mouse = truehide_blocked_users = truemessages_limit = 50editor = "default"timestamps = falsetimestamps_format = "3:04PM"show_attachment_links = true

[keys] focus_guilds_tree = "Ctrl+G" focus_messages_text = "Ctrl+T" focus_message_input = "Ctrl+P" toggle_guilds_tree = "Ctrl+B" select_previous = "Rune[k]" select_next = "Rune[j]" select_first = "Rune[g]" select_last = "Rune[G]" logout = "Ctrl+D" quit = "Ctrl+C" [keys.guilds_tree] select_current = "Enter" [keys.messages_text] select_reply = "Rune[s]" select_pin = "Rune[p]" reply = "Rune[r]" reply_mention = "Rune[R]" delete = "Rune[d]" yank = "Rune[y]" open = "Rune[o]" [keys.message_input] send = "Enter" editor = "Ctrl+E" cancel = "Esc"

[theme] border = true border_color = "default" border_padding = [0, 0, 1, 1] title_color = "default" background_color = "default" [theme.guilds_tree] auto_expand_folders = true channel_color = "white" graphics = true guild_color = "white" private_channel_color = "white" [theme.messages_text] reply_indicator = "╭ " author_color = "aqua" content_color = "white" emoji_color = "green" link_color = "blue" attachment_color = "yellow"

— Reply to this email directly, view it on GitHub https://github.com/ayn2op/discordo/issues/456#issuecomment-2443007835, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCGR4MMBI563OXEKULEK6KLZ53T3LAVCNFSM6AAAAABQYXAZTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBTGAYDOOBTGU . You are receiving this because you authored the thread.Message ID: @.***>

MadSkillZzZz commented 3 weeks ago

Thanks so much

вт, 29 окт. 2024 г., 06:00 Ayyan @.***>:

Default configuration (may change in future):

mouse = truehide_blocked_users = truemessages_limit = 50editor = "default"timestamps = falsetimestamps_format = "3:04PM"show_attachment_links = true

[keys] focus_guilds_tree = "Ctrl+G" focus_messages_text = "Ctrl+T" focus_message_input = "Ctrl+P" toggle_guilds_tree = "Ctrl+B" select_previous = "Rune[k]" select_next = "Rune[j]" select_first = "Rune[g]" select_last = "Rune[G]" logout = "Ctrl+D" quit = "Ctrl+C" [keys.guilds_tree] select_current = "Enter" [keys.messages_text] select_reply = "Rune[s]" select_pin = "Rune[p]" reply = "Rune[r]" reply_mention = "Rune[R]" delete = "Rune[d]" yank = "Rune[y]" open = "Rune[o]" [keys.message_input] send = "Enter" editor = "Ctrl+E" cancel = "Esc"

[theme] border = true border_color = "default" border_padding = [0, 0, 1, 1] title_color = "default" background_color = "default" [theme.guilds_tree] auto_expand_folders = true channel_color = "white" graphics = true guild_color = "white" private_channel_color = "white" [theme.messages_text] reply_indicator = "╭ " author_color = "aqua" content_color = "white" emoji_color = "green" link_color = "blue" attachment_color = "yellow"

— Reply to this email directly, view it on GitHub https://github.com/ayn2op/discordo/issues/456#issuecomment-2443007835, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCGR4MMBI563OXEKULEK6KLZ53T3LAVCNFSM6AAAAABQYXAZTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBTGAYDOOBTGU . You are receiving this because you authored the thread.Message ID: @.***>