From 275147c976c443507cdeff1f694e481c58048e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Wed, 7 Aug 2024 18:18:39 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(yazi):=20add=20custom=20apps?= =?UTF-8?q?=20in=20the=20app=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/yazi/yazi.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml index 28101f8d..7f09449c 100644 --- a/.config/yazi/yazi.toml +++ b/.config/yazi/yazi.toml @@ -7,12 +7,13 @@ sort_dir_first = true [opener] folder = [ - { run = 'hyprctl dispatch exec "[float; size 60% 60%; center 1] xdg-open" "$@"', desc = "GUI file manager" }, + { run = 'hyprctl dispatch exec "[float; size 60% 60%; center 1] nemo" "$@"', orphan = true, desc = "nemo", for = "linux" }, { run = '''fish -c "nvim "$1""''', block = true, desc = "neovim", for = "linux" }, { run = 'kitty --detach nvim "$@"', orphan = true, desc = "neovim (detached)", for = "linux" }, { run = '''fish -c "lazygit -p "$1""''', block = true, desc = "lazygit", for = "linux" }, { run = 'codium "$@"', orphan = true, desc = "vscodium", for = "linux" }, { run = 'kitty "$@"', orphan = true, desc = "kitty", for = "linux" }, + { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, ] text = [ @@ -24,16 +25,23 @@ text = [ document = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, + { run = 'zathura "$@"', orphan = true, desc = "zathura", for = "linux" }, + { run = 'libreoffice "$@"', orphan = true, desc = "libreoffice", for = "linux" }, ] image = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, + { run = 'qimgv "$@"', orphan = true, desc = "qimgv", for = "linux" }, + { run = 'krita "$@"', orphan = true, desc = "krita", for = "linux" }, + { run = 'satty --filename "$@"', orphan = true, desc = "satty", for = "linux" }, ] video = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, + { run = 'mpv "$@"', orphan = true, desc = "mpv", for = "linux" }, ] audio = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" }, + { run = 'mpv "$@"', orphan = true, desc = "mpv", for = "linux" }, ] fallback = [ { run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" },