I use the `qtile.test_data` variable which allows for anything(lists,dicts etc). You could do `qtile.test_data=terminal` and in autostart.sh do `qtile cmd-obj -o cmd -f eval -a "self.test_data" ` and extract the second value from the tuple which is returned `(True/False, your_terminal)` , however you'd want to do that.
On Tuesday, 16 August 2022 at 14:56:52 UTC+3 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/c734e8da-3df7-4e1e-932a-1040846cddd5n%40googlegroups.com.