AutoYADM commit: 2025-02-11 13:40:05

This commit is contained in:
Daniel Fichtinger 2025-02-11 13:40:05 -05:00
parent d317655b07
commit af4732972e
7 changed files with 600 additions and 0 deletions

View file

@ -0,0 +1,21 @@
MIT License
Copyright © 2025 Daniel Fichtinger, GitHub contributors
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.

View file

@ -0,0 +1,21 @@
MIT License
Copyright © 2025 Daniel Fichtinger, GitHub contributors
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.

View file

@ -0,0 +1,31 @@
## 👀 Preview
<img src="preview.png" width="600" />
## 🎨 Installation
Please download the `ashen.yazi` folder and place it inside
`~/.config/yazi/flavors/`.
## ⚙️ Usage
To set it as your dark flavor, change the content of your `theme.toml` to:
```toml
[flavor]
dark = "ashen"
```
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.

View file

@ -0,0 +1,175 @@
# vim:fileencoding=utf-8:foldmethod=marker
# : Manager {{{
[manager]
cwd = { fg = "#D87C4A", bold = true }
# Hovered
hovered = { reversed = true, bold = true }
preview_hovered = { underline = true }
# Find
find_keyword = { fg = "#4A8B8B", bold = true, italic = true, underline = true }
find_position = { fg = "#4A8B8B", bg = "reset", bold = true, italic = true }
# Marker
marker_copied = { fg = "#629C7D", bg = "#629C7D" }
marker_cut = { fg = "#C53030", bg = "#C53030" }
marker_marked = { fg = "#E5A72A", bg = "#E5A72A" }
marker_selected = { fg = "#C4693D", bg = "#C4693D" }
# Tab
tab_active = { reversed = true }
tab_inactive = {}
tab_width = 1
# Count
count_copied = { fg = "#121212", bg = "#629C7D" }
count_cut = { fg = "#121212", bg = "#C53030" }
count_selected = { fg = "#121212", bg = "#C4693D" }
# Border
border_symbol = "│"
border_style = { fg = "#a7a7a7" }
# : }}}
# : Mode {{{
[mode]
normal_main = { fg = "#121212", bg = "#b4b4b4", bold = true }
normal_alt = { fg = "#b4b4b4", bg = "#212121" }
# Select mode
select_main = { fg = "#121212", bg = "#BD4C4C", bold = true }
select_alt = { fg = "#BD4C4C", bg = "#212121" }
# Unset mode
unset_main = { fg = "#121212", bg = "#D87C4A", bold = true }
unset_alt = { fg = "#D87C4A", bg = "#212121" }
# : }}}
# : Status bar {{{
[status]
separator_open = ""
separator_close = ""
# Progress
progress_label = { fg = "#121212", bold = true }
progress_normal = { fg = "#C4693D", bg = "#323232" }
progress_error = { fg = "#C53030", bg = "#323232" }
# Permissions
perm_sep = { fg = "#949494", bold = true }
perm_type = { fg = "#B14242" }
perm_read = { fg = "#d5d5d5", bold = true }
perm_write = { fg = "#C4693D", bold = true }
perm_exec = { fg = "#B14242", bold = true }
# : }}}
# : Pick {{{
[pick]
border = { fg = "#C4693D" }
active = { fg = "#DF6464", bold = true }
inactive = {}
# : }}}
# : Input {{{
[input]
border = { fg = "#B14242" }
title = {}
value = {}
selected = { reversed = true }
# : }}}
# : Completion {{{
[completion]
border = { fg = "#B14242" }
# : }}}
# : Tasks {{{
[tasks]
border = { fg = "#C4693D" }
title = {}
hovered = { fg = "#d5d5d5", underline = true }
# : }}}
# : Which {{{
[which]
mask = { bg = "#212121" }
cand = { fg = "#E49A44" }
rest = { fg = "#b4b4b4" }
# desc = { fg = "#DF6464", bold = true }
desc = { fg = "#DF6464" }
separator = "  "
separator_style = { fg = "#B14242" }
# : }}}
# : Help {{{
[help]
on = { fg = "#D87C4A" }
run = { fg = "#DF6464" }
desc = { fg = "#d5d5d5" }
hovered = { reversed = true, bold = true }
footer = { fg = "#e5e5e5", bg = "#121212" }
# : }}}
# : Notify {{{
[notify]
title_info = { fg = "#d5d5d5" }
title_warn = { fg = "#E5A72A" }
title_error = { fg = "#C53030" }
# : }}}
# : File-specific styles {{{
[filetype]
rules = [
# Images
{ mime = "image/*", fg = "#E49A44" },
# Media
{ mime = "{audio,video}/*", fg = "#D87C4A" },
# Archives
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#DF6464" },
# Documents
{ mime = "application/{pdf,doc,rtf}", fg = "#C4693D" },
# Fallback
{ name = "*", fg = "#d5d5d5" },
{ name = "*/", fg = "#B14242" },
]
# : }}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View file

