about summary refs log tree commit diff stats
path: root/config/config.go
Commit message (Collapse)AuthorAgeFilesLines
* Allow custom spinner via config filePaul Spooren2019-08-301-0/+5
| | | | | | | | | | | Allows to set `ui.spinner=` to a string which is then split by `ui.spinner-delimiter=` (Default: comma) instead of having a hard coded animation. This implementation doesn't use INIs capabilities to split strings as it trims whitespaces breaking the default animation. Signed-off-by: Paul Spooren <mail@aparcar.org>
* Pass os stdin to credential commandJonas Mueller2019-08-121-0/+1
| | | | | This is neccessary for `gpg-agent` to display a prompt and get the key to unlock a given password. See https://todo.sr.ht/~sircmpwn/aerc2/250.
* Ring bell when new messages arrive 0.2.0Ben Burwell2019-07-291-0/+2
| | | | | | | | Add a "new-message-bell" option to the UI section of aerc.conf. A new hook into the message store allows the msglist widget to detect new messages being added to the displayed list. When new messages are delivered, and the new-message-bell option is enabled (as it is by default), the terminal will beep.
* Print errors from config load issues.Reto Brunner2019-07-291-3/+3
| | | | | | Currently we /dev/null stdout, if it is a tty. The checkConfigPerms function, as well as the error print were incorrectly writing to stdout and therefore weren't visible to most users.
* Support configurable header layout in compose widgetDaniel Bridges2019-07-261-1/+15
|
* Add new-email triggerJeffas2019-07-261-0/+11
| | | | | | | | | | | | | | | | | This patch sets up the trigger config section of aerc.conf. Each trigger has its own function which is called from the place where it is triggered. Currently only the new-email trigger is implemented. The triggers make use of format strings. For instance, in the new-email trigger this allows the user to select the trigger command and also the information extracted from the command and placed into their command. To actually execute the trigger commands the keypresses are simulated. Further triggers can be implemented in the future. Formatting of the command is moved to a new package.
* Add :cp alias for :copyDrew DeVault2019-07-171-2/+2
|
* Add option to always show mimetype in viewerJeffas2019-07-171-4/+5
| | | | | | | | | | A user may want to be able to see what mimetype they are viewing, so that they can determine what program it may be opened in or for some other reason. The config option is under the [viewer] section and is called 'always-show-mime'. It defaults to false to preserve the current behaviour.
* Display user specified headers in viewer if presentDaniel Bridges2019-07-171-1/+25
|
* Add MouseEnabled config settingJeffas2019-07-171-0/+2
| | | | | This patch adds the ability to control whether aerc captures mouseevents or not. By default it will be set to not capture events.
* 71: Allow user to change config options at runtimePedro L. Ramos2019-07-151-50/+59
| | | | | | | | | There is a LoadConf and a LoadConfFromFile. LoadConfFromFile reads the iniFile into memory and and calls LoadConf, which executes the old parsing commands from LoadConf (old func). The remaining of the LoadConfFromFile is the same as the old OldConf.
* Don't bind $noinheritEyal Sawady2019-07-111-0/+1
| | | | | | Fixes #112 Signed-off-by: Eyal Sawady <eyalsawady@gmail.com>
* add DefaultSavePath configReto Brunner2019-06-251-0/+10
|
* Set empty message in dirlist if no folder exist.Reto Brunner2019-06-141-0/+2
|
* Add archive commandRobert Günzler2019-06-091-0/+4
| | | | | | | | | | | | | | | Adds an archive command that moves the current message into the folder specified in the account config entry. Supports three layouts at this point: - flat: puts all messages next to each other - year: creates a folder per year - month: same as above, plus folders per month This also adds a "-p" argument to "cp" and "mv" that works like "--parents" on mkdir(1). We use this to auto-create the directories for the archive layout.
* Message list: implement index-format optionYash Srivastav2019-06-071-2/+2
|
* implements ability to view headers in message viewYash Srivastav2019-06-071-0/+1
|
* config: sort account foldersChris Kinniburgh2019-06-051-1/+4
| | | | directory list depends on these being sorted
* Install default configs to XDG config if not foundDrew DeVault2019-05-221-4/+34
|
* Show account wizard if no accounts configuredDrew DeVault2019-05-221-6/+3
|
* New account wizard, part oneDrew DeVault2019-05-211-0/+9
|
* Use kebab-case for cred-cmdsDrew DeVault2019-05-211-2/+2
|
* Implement loading passwords from external commandsGalen Abell2019-05-181-8/+61
| | | | * Resolves #80
* Implement ui.empty-message config optionDrew DeVault2019-05-171-4/+0
| | | | | Also removes some options that aren't going to be supported any time soon.
* Abort if accounts.conf is world readableReto Brunner2019-05-161-1/+26
| | | | Fixes #32
* Revert "Abort if accounts.conf is world readable"Drew DeVault2019-05-161-25/+1
| | | | This reverts commit a755608ef9d5893b68dc4c774bbda06503481552.
* Revert "s/aerc.conf/address.conf/ in permission check"Drew DeVault2019-05-161-1/+1
| | | | This reverts commit 66ba099ca0bfa83cd050050d92663ec45da20141.
* s/aerc.conf/address.conf/ in permission checkCole Helbling2019-05-161-1/+1
| | | | | Small typo in a recent commit: should abort if accounts.conf is world readable, not aerc.conf.
* Abort if accounts.conf is world readableReto Brunner2019-05-161-1/+25
| | | | Fixes #32
* Copy sent emails to the Sent folderDrew DeVault2019-05-151-0/+3
| | | | Or rather, to a user-specified folder
* Add $EDITOR, internal config for composeDrew DeVault2019-05-141-0/+10
|
* Add distinct keybindings for each compose viewDrew DeVault2019-05-141-10/+17
|
* Populate "From" header from config for new emailsDrew DeVault2019-05-131-0/+3
|
* Add outgoing account configurationDrew DeVault2019-05-121-5/+8
|
* Use shell to execute filters, fix non-determinismDrew DeVault2019-03-311-1/+2
|
* Improve plaintext.pyDrew DeVault2019-03-311-1/+0
|
* Implement header-regex-match filtersDrew DeVault2019-03-311-4/+18
|
* Add basic filter implementationDrew DeVault2019-03-311-0/+47
|
* Handle no configured accounts gracefullyJulian P Samaroo2019-03-301-0/+4
| | | | | Instead of throwing a runtime error, when no accounts are configured in accounts.conf, we provide an informative error message.
* Add context-specific keybindingsDrew DeVault2019-03-211-12/+72
|
* Implement default in accounts.confDrew DeVault2019-03-151-4/+7
|
* Remove extra debug log statementDrew DeVault2019-03-151-1/+0
|
* Implement sidebar-width config optionDrew DeVault2019-03-151-7/+10
|
* Implement key bindings subsystemDrew DeVault2019-03-151-2/+14
| | | | Which is not yet rigged up
* Misc idiomatic fixesemersion2018-01-101-15/+9
|
* Parse account configurationDrew DeVault2018-01-091-0/+45
|
* Initial pass on worker/UI message passingDrew DeVault2018-01-091-5/+4
|
* Load UI configurationDrew DeVault2018-01-091-0/+85