diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-12-25 11:17:51 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-12-25 11:17:51 +0530 |
| commit | 3c1f75e8cf8d88287e6b501fda61aec9effa97ee (patch) | |
| tree | 0f7b2245d42b24630b3d8a8990e2a36ece3a519a /lib/Daffm/Attrs.hs | |
| parent | 0c3b673e1614677a20f0b0b22af8bd017228b5e0 (diff) | |
| download | daffm-3c1f75e8cf8d88287e6b501fda61aec9effa97ee.tar.gz daffm-3c1f75e8cf8d88287e6b501fda61aec9effa97ee.zip | |
Add owner:group info in out
Diffstat (limited to '')
| -rw-r--r-- | lib/Daffm/Attrs.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Daffm/Attrs.hs b/lib/Daffm/Attrs.hs index f1d4e16..925fe99 100644 --- a/lib/Daffm/Attrs.hs +++ b/lib/Daffm/Attrs.hs @@ -9,6 +9,15 @@ import qualified Graphics.Vty as V fileAttr :: A.AttrName fileAttr = listAttr <> A.attrName "file" +fileTypeAttr :: A.AttrName +fileTypeAttr = listAttr <> A.attrName "file-type" + +fileModeAttr :: A.AttrName +fileModeAttr = listAttr <> A.attrName "file-mode" + +fileOwnerAttr :: A.AttrName +fileOwnerAttr = listAttr <> A.attrName "file-owner" + fileSelectedAttr :: A.AttrName fileSelectedAttr = listSelectedAttr <> fileAttr @@ -42,6 +51,9 @@ appAttrMap = (linkAttr, fg V.brightWhite), (invalidLinkAttr, fg V.red), (fileAttr, fg V.white), + (fileTypeAttr, fg V.white), + (fileOwnerAttr, (fg V.white) { V.attrStyle = V.SetTo V.dim }), + (fileModeAttr, fg V.white), (fileSelectedAttr, fg V.white), (searchMarchAttr, fg V.magenta) ] |
