fix: yazi plugins
This commit is contained in:
1 parent
c1a3213412
commit
54f42f3f9a
15 files changed
+8
-4829
No files matched your search
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2023 yazi-rs
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2021 Catppuccin
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
<div align="center">
|
|
||||||
<img src="https://github.com/sxyazi/yazi/blob/main/assets/logo.png?raw=true" alt="Yazi logo" width="20%">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3 align="center">
|
|
||||||
Catppuccin Latte Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a>
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
## 👀 Preview
|
|
||||||
|
|
||||||
<img src="preview.png" width="600" />
|
|
||||||
|
|
||||||
## 🎨 Installation
|
|
||||||
|
|
||||||
```sh
|
|
||||||
ya pkg add yazi-rs/flavors:catppuccin-latte
|
|
||||||
```
|
|
||||||
|
|
||||||
## ⚙️ Usage
|
|
||||||
|
|
||||||
Set the content of your `theme.toml` to enable it as your _light_ flavor:
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[flavor]
|
|
||||||
light = "catppuccin-latte"
|
|
||||||
```
|
|
||||||
|
|
||||||
Make sure your `theme.toml` doesn't contain anything other than `[flavor]`, unless you want to override certain styles of this flavor.
|
|
||||||
|
|
||||||
See the [Yazi flavor documentation](https://yazi-rs.github.io/docs/flavors/overview) for more details.
|
|
||||||
|
|
||||||
## 📜 License
|
|
||||||
|
|
||||||
The flavor is MIT-licensed, and the included tmTheme is also MIT-licensed.
|
|
||||||
|
|
||||||
Check the [LICENSE](LICENSE) and [LICENSE-tmtheme](LICENSE-tmtheme) file for more details.
|
|
||||||
@@ -1,215 +0,0 @@
|
|||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
|
||||||
|
|
||||||
# : Manager {{{
|
|
||||||
|
|
||||||
[mgr]
|
|
||||||
cwd = { fg = "#179299" }
|
|
||||||
|
|
||||||
# Find
|
|
||||||
find_keyword = { fg = "#df8e1d", bold = true, italic = true, underline = true }
|
|
||||||
find_position = { fg = "#ea76cb", bg = "reset", bold = true, italic = true }
|
|
||||||
|
|
||||||
# Marker
|
|
||||||
marker_copied = { fg = "#40a02b", bg = "#40a02b" }
|
|
||||||
marker_cut = { fg = "#d20f39", bg = "#d20f39" }
|
|
||||||
marker_marked = { fg = "#179299", bg = "#179299" }
|
|
||||||
marker_selected = { fg = "#df8e1d", bg = "#df8e1d" }
|
|
||||||
|
|
||||||
# Count
|
|
||||||
count_copied = { fg = "#eff1f5", bg = "#40a02b" }
|
|
||||||
count_cut = { fg = "#eff1f5", bg = "#d20f39" }
|
|
||||||
count_selected = { fg = "#eff1f5", bg = "#df8e1d" }
|
|
||||||
|
|
||||||
# Border
|
|
||||||
border_symbol = "│"
|
|
||||||
border_style = { fg = "#8c8fa1" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Tabs {{{
|
|
||||||
|
|
||||||
[tabs]
|
|
||||||
active = { fg = "#eff1f5", bg = "#1e66f5", bold = true }
|
|
||||||
inactive = { fg = "#1e66f5", bg = "#ccd0da" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Mode {{{
|
|
||||||
|
|
||||||
[mode]
|
|
||||||
|
|
||||||
normal_main = { fg = "#eff1f5", bg = "#1e66f5", bold = true }
|
|
||||||
normal_alt = { fg = "#1e66f5", bg = "#ccd0da" }
|
|
||||||
|
|
||||||
# Select mode
|
|
||||||
select_main = { fg = "#eff1f5", bg = "#179299", bold = true }
|
|
||||||
select_alt = { fg = "#179299", bg = "#ccd0da" }
|
|
||||||
|
|
||||||
# Unset mode
|
|
||||||
unset_main = { fg = "#eff1f5", bg = "#dd7878", bold = true }
|
|
||||||
unset_alt = { fg = "#dd7878", bg = "#ccd0da" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Status bar {{{
|
|
||||||
|
|
||||||
[status]
|
|
||||||
# Permissions
|
|
||||||
perm_sep = { fg = "#8c8fa1" }
|
|
||||||
perm_type = { fg = "#1e66f5" }
|
|
||||||
perm_read = { fg = "#df8e1d" }
|
|
||||||
perm_write = { fg = "#d20f39" }
|
|
||||||
perm_exec = { fg = "#40a02b" }
|
|
||||||
|
|
||||||
# Progress
|
|
||||||
progress_label = { fg = "#ffffff", bold = true }
|
|
||||||
progress_normal = { fg = "#40a02b", bg = "#bcc0cc" }
|
|
||||||
progress_error = { fg = "#df8e1d", bg = "#d20f39" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Pick {{{
|
|
||||||
|
|
||||||
[pick]
|
|
||||||
border = { fg = "#1e66f5" }
|
|
||||||
active = { fg = "#ea76cb", bold = true }
|
|
||||||
inactive = {}
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Input {{{
|
|
||||||
|
|
||||||
[input]
|
|
||||||
border = { fg = "#1e66f5" }
|
|
||||||
title = {}
|
|
||||||
value = {}
|
|
||||||
selected = { reversed = true }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Completion {{{
|
|
||||||
|
|
||||||
[cmp]
|
|
||||||
border = { fg = "#1e66f5" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Tasks {{{
|
|
||||||
|
|
||||||
[tasks]
|
|
||||||
border = { fg = "#1e66f5" }
|
|
||||||
title = {}
|
|
||||||
hovered = { fg = "#ea76cb", bold = true }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Which {{{
|
|
||||||
|
|
||||||
[which]
|
|
||||||
mask = { bg = "#ccd0da" }
|
|
||||||
cand = { fg = "#179299" }
|
|
||||||
rest = { fg = "#7c7f93" }
|
|
||||||
desc = { fg = "#ea76cb" }
|
|
||||||
separator = " "
|
|
||||||
separator_style = { fg = "#acb0be" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Help {{{
|
|
||||||
|
|
||||||
[help]
|
|
||||||
on = { fg = "#179299" }
|
|
||||||
run = { fg = "#ea76cb" }
|
|
||||||
hovered = { reversed = true, bold = true }
|
|
||||||
footer = { fg = "#ccd0da", bg = "#4c4f69" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Spotter {{{
|
|
||||||
|
|
||||||
[spot]
|
|
||||||
border = { fg = "#1e66f5" }
|
|
||||||
title = { fg = "#1e66f5" }
|
|
||||||
tbl_col = { fg = "#179299" }
|
|
||||||
tbl_cell = { fg = "#ea76cb", bg = "#bcc0cc" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Notification {{{
|
|
||||||
|
|
||||||
[notify]
|
|
||||||
title_info = { fg = "#40a02b" }
|
|
||||||
title_warn = { fg = "#df8e1d" }
|
|
||||||
title_error = { fg = "#d20f39" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : File-specific styles {{{
|
|
||||||
|
|
||||||
[filetype]
|
|
||||||
|
|
||||||
rules = [
|
|
||||||
# Image
|
|
||||||
{ mime = "image/*", fg = "#179299" },
|
|
||||||
# Media
|
|
||||||
{ mime = "{audio,video}/*", fg = "#df8e1d" },
|
|
||||||
# Archive
|
|
||||||
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#ea76cb" },
|
|
||||||
# Document
|
|
||||||
{ mime = "application/{pdf,doc,rtf}", fg = "#40a02b" },
|
|
||||||
# Virtual file system
|
|
||||||
{ mime = "vfs/{absent,stale}", fg = "#7c7f93" },
|
|
||||||
# Fallback
|
|
||||||
{ url = "*", fg = "#4c4f69" },
|
|
||||||
{ url = "*/", fg = "#1e66f5" },
|
|
||||||
]
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
[icon]
|
|
||||||
|
|
||||||
dirs = [
|
|
||||||
{ name = ".config", text = "", fg = "#ea76cb" },
|
|
||||||
{ name = ".git", text = "", fg = "#179299" },
|
|
||||||
{ name = ".github", text = "", fg = "#1e66f5" },
|
|
||||||
{ name = ".npm", text = "", fg = "#1e66f5" },
|
|
||||||
{ name = "Desktop", text = "", fg = "#179299" },
|
|
||||||
{ name = "Development", text = "", fg = "#179299" },
|
|
||||||
{ name = "Documents", text = "", fg = "#179299" },
|
|
||||||
{ name = "Downloads", text = "", fg = "#179299" },
|
|
||||||
{ name = "Library", text = "", fg = "#179299" },
|
|
||||||
{ name = "Movies", text = "", fg = "#179299" },
|
|
||||||
{ name = "Music", text = "", fg = "#179299" },
|
|
||||||
{ name = "Pictures", text = "", fg = "#179299" },
|
|
||||||
{ name = "Public", text = "", fg = "#179299" },
|
|
||||||
{ name = "Videos", text = "", fg = "#179299" },
|
|
||||||
]
|
|
||||||
conds = [
|
|
||||||
# Special files
|
|
||||||
{ if = "orphan", text = "", fg = "#4c4f69" },
|
|
||||||
{ if = "link", text = "", fg = "#8c8fa1" },
|
|
||||||
{ if = "block", text = "", fg = "#dd7878" },
|
|
||||||
{ if = "char", text = "", fg = "#dd7878" },
|
|
||||||
{ if = "fifo", text = "", fg = "#dd7878" },
|
|
||||||
{ if = "sock", text = "", fg = "#dd7878" },
|
|
||||||
{ if = "sticky", text = "", fg = "#dd7878" },
|
|
||||||
{ if = "dummy", text = "", fg = "#d20f39" },
|
|
||||||
|
|
||||||
# Fallback
|
|
||||||
{ if = "dir & hovered", text = "", fg = "#1e66f5" },
|
|
||||||
{ if = "dir", text = "", fg = "#1e66f5" },
|
|
||||||
{ if = "exec", text = "", fg = "#40a02b" },
|
|
||||||
{ if = "!dir", text = "", fg = "#4c4f69" },
|
|
||||||
]
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 718 KiB |
File diff suppressed because it is too large.
Load diff
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2023 yazi-rs
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2021 Catppuccin
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
<div align="center">
|
|
||||||
<img src="https://github.com/sxyazi/yazi/blob/main/assets/logo.png?raw=true" alt="Yazi logo" width="20%">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3 align="center">
|
|
||||||
Catppuccin Mocha Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a>
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
## 👀 Preview
|
|
||||||
|
|
||||||
<img src="preview.png" width="600" />
|
|
||||||
|
|
||||||
## 🎨 Installation
|
|
||||||
|
|
||||||
```sh
|
|
||||||
ya pkg add yazi-rs/flavors:catppuccin-mocha
|
|
||||||
```
|
|
||||||
|
|
||||||
## ⚙️ Usage
|
|
||||||
|
|
||||||
Set the content of your `theme.toml` to enable it as your _dark_ flavor:
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[flavor]
|
|
||||||
dark = "catppuccin-mocha"
|
|
||||||
```
|
|
||||||
|
|
||||||
Make sure your `theme.toml` doesn't contain anything other than `[flavor]`, unless you want to override certain styles of this flavor.
|
|
||||||
|
|
||||||
See the [Yazi flavor documentation](https://yazi-rs.github.io/docs/flavors/overview) for more details.
|
|
||||||
|
|
||||||
## 📜 License
|
|
||||||
|
|
||||||
The flavor is MIT-licensed, and the included tmTheme is also MIT-licensed.
|
|
||||||
|
|
||||||
Check the [LICENSE](LICENSE) and [LICENSE-tmtheme](LICENSE-tmtheme) file for more details.
|
|
||||||
@@ -1,215 +0,0 @@
|
|||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
|
||||||
|
|
||||||
# : Manager {{{
|
|
||||||
|
|
||||||
[mgr]
|
|
||||||
cwd = { fg = "#94e2d5" }
|
|
||||||
|
|
||||||
# Find
|
|
||||||
find_keyword = { fg = "#f9e2af", bold = true, italic = true, underline = true }
|
|
||||||
find_position = { fg = "#f5c2e7", bg = "reset", bold = true, italic = true }
|
|
||||||
|
|
||||||
# Marker
|
|
||||||
marker_copied = { fg = "#a6e3a1", bg = "#a6e3a1" }
|
|
||||||
marker_cut = { fg = "#f38ba8", bg = "#f38ba8" }
|
|
||||||
marker_marked = { fg = "#94e2d5", bg = "#94e2d5" }
|
|
||||||
marker_selected = { fg = "#f9e2af", bg = "#f9e2af" }
|
|
||||||
|
|
||||||
# Count
|
|
||||||
count_copied = { fg = "#1e1e2e", bg = "#a6e3a1" }
|
|
||||||
count_cut = { fg = "#1e1e2e", bg = "#f38ba8" }
|
|
||||||
count_selected = { fg = "#1e1e2e", bg = "#f9e2af" }
|
|
||||||
|
|
||||||
# Border
|
|
||||||
border_symbol = "│"
|
|
||||||
border_style = { fg = "#7f849c" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Tabs {{{
|
|
||||||
|
|
||||||
[tabs]
|
|
||||||
active = { fg = "#1e1e2e", bg = "#89b4fa", bold = true }
|
|
||||||
inactive = { fg = "#89b4fa", bg = "#313244" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Mode {{{
|
|
||||||
|
|
||||||
[mode]
|
|
||||||
|
|
||||||
normal_main = { fg = "#1e1e2e", bg = "#89b4fa", bold = true }
|
|
||||||
normal_alt = { fg = "#89b4fa", bg = "#313244" }
|
|
||||||
|
|
||||||
# Select mode
|
|
||||||
select_main = { fg = "#1e1e2e", bg = "#94e2d5", bold = true }
|
|
||||||
select_alt = { fg = "#94e2d5", bg = "#313244" }
|
|
||||||
|
|
||||||
# Unset mode
|
|
||||||
unset_main = { fg = "#1e1e2e", bg = "#f2cdcd", bold = true }
|
|
||||||
unset_alt = { fg = "#f2cdcd", bg = "#313244" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Status bar {{{
|
|
||||||
|
|
||||||
[status]
|
|
||||||
# Permissions
|
|
||||||
perm_sep = { fg = "#7f849c" }
|
|
||||||
perm_type = { fg = "#89b4fa" }
|
|
||||||
perm_read = { fg = "#f9e2af" }
|
|
||||||
perm_write = { fg = "#f38ba8" }
|
|
||||||
perm_exec = { fg = "#a6e3a1" }
|
|
||||||
|
|
||||||
# Progress
|
|
||||||
progress_label = { fg = "#ffffff", bold = true }
|
|
||||||
progress_normal = { fg = "#a6e3a1", bg = "#45475a" }
|
|
||||||
progress_error = { fg = "#f9e2af", bg = "#f38ba8" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Pick {{{
|
|
||||||
|
|
||||||
[pick]
|
|
||||||
border = { fg = "#89b4fa" }
|
|
||||||
active = { fg = "#f5c2e7", bold = true }
|
|
||||||
inactive = {}
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Input {{{
|
|
||||||
|
|
||||||
[input]
|
|
||||||
border = { fg = "#89b4fa" }
|
|
||||||
title = {}
|
|
||||||
value = {}
|
|
||||||
selected = { reversed = true }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Completion {{{
|
|
||||||
|
|
||||||
[cmp]
|
|
||||||
border = { fg = "#89b4fa" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Tasks {{{
|
|
||||||
|
|
||||||
[tasks]
|
|
||||||
border = { fg = "#89b4fa" }
|
|
||||||
title = {}
|
|
||||||
hovered = { fg = "#f5c2e7", bold = true }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Which {{{
|
|
||||||
|
|
||||||
[which]
|
|
||||||
mask = { bg = "#313244" }
|
|
||||||
cand = { fg = "#94e2d5" }
|
|
||||||
rest = { fg = "#9399b2" }
|
|
||||||
desc = { fg = "#f5c2e7" }
|
|
||||||
separator = " "
|
|
||||||
separator_style = { fg = "#585b70" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Help {{{
|
|
||||||
|
|
||||||
[help]
|
|
||||||
on = { fg = "#94e2d5" }
|
|
||||||
run = { fg = "#f5c2e7" }
|
|
||||||
hovered = { reversed = true, bold = true }
|
|
||||||
footer = { fg = "#313244", bg = "#cdd6f4" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Spotter {{{
|
|
||||||
|
|
||||||
[spot]
|
|
||||||
border = { fg = "#89b4fa" }
|
|
||||||
title = { fg = "#89b4fa" }
|
|
||||||
tbl_col = { fg = "#94e2d5" }
|
|
||||||
tbl_cell = { fg = "#f5c2e7", bg = "#45475a" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : Notification {{{
|
|
||||||
|
|
||||||
[notify]
|
|
||||||
title_info = { fg = "#a6e3a1" }
|
|
||||||
title_warn = { fg = "#f9e2af" }
|
|
||||||
title_error = { fg = "#f38ba8" }
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
|
|
||||||
# : File-specific styles {{{
|
|
||||||
|
|
||||||
[filetype]
|
|
||||||
|
|
||||||
rules = [
|
|
||||||
# Image
|
|
||||||
{ mime = "image/*", fg = "#94e2d5" },
|
|
||||||
# Media
|
|
||||||
{ mime = "{audio,video}/*", fg = "#f9e2af" },
|
|
||||||
# Archive
|
|
||||||
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f5c2e7" },
|
|
||||||
# Document
|
|
||||||
{ mime = "application/{pdf,doc,rtf}", fg = "#a6e3a1" },
|
|
||||||
# Virtual file system
|
|
||||||
{ mime = "vfs/{absent,stale}", fg = "#9399b2" },
|
|
||||||
# Fallback
|
|
||||||
{ url = "*", fg = "#cdd6f4" },
|
|
||||||
{ url = "*/", fg = "#89b4fa" },
|
|
||||||
]
|
|
||||||
|
|
||||||
# : }}}
|
|
||||||
|
|
||||||
[icon]
|
|
||||||
|
|
||||||
dirs = [
|
|
||||||
{ name = ".config", text = "", fg = "#f5c2e7" },
|
|
||||||
{ name = ".git", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = ".github", text = "", fg = "#89b4fa" },
|
|
||||||
{ name = ".npm", text = "", fg = "#89b4fa" },
|
|
||||||
{ name = "Desktop", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Development", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Documents", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Downloads", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Library", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Movies", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Music", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Pictures", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Public", text = "", fg = "#94e2d5" },
|
|
||||||
{ name = "Videos", text = "", fg = "#94e2d5" },
|
|
||||||
]
|
|
||||||
conds = [
|
|
||||||
# Special files
|
|
||||||
{ if = "orphan", text = "", fg = "#cdd6f4" },
|
|
||||||
{ if = "link", text = "", fg = "#7f849c" },
|
|
||||||
{ if = "block", text = "", fg = "#f2cdcd" },
|
|
||||||
{ if = "char", text = "", fg = "#f2cdcd" },
|
|
||||||
{ if = "fifo", text = "", fg = "#f2cdcd" },
|
|
||||||
{ if = "sock", text = "", fg = "#f2cdcd" },
|
|
||||||
{ if = "sticky", text = "", fg = "#f2cdcd" },
|
|
||||||
{ if = "dummy", text = "", fg = "#f38ba8" },
|
|
||||||
|
|
||||||
# Fallback
|
|
||||||
{ if = "dir & hovered", text = "", fg = "#89b4fa" },
|
|
||||||
{ if = "dir", text = "", fg = "#89b4fa" },
|
|
||||||
{ if = "exec", text = "", fg = "#a6e3a1" },
|
|
||||||
{ if = "!dir", text = "", fg = "#cdd6f4" },
|
|
||||||
]
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 660 KiB |
File diff suppressed because it is too large.
Load diff
@@ -1,3 +1 @@
|
|||||||
require("sidebar-status"):setup()
|
|
||||||
require("git"):setup()
|
require("git"):setup()
|
||||||
require("auto-layout"):setup()
|
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
[dependencies]
|
[[plugin.deps]]
|
||||||
git = "yazi-rs/plugins:git"
|
use = "yazi-rs/plugins:git"
|
||||||
auto-layout = "josephschmitt/auto-layout"
|
|
||||||
|
[[flavor.deps]]
|
||||||
|
use = "yazi-rs/flavors:catppuccin-mocha"
|
||||||
|
|
||||||
|
[[flavor.deps]]
|
||||||
|
use = "yazi-rs/flavors:catppuccin-latte"
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
return {
|
|
||||||
setup = function()
|
|
||||||
-- Status:children_remove(1, Status.LEFT) -- MODE
|
|
||||||
-- Status:children_remove(2, Status.LEFT) -- size
|
|
||||||
Status:children_remove(3, Status.LEFT) -- Desktop
|
|
||||||
|
|
||||||
-- Status:children_remove(4, Status.RIGHT) -- OWNERSHIP
|
|
||||||
-- Status:children_add(function()
|
|
||||||
-- return ui.Span("Yazelix"):fg("yellow"):bold() -- yazelix string in Bold and yellow
|
|
||||||
-- end, 4, Status.RIGHT)
|
|
||||||
-- Status:children_remove(5, Status.RIGHT) -- percentage
|
|
||||||
-- Status:children_remove(6, Status.RIGHT) -- file counter
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user