@ -0,0 +1,345 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor -->
<!-- ============================================ -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<!-- Author: Daniel Fichtinger -->
<!-- License: MIT -->
<plist version="1.0">
<dict>
<key>name</key>
<string>Ashen</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#121212</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#B4B4B4</string>
<key>invisibles</key>
<string>#3B3A32</string>
<key>lineHighlight</key>
<string>#353535</string>
<key>selection</key>
<string>#323232</string>
<key>findHighlight</key>
<string>#D87C4A</string>
<key>findHighlightForeground</key>
<string>#121212</string>
<key>selectionBorder</key>
<string>#222218</string>
<key>activeGuide</key>
<string>#D87C4A</string>
<key>bracketsForeground</key>
<string>#F8F8F2A5</string>
<key>bracketsOptions</key>
<string>underline</string>
<key>bracketContentsForeground</key>
<string>#F8F8F2A5</string>
<key>bracketContentsOptions</key>
<string>underline</string>
<key>tagsOptions</key>
<string>stippled_underline</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Comment</string>
<key>scope</key>
<string>comment</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#737373</string>
<key>fontStyle</key>
<string></string>
</dict>
</dict>
<dict>
<key>name</key>
<string>String</string>
<key>scope</key>
<string>string</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#DF6464</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Number</string>
<key>scope</key>
<string>constant.numeric</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#4A8B8B</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Built-in constant</string>
<key>scope</key>
<string>constant.language</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#4A8B8B</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>User-defined constant</string>
<key>scope</key>
<string>constant.character, constant.other</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#C4693D</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Variable</string>
<key>scope</key>
<string>variable</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#B4B4B4</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>String interpolation</string>
<key>scope</key>
<string>constant.character.escaped, constant.character.escape, string source, string source.ruby</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#DF6464</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Keyword</string>
<key>scope</key>
<string>keyword</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#B14242</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Storage</string>
<key>scope</key>
<string>storage</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Storage type</string>
<key>scope</key>
<string>storage.type</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#B14242</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Class name</string>
<key>scope</key>
<string>entity.name.class,
variable.other.block.ruby,
punctuation.separator.variable.ruby</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Inherited class</string>
<key>scope</key>
<string>entity.other.inherited-class</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Function name</string>
<key>scope</key>
<string>entity.name.function</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Function argument</string>
<key>scope</key>
<string>variable.parameter</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Tag name</string>
<key>scope</key>
<string>entity.name.tag</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#737373</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Tag attribute</string>
<key>scope</key>
<string>entity.other.attribute-name</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#A7A7A7</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Library function</string>
<key>scope</key>
<string>support.function</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Library constant</string>
<key>scope</key>
<string>support.constant</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#C4693D</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Library class&#x2f;type</string>
<key>scope</key>
<string>support.type, support.class</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string> italic</string>
<key>foreground</key>
<string>#D5D5D5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Library variable</string>
<key>scope</key>
<string>support.other.variable</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>entity.name.filename</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#E6DB74</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>message.error</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#F83333</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Operator</string>
<key>scope</key>
<string>keyword.operator</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#D87C4A</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Keyword operator</string>
<key>scope</key>
<string>keyword.operator</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#C4693D</string>
</dict>
</dict>
</array>
<key>uuid</key>
<string>83091B89-765E-4F0D-9275-0EC6CB084126</string>
<key>colorSpaceName</key>
<string>sRGB</string>
<key>semanticClass</key>
<string>theme.dark.bj_darcula</string>
<key>author</key>
<string>Bernat Jufré</string>
</dict>
</plist>

View file

@ -0,0 +1,7 @@
[plugin]
deps = []
[[flavor.deps]]
use = "ashen-org/ashen"
rev = "9b74f4c"
hash = "dd7112a30425b077d45359e1cad20759"