summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.go b/config.go
index 30c76db..23754e4 100644
--- a/config.go
+++ b/config.go
@@ -6,6 +6,7 @@ package gotop
import (
"bufio"
"bytes"
+ "embed"
"fmt"
"io"
"io/ioutil"
@@ -19,9 +20,12 @@ import (
"github.com/shibukawa/configdir"
"github.com/xxxserxxx/gotop/v4/colorschemes"
"github.com/xxxserxxx/gotop/v4/widgets"
- "github.com/xxxserxxx/lingo"
+ "github.com/xxxserxxx/lingo/v2"
)
+//go:embed "dicts/*.toml"
+var Dicts embed.FS
+
// CONFFILE is the name of the default config file
const CONFFILE = "gotop.conf"