whos keeping altering my sixel image files?

This commit is contained in:
2026-07-22 23:12:16 +02:00
parent cec87693c9
commit d926207482
12 changed files with 43 additions and 35 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -2
View File
@@ -12,9 +12,8 @@ gtk-enable-input-feedback-sounds=0
gtk-font-name=Sarasa UI SC, 10
gtk-icon-theme-name=Papirus
gtk-menu-images=true
gtk-modules=colorreload-gtk-module:appmenu-gtk-module
gtk-modules=colorreload-gtk-module
gtk-primary-button-warps-slider=true
gtk-shell-shows-menubar=1
gtk-sound-theme-name=ocean
gtk-theme-name=catppuccin-mocha-blue-standard+default
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
@@ -1,3 +0,0 @@
{
"editor.formatOnSave": true
}
@@ -2,6 +2,7 @@
zsh-users/zsh-syntax-highlighting
# Catppuccin Mocha theme for syntax highlighting
# catppuccin/zsh-syntax-highlighting path:themes/catppuccin_latte-zsh-syntax-highlighting.zsh
catppuccin/zsh-syntax-highlighting path:themes/catppuccin_mocha-zsh-syntax-highlighting.zsh
# Fish-like autosuggestions
+6 -6
View File
@@ -1,17 +1,17 @@
[[plugin.deps]]
use = "yazi-rs/plugins:git"
rev = "8cd50c6"
rev = "bbac5e7"
hash = "88e56a64b7ce7c4314427452343fef17"
[[plugin.deps]]
use = "yazi-rs/plugins:smart-enter"
rev = "8cd50c6"
rev = "bbac5e7"
hash = "187cc58ba7ac3befd49c342129e6f1b6"
[[plugin.deps]]
use = "h-hg/yamb"
rev = "5f2e22e"
hash = "699fe07e0d2d1b4af8dafb84168eeb04"
rev = "5576bd7"
hash = "2cf0dcda0e16e77342ae50c50134d238"
[[plugin.deps]]
use = "KKV9/compress"
@@ -20,8 +20,8 @@ hash = "fbaf0adc8efc59555b748d36aab62d40"
[[plugin.deps]]
use = "llanosrocas/yaziline"
rev = "25161c1"
hash = "5c7802a9ac249be88729978e3b9525bc"
rev = "c975c26"
hash = "f5e051378c7ee472234ed2abdf0252e7"
[[plugin.deps]]
use = "Rolv-Apneseth/starship"
@@ -128,7 +128,7 @@ local generate_key = function(bookmarks)
local key2rank = get_state_attr("key2rank")
local mb = {}
for _, item in pairs(bookmarks) do
if #item.key == 1 then
if #item.key == 1 and key2rank[item.key] then
table.insert(mb, item.key)
end
end
@@ -9,7 +9,7 @@ All supported features are listed [here](#features). More presets are available
## Requirements
- yazi version >= [26.1.22](https://github.com/sxyazi/yazi/releases/tag/v26.1.22).
- yazi version >= [26.5.6](https://github.com/sxyazi/yazi/releases/tag/v26.5.6).
- Font with symbol support. For example [Nerd Fonts](https://www.nerdfonts.com/).
## Compatibility
@@ -24,6 +24,7 @@ This setup allows shipping stable versions on time, while giving early access to
| yaziline | yazi |
| :------------------------------------------------------------------------: | ----------------------------------------------------------------------------------------- |
| [v2.5.5](https://github.com/llanosrocas/yaziline.yazi/releases/tag/v2.5.5) | [v26.5.6](https://github.com/sxyazi/yazi/releases/tag/v26.5.6) |
| [v2.5.4](https://github.com/llanosrocas/yaziline.yazi/releases/tag/v2.5.4) | [v26.5.6](https://github.com/sxyazi/yazi/releases/tag/v26.5.6) |
| [v2.5.3](https://github.com/llanosrocas/yaziline.yazi/releases/tag/v2.5.3) | [v26.1.22](https://github.com/sxyazi/yazi/releases/tag/v26.1.22) |
| [v2.5.2](https://github.com/llanosrocas/yaziline.yazi/releases/tag/v2.5.2) | [v26.1.22](https://github.com/sxyazi/yazi/releases/tag/v26.1.22) |
@@ -59,7 +60,7 @@ This is default config, if you want to see presets go to [this section](#presets
```lua
require("yaziline"):setup({
color = "#98c379",
secondary_color = "#5A6078",
secondary_color = "#5a6078",
default_files_color = "darkgray", -- color of the file counter when it's inactive
selected_files_color = "white",
yanked_files_color = "green",
@@ -82,13 +83,15 @@ require("yaziline"):setup({
})
```
By default yaziline uses color values from your `theme.toml`:
By default yaziline uses color values from `theme.toml`:
- mode and position font color: th.which.mask.bg
- default_files_color: which.separator_style.fg
- selected_files_color: mgr.count_selected.bg
- yanked_files_color: mgr.count_copied.bg
- cut_files_color: mgr.count_cut.bg
- mode and position text color (fg): `th.which.mask.bg`
- mode, position, and percent background / primary color: `style.main.bg`
- secondary_color (separators, modified date, empty dir label): `which.separator_style.fg`
- default_files_color: `secondary_color`, falling back to `which.separator_style.fg`, falling back to "darkgray"
- selected_files_color: `mgr.count_selected.bg`
- yanked_files_color: `mgr.count_copied.bg`
- cut_files_color: `mgr.count_cut.bg`
```
 MODE  size  long_file...name.md  S 0 Y 0
@@ -30,6 +30,7 @@ local function setup(_, options)
color = options.color or nil,
secondary_color = options.secondary_color or nil,
default_files_color = options.default_files_color
or options.secondary_color
or th.which.separator_style:fg()
or "darkgray",
selected_files_color = options.selected_files_color
@@ -39,6 +40,7 @@ local function setup(_, options)
or th.mgr.count_copied:bg()
or "green",
cut_files_color = options.cut_files_color or th.mgr.count_cut:bg() or "red",
mask_color = th.which.mask:bg(),
}
local current_separator_style = config.separator_styles
@@ -55,7 +57,7 @@ local function setup(_, options)
ui.Span(current_separator_style.separator_head)
:fg(config.color or style.main:bg()),
ui.Span(" " .. mode .. " ")
:fg(th.which.mask:bg())
:fg(config.mask_color)
:bg(config.color or style.main:bg()),
})
end
@@ -138,7 +140,7 @@ local function setup(_, options)
return ui.Line({
ui.Span(" " .. current_separator_style.separator_close_thin .. " ")
:fg(th.which.separator_style:fg()),
:fg(config.secondary_color or th.which.separator_style:fg()),
ui.Span(config.select_symbol .. " " .. files_selected .. " ")
:fg(selected_fg),
ui.Span(yanked_text .. " "):fg(yanked_fg),
@@ -160,7 +162,7 @@ local function setup(_, options)
.. " "
.. current_separator_style.separator_open_thin
.. " "
):fg(th.which.separator_style:fg())
):fg(config.secondary_color or th.which.separator_style:fg())
end
function Status:percent()
@@ -201,7 +203,7 @@ local function setup(_, options)
ui.Span(
string.format(" %2d/%-2d ", math.min(cursor + 1, length), length)
)
:fg(th.which.mask:bg())
:fg(config.mask_color)
:bg(config.color or style.main:bg()),
ui.Span(current_separator_style.separator_tail)
:fg(config.color or style.main:bg()),