WIP: Pass FUZZEL_DESKTOP_FILENAME to launch-prefix #145

Open
VannTen wants to merge 5 commits from VannTen/fuzzel:env_var_runner into master

fix #110

This exports the desktop file name in FUZZEL_DESKTOP_FILENAME in the environment before executing the programm with a launch prefix.

Possible alternatives/improvements:

  • make the export depend on a configuration variables
    This could make the feature opt-in. I'm not sure where it would go, though. AFAICT, the config is not in scope in application_execute(). Maybe since it's exporting env variables, do it when parsing the config and be done with it ?

(Note: I based the PR on #141 because it's not easily testable without a configuration file otherwise)

fix #110 This exports the desktop file name in FUZZEL_DESKTOP_FILENAME in the environment before executing the programm with a launch prefix. Possible alternatives/improvements: - make the export depend on a configuration variables This could make the feature opt-in. I'm not sure where it would go, though. AFAICT, the config is not in scope in application_execute(). Maybe since it's exporting env variables, do it when parsing the config and be done with it ? (Note: I based the PR on #141 because it's not easily testable without a configuration file otherwise)
VannTen added 5 commits 3 months ago
cc07082d86
gitignore: ignore .cache
200eac9d01 Only pass FUZZEL_DESKTOP_FILENAME when using launch prefix
9fc2b585c6 Document the FUZZEL_DESKTOP_FILENAME variable
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
This pull request is marked as a work in progress.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: dnkl/fuzzel#145
Loading…
There is no content yet.