From 99c363b7249d52d484b736ef24dbc5bff70b86ae Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Wed, 12 Jun 2019 08:31:52 +0200 Subject: Set empty message in dirlist if no folder exist. --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/config.go') diff --git a/config/config.go b/config/config.go index 8e669f7..9295a1d 100644 --- a/config/config.go +++ b/config/config.go @@ -26,6 +26,7 @@ type UIConfig struct { SidebarWidth int `ini:"sidebar-width"` PreviewHeight int `ini:"preview-height"` EmptyMessage string `ini:"empty-message"` + EmptyDirlist string `ini:"empty-dirlist"` } const ( @@ -259,6 +260,7 @@ func LoadConfig(root *string, sharedir string) (*AercConfig, error) { SidebarWidth: 20, PreviewHeight: 12, EmptyMessage: "(no messages)", + EmptyDirlist: "(no folders)", }, } // These bindings are not configurable -- cgit v1.2.3