Take a look at my config here as it should help. https://github.com/justinesmithies/dotfiles
On Tue, 8 Jun 2021, 08:58 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/CADrRWNYy9FP37uJftsDN9ugwpe4RVdV8qvcPxzZ%2Bcyo6e7Vcdw%40mail.gmail.com.
