79
submitted 7 months ago* (last edited 7 months ago) by communism@lemmy.ml to c/unixporn@lemmy.ml

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?

top 11 comments
sorted by: hot top controversial new old
[-] backhdlp@iusearchlinux.fyi 9 points 7 months ago

wdym "just started", it looks like you're done

[-] communism@lemmy.ml 4 points 7 months ago

I'm showing you the parts I'm happy with—a lot of programs are not customised! Also, it's a placeholder wallpaper & neofetch theme, etc

[-] backhdlp@iusearchlinux.fyi 4 points 7 months ago

you just like me frfr (I'd post here if I'd customize my bar)

[-] backhdlp@iusearchlinux.fyi 5 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.

[-] JustineSmithies@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

To get neofetch to display river and not sway make sure that you have either lsof or fuser packages installed and it should display river then. See lines 1902-1903 from this link.

https://github.com/dylanaraps/neofetch/blob/master/neofetch

[-] communism@lemmy.ml 1 points 7 months ago

Hm, I have lsof installed. Wonder why it's showing Sway then. Not a big deal, I won't waste time trying to get it to show

[-] DictatorGator@feddit.de 1 points 7 months ago

Is that waybar ? I saw the video from Isaac Freund on youtube I really liked the bar that he had on his setup, I wanted to emulate that on my setup.

[-] communism@lemmy.ml 2 points 7 months ago

Yep, waybar. Much better than polybar as you can customise it with css

[-] DictatorGator@feddit.de 2 points 7 months ago

Could you maybe share the configuration files ? I was trying to emulate the box type of waybar for my river setup. I wanted to know how you got that border outline in that color.

[-] communism@lemmy.ml 2 points 7 months ago

For the border it's just css. In your style.css:

window#waybar {
  background-color: @background;
  color: @foreground;
  opacity: 1;
  border: 1px solid @accent;
}

(where those are variables representing my waybar colours, you can ofc use literal values instead)

[-] DictatorGator@feddit.de 1 points 7 months ago

Many thanks. I did some experimenting yesterday and found out about it. Thank you nonetheless.

this post was submitted on 24 Mar 2024
79 points (96.5% liked)

Unixporn

15364 readers
3 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