I tried Justine's solution and ended up with a broken setup (default qtile was loaded). The solution that worked for me was: config.py *import os*
*terminal = guess_terminal()* *os.environ["shell_var"] = terminal* and then in the autostart.sh *$shell_var &* On Wednesday, August 17, 2022 at 12:20:01 AM UTC+10 justine...@gmail.com wrote: > Would doing the following in you config.py not work ? > > Export value for shell with > d["GUESSED_TERMINAL"] = terminal > > Then in your autostart script read $GUESSED_TERMINAL > > > > On Tue, 16 Aug 2022, 12:56 Eduardo Queiroz, <ebqu...@gmail.com> wrote: > >> Hi guys, >> >> I would like to know if it is possible to pass a variable value from the >> qtile config file to autostart.sh. The main thing is I use kitty in one >> system and alacritty and another system and if could pass the value of >> terminal=guess_terminal() to the bash script it would simplify things to >> share configs between the machines. >> >> Thanks, >> >> Eduardo >> >> -- >> You received this message because you are subscribed to the Google Groups >> "qtile-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to qtile-dev+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/qtile-dev/f296c93b-8a6a-424b-b124-f00d2f011822n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/qtile-dev/f296c93b-8a6a-424b-b124-f00d2f011822n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to qtile-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/1ca27d7f-6b6b-472e-ac49-d078ba66deadn%40googlegroups.com.