I'm trying to set up image previewing in vifm on Wayland with kitty on Arch Linux. However, when I try to preview an image, I get the error:
Error: Failed to open controlling terminal with error: open /dev/tty: no such device or address
vifmrc:
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.xpm,*.webp
\ kitty +kitten icat --transfer-mode=file --place=%pwx%ph@%pxx%py %c
\ %pc
\ kitty +kitten icat --transfer-mode=file --place=%pwx%ph@%pxx%py --clear
- vifm version: 0.12.1
- arch: 6.2.11-arch1-1
- display server: wayland
- terminal: kitty 0.27.1
I've already tried googling (and chatgpt and phind ofc) the error message, but I couldn't find a solution that worked for me. Can anyone suggest a fix for this error?
Thanks in advance for your help!