Преглед на файлове

feat(themes): add example config for icon_overrides

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens преди 1 година
родител
ревизия
bff11da527
променени са 1 файла, в които са добавени 50 реда и са изтрити 0 реда
  1. 50 0
      themes/theme.yml

+ 50 - 0
themes/theme.yml

@@ -0,0 +1,50 @@
+filekinds:
+  normal:
+    foreground: Blue
+  directory:
+    foreground: Blue
+  symlink:
+    foreground: Cyan
+  executable:
+    foreground: Green
+perms:
+  user_read:
+    foreground: Yellow
+    is_bold: true
+  user_write:
+    foreground: Red
+    is_bold: true
+  user_execute_file:
+    foreground: Green
+    is_bold: true
+  user_execute_other:
+    foreground: Green
+    is_bold: true
+  group_read:
+    foreground: Yellow
+  group_write:
+    foreground: Red
+  group_execute:
+    foreground: Green
+  other_read:
+    foreground: Yellow
+  other_write:
+    foreground: Red
+  other_execute:
+    foreground: Green
+filenames:
+  # Just change the icon glyph
+  Cargo.toml: {icon: {glyph: 🦀}}
+  Cargo.lock: {icon: {glyph: 🦀}}
+extensions:
+  # Change the filename color and icon
+  rs: {filename: {foreground: Red}, icon: {glyph: 🦀}}
+  # Change the icon glyph and color
+  nix: {icon: {glyph: ❄, style: {foreground: White}}}
+icon_overrides:
+  filenames:
+    Cargo.toml: 🦀
+    Cargo.lock: 🦀
+  extensions:
+    rs: 🦀
+    nix: ❄