Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bare sessions #196

Open
chexo3 opened this issue Mar 20, 2024 · 3 comments
Open

Bare sessions #196

chexo3 opened this issue Mar 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@chexo3
Copy link

chexo3 commented Mar 20, 2024

Documentation mentions a folder for Wayland start scripts and for Xorg start scripts. What if I have a script that starts neither of those?

@coastalwhite coastalwhite added the enhancement New feature or request label Mar 21, 2024
@coastalwhite coastalwhite changed the title Should sessions/display servers that are neither Xorg nor Wayland (e.g. Arcan, bare TTY, etc) be put in with the Xorg scripts or the Wayland ones? Bare sessions Mar 21, 2024
@coastalwhite
Copy link
Owner

Heya!

I am not really sure, since I have never encountered this use case before. I might guess that adding it as a Wayland session could work, but I haven't checked that. The Wayland session sets some environment variables and runs the script in the Wayland start scripts folder. Although, this is not really difficult to add, I think there is probably a lot of customization that goes into starting these sessions (e.g. environment variables and such).

I have long been thinking of extracting lemurs' core functionality into a library so that more exotic usecases can also be facilitated and people can build their own UIs around it. Every time I have tried, the API design has kind of been the difficult part, though.

@chexo3
Copy link
Author

chexo3 commented Mar 23, 2024

The Wayland session sets some environment variables and runs the script in the Wayland start scripts folder. Although, this is not really difficult to add, I think there is probably a lot of customization that goes into starting these sessions (e.g. environment variables and such).

Can someone control (via configuration of some sort) which environment variables are set? Because assuming the Xorg sessions do something similar I guess they could go in either one

@coastalwhite
Copy link
Owner

At the moment, you can just make the script in /etc/lemurs/Wayland a shell script and set the environment variables from there.

There is no way in the configuration file to set options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants