Awesome WM - Launch a terminal based app with a shortcut
0
votes
2
answers
2175
views
What I want is to have a shortcut to initiate things like vifm, cmus, htop etc. These apps require being initiate from a terminal.
I know for create a shortcut in Awesome WM I should:
awful.key({ modkey }, "my_hotkey", function () awful.util.spawn(...here goes the app) end,
{description = "the_description", group = "my custom group"}),
But I can't simply put there:
awful.util.spawn("vifm")
I doesn't work. So how could I make a shortcut that initiates let's say vifm, taking in consideration this code have to run a terminal first and then inside that terminal launch "vifm".
Also, is there a more efficient way to do this? I mean maybe initiating directly vifm instead of having to rely on running first a terminal?
PD: My shell is bash, my terminal is Konsole.
Asked by GhostOrder
(181 rep)
Aug 6, 2020, 09:29 PM
Last activity: Sep 6, 2020, 05:35 AM
Last activity: Sep 6, 2020, 05:35 AM