-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command() not working #229
Comments
As for seeing errors:
(@rvaiya, innocent question: do you know what other security implications there would be? Running a command as another user via |
My understanding is that swhkd is just another evdev based tool which will have similar drawbacks, though I have never used it.
+1
Not that I am aware of, but using Given that it is almost always possible to achieve this using some display server tool (e.g xbindkeys, sway config, etc), and most of the applications one would be interested in running are graphical (necessitating faffing about with
|
Thank you guys for the answer. Maybe I misunderstood the purpose of command() for something like Autohotkey. Unfortunately I tried this code and still fail:
Still nothing happens, and I guess the solution is to remap the keys I want to special unicode characters, then use those characters to map whatever I want with my window manager? |
By default stdout/stderr are discarded to avoid polluting the log file. You can explicitly redirect them by appending something like I would still strongly advise against doing this unless you have a good reason. You are better off doing something like and then binding |
Thank you :) I will remap the keys to another key and use that key to trigger applications / scripts using my Window Manager. |
Hi, I'm trying out command() and I can't get it to work.
Here's my example setup:
I can't get command() to work at all. Nothing happens when I press the combination. I can remap keys, run macro(), but I can't use command().
What am I doing wrong? Am I missing something? Is there a way that I can see the errors if I do something wrong with command()?
Thank you :)
The text was updated successfully, but these errors were encountered: