Skip to content
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

how to configure mod? #135

Open
myf opened this issue Feb 2, 2016 · 2 comments
Open

how to configure mod? #135

myf opened this issue Feb 2, 2016 · 2 comments

Comments

@myf
Copy link

myf commented Feb 2, 2016

I have been trying to find out where and how to add a configuration that changes the mod key to ALT_L but I cannot figure it out. It's better to leave some configuration example

@Cloudef
Copy link
Owner

Cloudef commented Feb 2, 2016

The configuration still has some issues (mainly keybindings), and thus isn't documented well (the default ini backend anyways).

However to change prefix, create $XDG_CONFIG_HOME/orbment/orbment.ini and use contents:

[keybindings]
# Prefix is one of:
# shift, caps, ctrl, alt, mod2, mod3, logo, mod5
# The naming convention follows that of xkbcommon, I'm not sure what mod[2-5] actually binds to
prefix = logo

The best way right now to find configurable keys in orbment is to grep sources for configuration_get string.
For more details on that can be found here: https://github.com/Cloudef/orbment/blob/master/plugins/configuration/configuration.rst

@Cloudef
Copy link
Owner

Cloudef commented Feb 2, 2016

Just adding some older examples and resources.
https://ptpb.pw/cAf7/ini (Sample ini)
#89 (comment) (Example of input configuration)

In future the configurable keys will be exposed more conventietly (At least printed on log as first step, this is missing API for plugins which can register key and it's documentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants