xlucn / fontpreview-ueberzug Goto Github PK
View Code? Open in Web Editor NEWpreview fonts in fzf
License: MIT License
preview fonts in fzf
License: MIT License
Continue from the conversations in #7
It could be some special occasions where ueberzug
does not apply the geometry parameters, or something else. I am not familiar enough with ueberzug
to figure that out.
When I call:
fontpreview-ueberzug
Correct preview is generated
If I use background and foreground colors:
fontpreview-ueberzug -b '#272822' -f '#f8f8f2'
I get the above result.
Tried in both XFCE terminal and Alacritty.
In case anyone doesn't know, as the time of writing, ueberzug has been removed by the author due to some "harassment and insulting" (see the current project readme). So my little script need adapting, too.
My current thought is to enable it to use any image viewer, as long as it can monitor file changes and reload when needed. With this change the appearance will be similar to the original fontpreview, but still having the advantage of the continuous experience. That is, the preview will change as you move within the list, no need to press enter every time.
It would be nice if there were an option to change the text alignment, as I use this to preview how code would look on different fonts. Something like -a left/center/right
Looks like Unicode notation \Uxxxx
and emoji aren't supported. I've tried fontpreview -t ๐
but it didn't work.
Maybe a hotkey to increase and decrease the size?
Really like this tool, good job! In fact I like it so much that would like to create an AUR package to make installation easier for all Arch-based distros, for this however, a software license is required
I'm using the latest version of package fontpreview-ueberzug-git from AUR, which is r32.a083d3a-1, on the latest Artix Linux, and in the latest version of that package font preview window stays open even after exiting the fontpreview-ueberzug program by pressing Esc. Also a process with the command line /usr/bin/python /usr/bin/ueberzug layer --parser simple --silent
is left open. When killed (for example, by pskill -9 ueberzug
, the parameter -9
is necessary), the leftover preview window disappears. This was a known issue in ueberzug, which was subsequently fixed, but it seems it doesn't propagate to fontpreview-ueberzug-git.
I closed the window by accident, now I get
fontpreview-ueberzug -s 14
mkfifo: cannot create fifo '/tmp/fontpreview-ueberzug-fifo': File exists
Preview all font at once in a list (one font per line).
Would make it easy to compare lot of fonts at once.
Hey, I would like to understand a bit of whats happening when you start and stop ueberzug. The part I am confused on is the place where you redirected 3
to $FIFO
. The url provided seems to have been expired.
OS: archlinux, newest version of all packages
When i start fontpreview, i get greeted with the error message, that is shown in the title, that error message comes with c.a. 75% of all fonts, and with the other ones, there is no output on the left.
I have all of the dependencies installed.
It would be nice to have a block of code loaded, but it's a bit difficult to make that into a commandline argument. How about a flag to specify a file to read the preview text string from?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.