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, <[email protected]> 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 [email protected].
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CADrRWNaH2R%2BynyVrQeg4sZw%3D7TstVKFq80Kt1DmtEvj%2B%2BB7GNg%40mail.gmail.com.

Reply via email to