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

Adaptive rules based on environment #53

Open
kalocsaibotond opened this issue Jan 1, 2025 · 0 comments
Open

Adaptive rules based on environment #53

kalocsaibotond opened this issue Jan 1, 2025 · 0 comments

Comments

@kalocsaibotond
Copy link
Contributor

kalocsaibotond commented Jan 1, 2025

Is there a recommended way to make rules that change based on the environment?
For example, I want to use sfm in the console (without X), with fim image viewer. In the console, having a rule with DontWait is awful since sfm will steal the keyboard input from fim. However in an X session it is not a problem at all.
So somehow I would like to define a rule logic based on the value of DISPLAY environment variable. If it is defined then the rule will have DontWait, otherwise it will have Wait.

@kalocsaibotond kalocsaibotond changed the title Sfm steal keyboard input from framebuffer tools Sfm steal keyboard input from its subprocesses Jan 1, 2025
@kalocsaibotond kalocsaibotond changed the title Sfm steal keyboard input from its subprocesses Adaptive rules based on environment Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant