this post was submitted on 24 Mar 2024
77 points (96.4% liked)

Unixporn

15400 readers
56 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 5 years ago
MODERATORS
 

Also, I thought Neofetch just always interpreted River as Sway, but I've now seen people's Neofetch screenshots saying River. How do I get Neofetch to tell I'm using River not Sway?

you are viewing a single comment's thread
view the rest of the comments
[–] backhdlp@iusearchlinux.fyi 4 points 7 months ago

To determine the current WM in Wayland, neofetch first tries getting the process connected to the current Wayland display. If that fails, it checks all running processes against a hardcoded list of known WMs (which includes river).

In practice, it seems to prefer the value of XDG_CURRENT_DESKTOP, but idrk, neofetch is magic.

You might've seen people use fastfetch, which should just get it right, but is also magic, tho at least c and not bash.