summaryrefslogtreecommitdiff
path: root/config.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix failing on addresses with a literal IP address without URLsdelthas2022-12-221-2/+1
| | | | | | The configuration addr 127.0.0.1:12345 should now work again.
* Fix failing to parse host:port IRC URLsdelthas2022-12-021-3/+6
| | | | | | This fixes a regression introduced in [1]. [1]: 68e1efcf0612c635ea186676559883e791552d30
* Support irc URLs in the config addrdelthas2022-11-221-0/+16
| | | | Fixes: https://todo.sr.ht/~taiite/senpai/106
* Revert to using base colors by default, making extended configurabledelthas2022-08-151-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In a previous commit, the color scheme for displaying nicks was changed to use more colors (30 rather than 14), using extended colors from the 256 colors set. The issue with this is that most terminal emulators customize the colors of the first 16 colors to make them more readable (eg, a terminal emulator with a light theme will make colors darker, and one with a dark theme will make colors lighter). So the 14 colors used before were usually not the default color codes from the original xterm/X11 spec, but specific colors chosen by the terminal emulator to be particularly readable. In a way, changing the behavior to use colors from the 256 colors set, which is usually not overriden, made them much less readable. Which is why we need a configuration option for this. I conversatively chose to make the default color scheme the previous one, with only the base 16 colors. The 256 colors scheme can be enable by adding to the configuration file: colors { nicks extended }
* Add a config option to beep on highlightKirill Chibisov2022-08-011-0/+11
| | | | | This will allow to bring user attention when you are getting highlighted.
* Add pane-widths { text } to limit the max line widthdelthas2022-07-251-0/+11
| | | | Fixes: https://todo.sr.ht/~taiite/senpai/87
* Enable specifying the size of disabled channel & member columnsdelthas2022-04-291-2/+8
|
* Add a config option for unread buffer text colorTim Culverhouse2022-04-201-16/+20
| | | | | | | This patch adds the ability to set a config option for changing the foreground text color of unread buffers (This was refactored slightly by delthas.)
* Show/hide the channel & member list with F7/F8delthas2022-04-201-27/+41
| | | | | | | This patch is inspired and modified from a patch by mooff. Also this switches the default configuration to *display* the channel & member list by default.
* config: remove debugging fmt.PrintlnAlexey Yerin2021-11-291-1/+0
|
* Only use first line of `password-cmd` outputAlex McGrath2021-11-241-2/+4
|
* Tidy thingsHubert Hirtz2021-11-231-9/+1
|
* config: replace YAML with scfg config formatKalyan Sriram2021-11-231-57/+215
| | | | | | | | | | | | | | | | This patch replaces the YAML configuration format with scfg (https://git.sr.ht/~emersion/scfg). Additionally, a few things about configuration are cleaned up: * abbreviated names are expanded (addr -> address, nick -> nickname) * negative bools switched to positive (no-tls -> tls) * independent column widths are grouped under the "pane-width" directive * implementation of default configuration values is improved * password-cmd is executed directly (with scfg field parsing) instead of with "sh -c". * on-highlight is now a file, $XDG_CONFIG_HOME/senpai/highlight by default, which can be changed with the on-highlight-path directive
* config: allow specifying an external password cmdKalyan Sriram2021-10-221-7/+26
| | | | | | Storing passwords in plaintext in your configuration file is dangerous! This patch adds support for fetching a password from an external command (i.e. `gpg`, `pass`, `gopass`).
* Don't show the member list by defaultHubert Hirtz2021-09-011-2/+2
|
* Channel list is horizontal by defaultHubert Hirtz2021-09-011-2/+2
|
* ui: Introduce a vertical member list on channelsdelthas2021-07-141-4/+8
| | | | | | | | Also, fix the UI timeline clearing too much, as well as the status line. Also, remove the width in the editor and buffer list constructors. We were initializing them with wrong values, only to overwrite these values with correct ones later in Resize().
* Automatically join channels on startdelthas2021-07-131-1/+2
| | | | | Supporting channels with keys and merging JOINs in a single message is TODO for later. :)
* Add colors.prompt option to set prompt colorAlexey Yerin2021-05-281-0/+42
|
* Better error reporting about configuration fileHubert Hirtz2021-04-301-2/+8
| | | | | | | - Better errors in config.go - Do not print useless timestamps in cmd/senpai/main.go - Let os.UserConfigDir() and senpai.NewApp() call panic on error since they both should not fail.
* Make mouse support optionalAlexey Yerin2021-04-281-0/+1
| | | | | | To not break existing users, mouse is enabled by default but you have an option to disable it with "mouse: false" in your /.confg/senpai/senpai.yaml.
* Add option to disable sending typing notificationsHubert Hirtz2021-04-271-0/+2
|
* Add a no-tls option to configHubert Hirtz2021-02-211-0/+1
|
* Move configuration defaults to config.goHubert Hirtz2020-11-301-0/+13
|
* Configurable channel list widthHubert Hirtz2020-11-071-0/+4
|
* ui: Notify on highlight (or execute any command)Hubert Hirtz2020-08-191-1/+2
|
* ui: Configurable nick column widthHubert Hirtz2020-08-161-6/+11
|
* Add a -debug flag and show raw messagesHubert Hirtz2020-08-051-0/+2
|
* Configurable highlightsHubert Hirtz2020-08-051-9/+11
|
* Use nick/realname from configSimon Ser2020-06-211-0/+2
| | | | Use the nick/realname config options advertised by the README.
* Initial commitHubert Hirtz2020-06-031-0/+30