How to run scripts from Awesome Window Manager
0
votes
2
answers
1133
views
I would like to run scripts with a shortcut the same way I can run apps like firefox.
I have a Dmenu script (called dmconf) that list all my configuration files, I've already make it executable and is in my bin directory which is included in my path variable.
It works when I run the script from the terminal (konsole - Zsh) but it doesn't when I run it from Awesome. This is the relevant code from my rc.lua
awful.key({ modkey },"n",
function () awful.util.spawn("$HOME/bin/dmconf") end,
{description = "list configuration files", group = "Dmenu"}),
In the spawn parenthesis I've tried with "$HOME/bin/dmconf", "dmconf", "bash dmconf", but none of them worked.
Asked by GhostOrder
(181 rep)
Mar 9, 2021, 05:43 PM
Last activity: Sep 25, 2023, 02:34 PM
Last activity: Sep 25, 2023, 02:34 PM