this post was submitted on 31 Dec 2023
51 points (96.4% liked)
Linux
48323 readers
840 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I guess it depends on your goals. If this is just for yourself, the solution you are using now sounds just fine, use Alacritty as the GUI.
If you want to package it as an app all wrapped up in a single binary that you might want to distribute to other people, you could just write a simple C program that imports both FZF and a tiny terminal emulator like ST (the Suckless Terminal), and configure ST in the C program to launch FZF with your unique FZF config, instead of launching
/bin/sh
. You could even dump your configs as constant strings into your C program so you don't need any external config files.Sounds like a good idea. ST doesn't work on wayland, does itm?
I don't think ST works on Wayland except through the ordinary Wayland X11 server they have to suppor legacy software. You might want to ask the Suckless people what their opinion is of Wayland and whether they will support it in the future.
Or you can use any other terminal emulator that does support Wayland, I only recommend ST because it is the simplest one and is specifically designed to be easy to hack.