You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you trying to configure builtin keyboard media controls? There are keycodes corresponding to brightness/volume/etc. in ./src/KMonad/Keyboard.hs, you could try binding those keycodes in your defsrc block or any other alias/layer, e.g.: (defalias c1 volu) ;; volu is a builtin keycode for "KeyVolumeUp"
Well-made software would recognize media control buttons, I think; if they don't, then yeah, you'll have to roll your own media button integration or send a PR there.
As for the cmd-button issues, the first step is to run kmonad with debug logging sudo kmonad -l debug and try the key combo; if the command gives stdout on error, then you will see it in the terminal and can diagnose the issue. Note there is also #426, which causes commands to inherit sudo from kmonad and run in root environment instead of the user; my way of working around this is by wrapping commands with sudo -u and your non-root account, though this is not portable and probably not security-kosher.
Is there built-in commands?
Like for volume up, brightness up, etc...
If not, its okay I could just do something like:
btw any idea why
c1 (cmd-button "kgx")
isnt working in my case
it should run a console window.
I do have
allow-cmd true
in the
defcfg
The text was updated successfully, but these errors were encountered: