Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for sending environment variables to launched apps #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carterisonline
Copy link

Summary

I was having some issues with settings a qt theme using qt5ct, so I implemented an option in the config to send environment variables to apps using GIO's ApplicationFlags.

Notable Changes

  • Added a config option called send_environment which controls whether Sirula sends environment variables
  • Moved the config variable to the application entry point main
  • The app_startup function now takes (after cloning) ownership over the config variable as a parameter instead of loading it inside the function itself.

@carterisonline carterisonline changed the title App support for sending environment variables to launched apps Add support for sending environment variables to launched apps Dec 1, 2021
@DorianRudolph
Copy link
Owner

Could you tell me what this actually does? I did not understand the documentation. Isn't the environment passed automatically? When I launch a terminal with sirula, the output of env looks the same with or without that flag.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants