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.

Reply via email to