[River] WIP, just started. Pretty much just done the bar.

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?

73 points · 11 comments · view on lemmy.world

11 Comments

backhdlp@iusearchlinux.fyi · 9 pts · 2y (2 replies)

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

communism@lemmy.ml · 3 pts · 2y (1 reply)

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 pts · 2y

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

backhdlp@iusearchlinux.fyi · 4 pts · 2y

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 pts · 2y (1 reply)

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 pts · 2y

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 pts · 2y (4 replies)

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 pts · 2y (3 replies)

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

DictatorGator@feddit.de · 2 pts · 2y (2 replies)

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 pts · 2y (1 reply)

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 pts · 2y

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