Kitty and yazi as alternative file manager

The new -and very powerful- kitty terminal fits like a glove with yazi. In order to create a custom shortcut, open your ~/.config/openbox/rc.xml and add (copy/paste) this sequence:

<keybind key="W-S-f">
   <action name="Execute">
      <command>kitty --title "Yazi File Manager" -e yazi</command>
   </action>
</keybind>

Now, every time you press Super + Shift + F this magnificent duo will launch and simply press q to exit. Image previews are supported by kitty but not in terminator. Feel free to change the key combinations.

Enjoy. :grin:

Yazi and Kitty are indeed good companions. :wink:

For the interest, this is my setup.

Kinda F12 mabox-terminal (guake) behaviour.

Jumpapp for easy toggle and Picom for some effecs.

<keybind key="F8">
      <action name="Execute">
        <command>jumpapp -m kitty --title "Yazi File Manager" -e yazi</command>
      </action>
    </keybind>

@include for picom to create a similar effect like F12.

match = "class_g = 'kitty'";
opacity = 0.95;
dim = 0.0;
corner-radius = 12;
blur-background = true;
animations = (
   {
      triggers = ["close", "hide"];
      preset = "fly-out";
      opacity = 1.0;
      direction = "up";
      duration = 0.5;
      delay = 0.2;
   },
{
      triggers = ["open", "show"];
      preset = "fly-in";
      opacity = 1.0;
      direction = "up";
      duration = 0.5;
      delay = 0.2;
   },
  )

Add something like this in kitty.conf so it remembers the window position.

# Window position
window_padding_width 8
hide_window_decorations yes
remember_window_size yes
initial_window_width 1200
initial_window_height 750

Change class_g to name if you want only this kitty(yazi) window with the picom effect.

from

match = "class_g = 'kitty'";

to

match = "name = 'Yazi File Manager'";

:penguin: