diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-10-02 18:43:24 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-10-02 18:43:24 +0530 |
| commit | 51e29e21ca118ec690f20eaaf7b2b42c0a90e5e6 (patch) | |
| tree | 455b215c64d493bda6a8d6bb689a02c58b15567f /lib/Daffm/Attrs.hs | |
| parent | 5364332c05749268000c2ac3f0e6880f965e5fdc (diff) | |
| download | daffm-51e29e21ca118ec690f20eaaf7b2b42c0a90e5e6.tar.gz daffm-51e29e21ca118ec690f20eaaf7b2b42c0a90e5e6.zip | |
Simple file explorer ui
Diffstat (limited to '')
| -rw-r--r-- | lib/Daffm/Attrs.hs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Daffm/Attrs.hs b/lib/Daffm/Attrs.hs new file mode 100644 index 0000000..93a4163 --- /dev/null +++ b/lib/Daffm/Attrs.hs @@ -0,0 +1,17 @@ +module Daffm.Attrs where + +import qualified Brick.AttrMap as A +import Brick.Util (fg) +import qualified Brick.Widgets.List as L +import qualified Graphics.Vty as V + +selectedFileAttr :: A.AttrName +selectedFileAttr = A.attrName "selected-file" + +appAttrMap :: A.AttrMap +appAttrMap = + A.attrMap + V.defAttr + [ (L.listAttr, fg V.white), + (selectedFileAttr, fg V.cyan) + ] |
