Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Found the internet!
swaywm
r/swaywm
3
Posted by1 day ago

Nvidia User. NO $DISPLAY VARIABLE

Hello . I'm in Arch with zen kernel. I have installed nvidia-drivers. I just found out I have no $DISPLAY variable set. Echoing $DISPLAY results blank. I have removed /etc/environment file. I wanted to run a pure Wayland session so I have not installed xorg-xwayland

Can't open glxgears nor vkcube.

glxgears:

couldn't open display (null)

vkcube:

Environment variable DISPLAY requires a valid value.

10 comments
100% Upvoted

User avatar
level 1
· 1 day ago
Sway User

Is Xwayland running? If you have xwayland disable in your sway config, comment it out.

1
User avatar
level 2

I forgot to mention I have no xorg-xwayland installed

1
User avatar
level 1

As other comments say, DISPLAY is an xorg thing.

Is there a good reason not to use xwayland? I don't even notice which apps are wayland-native and which are xorg. Why disable a compatibility layer?

1
More posts you may like
7
Subreddit Icon
Posted by5 days ago
7
3 comments
6
5
4
4
Subreddit Icon
Posted by4 days ago
4
7 comments
3
Subreddit Icon
Posted by13 hours ago
Post image
3
6 comments
3
Subreddit Icon
Crossposted by1 day ago
Posted by1 day ago

Hi everybody, I am using EndeavourOS, Sway spin, and I am trying to make my waybar look like a powerline. No matter what font I use, what config I take, I cannot manage to do what I want, there is always space between the triangles needed to make the powerline.

Here is my config. You can find the two tries that I saved. The current config and style.css are not powerline.

Here is a screenshot of the problem.

Edit: [Solved] - there were a couple of problems:

  • for colors the issue was with the GTK theme, solved by changing it in the swaywm config

  • for triangles distance, the problem was padding, I had to explicitly put it as 0px

  • to get rid of the bottom "border" I had to delete the box-shadow on style.css

Thanks for everyone's advice!

7 points
3
11 comments
See more posts like this in r/swaywm