u/Bug8912

I created a small utility to feed program list with recency to fzf (or other) and launch them

I created a small utility to feed program list with recency to fzf (or other) and launch them

Hello everyone

I was creating an fzf-based launcher for my MangoWM desktop, but I got frustrated with my Bash scripts used to extract the Name and Exec lines from .desktop files. Doing it in Bash is a bit messy, and the performance was not really on par with something like Rofi.

So I decided it would be a good project to learn Go while hopefully building something performant enough for my needs. But maybe someone else could find it useful too.

lsdesktop outputs a list of applications in a name:path format that can easily be used with fzf. (I might later add support for templates to allow different output formats.)

desklaunch is used to start programs from a .desktop file, but it can also output the fully parsed and sanitized Exec line so it can be used with another launcher such as Dex or even your Wayland compositor.

I took inspiration from Rofi, trying to match its behavior, and from Dex for launching programs.

I should also mention that :This software's code is partially AI-generated because I used it to get better regexes, to move file and code around and to write (overkill) tests. It is not what you could call a vibecoded project though.

Also it is my first time coding in Go, so expect bugs or weird behavior, especially if you have buggy or unusual .desktop files.

Let me know what you think !

github.com
u/Bug8912 — 2 days ago
▲ 36 r/QuickShell+1 crossposts

I was not satisfied with current screen lockers, especially with fingerprint support so I made my own with Quickshell.

It should be as secure as your compositor and Wayland allows, feel free to report any issue or suggestion. It should be pretty easy to customize.

The text field could really be improved.

I hope you will like it.

https://github.com/FLchs/quicklock

u/Bug8912 — 17 days ago

Hello fam,

So i setup this new to me T14 with dm-crypt, I use Plymouth to have a nice looking password prompt but for some reason the backlight goes to 0 when Plymouth appears. After the disk is mounted and the read boot start, the brightness is restored as it should.

So I guess there is an issue in the initramfs but I tried to add a systemd service to start before plymouth but obviously /sys/class/backlight/amdgpu_bl1 is not available... I tried to add amdgpu to my mkinitcpio.conf modules but it nothing changes.

Any idea of what is wrong ?

Thank you

edit:
I found a fix !
I simply had to add a udev rule to change the backlight as soon as the GPU is available.

/etc/udev/rules.d/99-backlight-initrd.rules

ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="amdgpu_bl1", RUN+="/bin/sh -c 'echo 62451 > /sys/class/backlight/amdgpu_bl1/brightness'"

reddit.com
u/Bug8912 — 20 days ago
▲ 8 r/Gentoo+1 crossposts

Hello fam,

So I have a perfectly functional Arch system with full root encryption and TPM + password or a passphrase if TPM is failing. All with secure boot and UKI so I guess I'm "pretty safe" (secure boot can't be disable without a password in the bios oc).

I spent a whole day trying to replicate this to Gentoo without using systemd... I managed to have luks working with signed (non uki) Kernel modules but couldn't go any further. Afaik Clevis doesn't provide a way to have TPM+password and uki is mostly a systemd thing.

So the only solution would be to let systemd do it's thing for key enrolling and stuff as well as for UKI but keep openrc as an init system.

It seems a bit weird to mix systemd with an openrc system don't you think so ?

I really wish systemd was not as much everywhere.

TLDR: Trying to have luks with TPM+password and secure boot while minimizing systemd.

reddit.com
u/Bug8912 — 23 days ago