aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoni Sawicki <tenox@google.com>2022-04-03 23:10:18 -0700
committerAntoni Sawicki <tenox@google.com>2022-04-03 23:10:18 -0700
commit7b9ddd18f9f9388bf9f8e7e674fdb539afde81e6 (patch)
treeb8a54dd6f1bec2864267fcd437da7617a0ced9f2
parent510aa58d50ef62aa7e248c9381f9216c02c54eb9 (diff)
downloadwfm-7b9ddd18f9f9388bf9f8e7e674fdb539afde81e6.tar.gz
change text icons
-rw-r--r--TODO.md1
-rw-r--r--dir.go4
2 files changed, 3 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index 9af2000..de789a5 100644
--- a/TODO.md
+++ b/TODO.md
@@ -24,6 +24,7 @@
* html as template
## File IO
+* file search function
* path prefix, required for docker
* udf iso format https://github.com/mogaika/udf
* zip/unzip archives
diff --git a/dir.go b/dir.go
index e351f98..30da168 100644
--- a/dir.go
+++ b/dir.go
@@ -263,7 +263,7 @@ func icons(b bool) map[string]string {
"rm": "&#x274C;",
"mv": "&#x1F69A;",
"re": "&#x1F4AC;",
- "ed": "&#x1F52C;",
+ "ed": "&#x1F4DD;",
"dn": "&#x1F4BE;",
"tcd": "&#x1F371; ",
@@ -320,7 +320,7 @@ func fileIcon(f string, m bool) string {
case "imd", "img", "raw", "dd", "tap", "dsk":
return "&#x1F4BE;"
case "txt", "log", "csv", "md", "mhtml", "html", "htm", "cfg", "conf", "ini", "json", "xml":
- return "&#x1F4DD;"
+ return "&#x1F5D2;"
case "pdf", "ps", "doc", "docx", "xls", "xlsx", "rtf":
return "&#x1F4DA;"
case "url", "desktop", "webloc":