aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/attach.go
diff options
context:
space:
mode:
authorJohannes Thyssen Tishman <johannes@thyssentishman.com>2024-03-26 23:00:50 +0100
committerRobin Jarry <robin@jarry.cc>2024-04-02 22:22:33 +0200
commit3d529aa09330f383298a5735a18549b44bc3098f (patch)
treea075dbdde8c4ecbfda22dc92ce97949a8d6b69b2 /commands/compose/attach.go
parent1ce82f50d0981a9ee047e75d94c7ab496070bd4a (diff)
downloadaerc-3d529aa09330f383298a5735a18549b44bc3098f.tar.gz
config: make popover dialogs configurable
Add the [ui].dialog-{position,width,height} options in aerc.conf to set the position, width and height of popover dialogs such as the one from :menu, :envelope or :attach -m relative to the main window. Changelog-added: Add `[ui].dialog-{position,width,height}` to set the position, width and height of popover dialogs. Signed-off-by: Johannes Thyssen Tishman <johannes@thyssentishman.com> Reviewed-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/compose/attach.go')
-rw-r--r--commands/compose/attach.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/compose/attach.go b/commands/compose/attach.go
index 2cf43e80..c86b0f4f 100644
--- a/commands/compose/attach.go
+++ b/commands/compose/attach.go
@@ -177,7 +177,7 @@ func (a Attach) openMenu() error {
}
}
- app.AddDialog(app.LargeDialog(
+ app.AddDialog(app.DefaultDialog(
ui.NewBox(t, "File Picker", "", app.SelectedAccountUiConfig()),
))