dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.14.0 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
fraolt_ has quit [Ping timeout: 240 seconds]
fraolt_ has joined #foot
jkonecny[m] has joined #foot
newchair has quit [Ping timeout: 264 seconds]
anarcat has quit [Ping timeout: 252 seconds]
anarcat has joined #foot
<dnkl> WhyNotHugo: besides quitting the shell or whatever application you're running in the terminal? Nothing that comes to mind...
<dnkl> maybe OSC-52 (clipboard access)
h-erectus has quit [Ping timeout: 240 seconds]
h-erectus has joined #foot
emcconville has quit [Ping timeout: 252 seconds]
<armin> dnkl: there's this one feature i keep "kitty" installed for: "kitty list-fonts". is there something like this in foot?
<dnkl> what exactly does it do?
emcconville has joined #foot
<armin> dnkl: it lists installed fonts in a terminal, nothing special, just shows a nicely formatted list of, uhm, font-names!
<armin> dnkl: i've never found another way to do exactly that, i believe?
<dnkl> just use fc-list?
emcconville has quit [Client Quit]
emcconville has joined #foot
<armin> dnkl: that's a bit chaotic compared to the "kitty list-fonts" output (which is grouped by the parent font or something, shown in green, and without the full path name of the .ttf file)
<armin> but yup, works.
<armin> hm, doesn't output the font name in exactly the syntax i can use in foot.ini
<dnkl> should be possible to either format there output with fc-list options, or cut/sed/awk the output a bit (and maybe wrap it in a script)
<armin> ah it does!
<dnkl> yes, output is usable as-is in foot.ini (minus path to font file, obviously)
emcconville has quit [Client Quit]
emcconville has joined #foot
<dnkl> there's also an undocumented --format option to fc-list
<dnkl> "fc-list | cut -d ':' -f 2- | sort | uniq" is pretty close to a "nicely formatted" list ;)
<armin> i'm doing *exactly* that right now
<armin> e.g. --format="%{family[0]}" and so on
<armin> fc-list --format="$(tput setaf 4)%{family[0]} $(tput setaf 2)%{family[1]} $(tput setaf 3)%{style[0]} $(tput setaf 5)%{style[1]}\n"
<armin> is the closest i got
<armin> heh :)
<dnkl> armin: pretty! :D
<dnkl> there's also a pango utility that lists fonts in a more formatted way
<armin> pangoooooooooo!
<dnkl> but the names aren't in fontconfig style
<armin> is that what kitty list-fonts also utilizes?
<dnkl> so not copy-pastable in foot
<dnkl> no idea
<armin> dnkl: also how stupid is the idea of having text shadows in a terminal emulator?
<armin> i remember the enlightenment terminal emulator for e16 had that?
<armin> yes, Eterm, the terminal emulator with no utf-8 support!
<armin> ultraskeuomorphism3d, that was the "future" back then.
<cc0> hehe somehow i hoped that this command would display each line in its own font
<armin> cc0: there are some graphical applications that do this, but i believe that's not possible from a terminal.
<dnkl> armin: cc0: hb-view has sixel support...
<dnkl> as to whether drop shadows makes sense... I guess there are people who'd like it, but most don't.
<dnkl> in any case, it's not something foot will support
<dnkl> re hb-view and sixel: more precisely, they can optionally use chafa. They appear to use the library, not exec:ing the chafa binary (so needs to be built against libchafa)
<dnkl> "hb-view --background=002b36ff --foreground=839496 /usr/share/fonts/OTF/FantasqueSansMono-Regular.otf
<dnkl> "hb-view --background=002b36ff --foreground=839496 /usr/share/fonts/OTF/FantasqueSansMono-Regular.otf test && printf "\n""
<dnkl> looks decent enough (on solarized-dark)
<armin> dnkl: nice! thank you!
sentriz has joined #foot
<WhyNotHugo> Actually, foot has ctrl+shift+u to open links, which could be abused in a kiosk setup to open a browser.
<dnkl> WhyNotHugo: you can disable it though, by setting url.launcher in foot.ini.
<dnkl> you'd also want to do the same for all other utilities foot may execute (notifications come to mind)
alexherbo2 has joined #foot
ecs has quit [Changing host]
ecs has joined #foot
alexherbo2 has quit [Ping timeout: 246 seconds]
<cc0> dnkl: are you aware of any way to display video content in a terminal?
<dnkl> cc0: mpv has a sixel backend. I think chafa can do it too. And then there's ncplayer from notcurses.
<dnkl> note that sixel videos are pretty slow, especially at higher resolutions
andyrtr has joined #foot
h-erectus has quit [Remote host closed the connection]
Ordoviz has joined #foot
h-erectus has joined #foot
h-erectus has quit [Remote host closed the connection]
h-erectus has joined #foot
Ordoviz has quit [Quit: WeeChat 4.0.1]
newchair has joined #foot
alexherbo2 has joined #foot
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
xd1le has joined #foot