Just tried out a script of my own with the same key binding, it seems to be
working fine. Could you cat ~/.local/share/qtile/qtile.log into the
terminal and check if there are any issues? Also what does the script do?
Does it run a process in the background or open a window?

On Tue, 8 Jun, 2021, 13:28 Aditya Manga, <[email protected]> wrote:

> Hi, I understand this might be a slightly newbie question however I'm at a
> loss for what to try after several attempts.
>
> I'm trying to run a .sh script through a mod + R keybind however I can't
> seem to figure out how to make it work. My code is:
>
> Key([mod], "r",
>     lazy.spawn("sh ~/.config/rofi/scripts/appsmenu.sh"), desc="Spawn a
> command using a prompt widget"),
>
> This code allows qtile to restart however the keybinding doesn't work -
> I've confirmed that the code does work within a terminal. I've also tried
> using the shell command. Furthermore I tried using lazy.spawncmd however in
> that case qtile simply didn't even restart.
>
> I'd appreciate any help in being able to run the .sh script through the
> key binding as it's a method I plan to use a lot more in the future for
> more complicated, longer scripts.
>
> --
> 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/01eccd4e-f473-4340-b634-eeadc655030dn%40googlegroups.com
> <https://groups.google.com/d/msgid/qtile-dev/01eccd4e-f473-4340-b634-eeadc655030dn%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/CALCidoxG%2BA%2Br3QsNsjZH2B042irBUW_%2BibSvGCRPA5%3DWMPHZUg%40mail.gmail.com.

Reply via email to