Update 2025-10-31

Update 2025-10-09

Update 2025-10-11

feat: add rose-pine gtk themes

Update 2025-10-16

Update 2025-10-23

Fix desktop niri

Update 2025-10-31
This commit is contained in:
2025-10-03 15:09:23 +03:00
parent c50febb922
commit 66f1040fc5
682 changed files with 1237 additions and 56356 deletions

View File

@@ -30,38 +30,38 @@ hash = "62251f94eb67648d42cdfcfb8be0fad2"
[[plugin.deps]]
use = "yazi-rs/plugins:git"
rev = "d1c8baa"
rev = "8f1d971"
hash = "63b6c222bf2103b3023389dde5e2ecfe"
[[plugin.deps]]
use = "yazi-rs/plugins:chmod"
rev = "d1c8baa"
rev = "8f1d971"
hash = "8ad3e90b079190b4905f24a44f4ca06b"
[[plugin.deps]]
use = "yazi-rs/plugins:full-border"
rev = "d1c8baa"
rev = "8f1d971"
hash = "3996fc74044bc44144b323686f887e1"
[[plugin.deps]]
use = "yazi-rs/plugins:mount"
rev = "d1c8baa"
hash = "435a2af56ecfb3d05755fd5e24977d8b"
rev = "8f1d971"
hash = "4fccaaf10c36dc2466e2438a386ff017"
[[plugin.deps]]
use = "yazi-rs/plugins:smart-filter"
rev = "d1c8baa"
rev = "8f1d971"
hash = "bcda8eeb3f4013bae156aecabfc745e8"
[[plugin.deps]]
use = "yazi-rs/plugins:diff"
rev = "d1c8baa"
rev = "8f1d971"
hash = "82376c3381ae915fd799d40f4dd4c6cd"
[[plugin.deps]]
use = "AnirudhG07/rich-preview"
rev = "843c3fa"
hash = "b4040931f0d2f9670ddb4923e55cd881"
rev = "831234e"
hash = "ed3363e256e210593f0f8e4cec3e36a9"
[[plugin.deps]]
use = "macydnah/office"

View File

@@ -50,6 +50,8 @@ end)
local M = {
keys = {
{ on = "q", run = "quit" },
{ on = "<Esc>", run = "quit" },
{ on = "<Enter>", run = { "enter", "quit" } },
{ on = "k", run = "up" },
{ on = "j", run = "down" },

View File

@@ -15,7 +15,7 @@ Preview file types using `rich` command in Yazi. This plugin allows preview for
## Requirements
- [Yazi](https://github.com/sxyazi/yazi) v25.4.8 or higher.
- [rich-cli](https://github.com/Textualize/rich) v13.7.1 or higher.
- [rich-cli](https://github.com/Textualize/rich-cli) v13.7.1 or higher.
## Installation

View File

@@ -42,9 +42,10 @@ function M:peek(job)
ya.emit("peek", { math.max(0, i - limit), only_if = job.file.url, upper_bound = true })
else
lines = lines:gsub("\t", string.rep(" ", rt.preview.tab_size))
ya.preview_widgets(job, {
ui.Text.parse(lines):area(job.area):wrap(rt.preview.wrap == "yes" and ui.Text.WRAP or ui.Text.WRAP_NO),
})
ya.preview_widget(
job,
ui.Text.parse(lines):area(job.area):wrap(rt.preview.wrap == "yes" and ui.Wrap.YES or ui.Wrap.NO)
)
end
end

View File

@@ -112,11 +112,16 @@ prepend_previewers = [
{mime = "application/bittorrent", run = "torrent-preview"},
# Archive previewer
{mime = "application/*zip", run = "ouch"},
{mime = "application/tar", run = "ouch"},
{mime = "application/bzip2", run = "ouch"},
{mime = "application/7z-compressed", run = "ouch"},
{mime = "application/rar", run = "ouch"},
{mime = "application/x-tar", run = "ouch"},
{mime = "application/x-bzip2", run = "ouch"},
{mime = "application/x-7z-compressed", run = "ouch"},
{mime = "application/x-rar", run = "ouch"},
{mime = "application/vnd.rar", run = "ouch"},
{mime = "application/x-xz", run = "ouch"},
{mime = "application/xz", run = "ouch"},
{mime = "application/x-zstd", run = "ouch"},
{mime = "application/zstd", run = "ouch"},
{mime = "application/java-archive", run = "ouch"},
# Office Documents
{mime = "application/openxmlformats-officedocument.*", run = "office"},
{mime = "application/oasis.opendocument.*", run = "office"},