mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 06:54:24 -05:00
Modular stow folders. Replaced kitty with alacritty
This commit is contained in:
32
cli/.config/yazi/yazi.toml
Normal file
32
cli/.config/yazi/yazi.toml
Normal file
@@ -0,0 +1,32 @@
|
||||
[mgr]
|
||||
sort_by = "extension"
|
||||
show_hidden = false
|
||||
|
||||
[opener]
|
||||
imagefeh = [
|
||||
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
|
||||
]
|
||||
play = [
|
||||
{ run = 'mpv "$@"', orphan = true, for = "unix" },
|
||||
]
|
||||
edit = [
|
||||
{ run = '$EDITOR "$@"', block = true, for = "unix" },
|
||||
]
|
||||
open = [
|
||||
{ run = 'xdg-open "$@"', desc = "Open" },
|
||||
]
|
||||
|
||||
[open]
|
||||
prepend_rules = [
|
||||
{ mime = "application/pdf", use = "open" },
|
||||
{ mime = "application/json", use = "edit" },
|
||||
{ name = "*.html", use = [ "open" ] },
|
||||
]
|
||||
rules = [
|
||||
{ mime = "image/*", use = "imagefeh" },
|
||||
{ mime = "text/*", use = "edit" },
|
||||
{ mime = "video/*", use = "play" },
|
||||
]
|
||||
append_rules = [
|
||||
{ name = "*", use = ["edit", "open", "play"]}
|
||||
]
|
||||
Reference in New Issue
Block a user