chimera-linux / turnstile

Independent session/login tracker
BSD 2-Clause "Simplified" License
89 stars 8 forks source link

export variables #14

Closed dkwo closed 5 months ago

dkwo commented 6 months ago

Is there a way in turnstile to set particular variables (such as XDG_CONFIG_HOME), useful for certain user services? This is on Void Linux, used in conjunction with dinit. Right now I use

$ cat .config/dinit.d/env-var-xdg 
XDG_CONFIG_HOME=/home/dkwo/.config

Also, when dinit is launched by turnstiled, is there a way to pass it arguments like --console-level or -q?

dkwo commented 5 months ago

perhaps this has more to do with dinit rather than turnstile.

q66 commented 5 months ago

yes this should be done separately and has nothing to do with turnstile (you can use dinitctl setenv to set anything in the service activation env)