Skip to content

sofijacom/dotfiles-yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles-yazi

Default yatline

2025-02-04_21-02

yatline-catppuccin

2025-02-04_21-07

flavors Dracula + yatline-dracula

2025-02-04_05-24

Clone the repository

git clone https://github.com/sofijacom/dotfiles-yazi.git ~/.config/yazi

✨ Install

sudo xbps-install -S yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg ImageMagick

⚡️ Required

  • for glow.yazi plugin to work

    • Glow is a terminal based markdown reader designed from the ground up to bring out the beauty—and power—of the CLI.

    • Use it to discover markdown files, read documentation directly on the command line. Glow will find local markdown files in subdirectories or a local Git repository.

Install

# Arch Linux
sudo pacman -S glow

# Void Linux
sudo xbps-install -S glow

2025-02-08_03-53

⚡️ Required

  • for mediainfo.yazi

Install

# Arch Linux
sudo pacman -S mediainfo

# Void Linux
sudo xbps-install -S mediainfo

2025-02-16_00-46

2025-02-16_02-52

Note

To update plugins in Yazi, you can use the ya command.

Package Manager

You can manage your plugins and flavors using the ya pkg subcommand. For example, to install the plugin from https://github.com/owner/my-plugin.yazi, run:

ya pkg add owner/my-plugin

ya pkg also supports installing a subdirectory from a monorepo as a package. For example, to install the package from https://github.com/yazi-rs/plugins/tree/main/git.yazi, run:

ya pkg add yazi-rs/plugins:git

and it will automatically clone them from GitHub, copy them to your plugins directory, and update the package.toml to lock their versions:

# ~/.config/yazi/package.toml
[[plugin.deps]]
use  = "owner/my-plugin"
rev  = "0573024"
hash = "d81b64a39432fcd6224cd75d296e7510"

[[plugin.deps]]
use  = "yazi-rs/plugins:git"
rev  = "9a1129c"
hash = "a8e15d3c21c02a5af41d46ed04778a02"

To delete a plugin:

ya pkg delete yazi-rs/plugins:git

To list all the plugins managed by ya pkg:

ya pkg list

To install all the plugins with locked versions from package.toml on a new system:

ya pkg install

To upgrade all the plugins to the latest version:

ya pkg upgrade

If you want to pin a plugin to a specific version so that it doesn't get upgraded when running ya pkg upgrade, add an = qualifier before the hash in rev:

[[plugin.deps]]
use = "owner/my-plugin"
- rev = "9a1129c"
+ rev = "=9a1129c"

add and delete, they can accept multiple arguments, which means you can operate on multiple packages at once:

ya pkg add owner/my-plugin yazi-rs/plugins:git
ya pkg delete owner/my-plugin yazi-rs/plugins:git

Releases

No releases published

Packages

 
 
 

Contributors

Languages