You are not logged in.
As i got it isn't possible to use either w3m or ueberzug in sway (for first I am getting error, for second just can't see preview). I am using alacritty for it, but I can't find any other to use it compatible with sway. Maybe you know some way to do it? Use other terminal or image painting tool or is it necessary to switch into another wm? Thanks in advance.
Last edited by callmer (2021-01-16 06:54:47)
Offline
One option would be kitty and its image protocol (ranger supports it)
https://sw.kovidgoyal.net/kitty/kittens/icat.html
The terminal foot (also in AUR)supports the sixel protocol, you can use lsix to display images, For ranger and w3m you can use yaimg-sixel to replace w3mimgdisplay.
Alacritty is planning to implement sixel: https://github.com/alacritty/alacritty/issues/910
Last edited by progandy (2021-01-15 20:59:26)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I can see the image previews under sway in kitty as long as PIL (Python pillow) is installed and preview_images_method is set to kitty but I'm using Alpine Linux so I don't know if this also works in Arch.
Jin, Jîyan, Azadî
Offline
One option would be kitty and its image protocol (ranger supports it)
https://sw.kovidgoyal.net/kitty/kittens/icat.htmlThe terminal foot (also in AUR)supports the sixel protocol, you can use lsix to display images, For ranger and w3m you can use yaimg-sixel to replace w3mimgdisplay.
Alacritty is planning to implement sixel: https://github.com/alacritty/alacritty/issues/910
Thank you very much, kitty worked great for me. but I can't preview png files, how can I fix it? @progandy
Last edited by callmer (2021-01-16 07:41:38)
Offline
Preview where? And how did you configure your programs? If you use ranger, did you sett the image preview method and installed python-pillow as mentioned by Head_on_a_Stick?
Last edited by progandy (2021-01-16 08:18:55)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Preview where? And how did you configure your programs? If you use ranger, did you sett the image preview method and installed python-pillow as mentioned by Head_on_a_Stick?
Preview in kitty terminal in ranger. Here I shared my rc.conf and scope.sh. Yes I've set preview method kitty and I've installed python-pillow(what is head_on_a_stick?) I am able to preview jpg's and even videos, but not png's.
Offline
Where did you share them?
Head_on_a_Stick is the user that posted comment #3 …
Online
Where did you share them?
Head_on_a_Stick is the user that posted comment #3 …
Oh my apologizes. Here https://github.com/aro1999/my_arch
And yes I did it all as I mentioned above
Edit: in master branch
Last edited by callmer (2021-01-16 19:01:47)
Offline