-
Notifications
You must be signed in to change notification settings - Fork 11
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
Improve Compositor.json
#23
Comments
For example, for the {
/* ... */
"workspace(n)": "{mod}+{n}",
"moveWindowWorkspace(n)": "{mod}+{n}",
/* ... */
} |
Just took a look at your pr, very nice work on the compositor! I'm just curious how we could define the {n} variable here (since it can have more than one value at a time). Also, did you use brackets to specifiy that the value inside is a variable, or did you use them to to specify that the variable inside can have multiple values (like n can be 1,2,3...). |
Hey, sorry I didn't see this!
First of all, thanks!
I was thinking something similar to macros, so I guess, kind of both options. |
I'll actually re-open this issue since there's a few other things around the configuration that can still be up for discussion (and so I can get Discord notifications, lol). |
What would be cool to see are error (or warning messages) with line and column numbers. |
So speaking of the MoveWindowLeft and the other MoveWindow ones, we can make a standard chunk, say 50 pixels, and using the keyboard shortcut the window will get smaller and smaller by this definite amount (here it's 50 px). Thus, it can be changed in the config file |
As suggested by @dorakuflu
I'll quote the their example
Compositor.json
here as it is good idea.I'll also add a couple more suggestions:
%mod%
,{{mod}}
,$mod
)Compositor.json
a.jsonc
file to allow comments.The text was updated successfully, but these errors were encountered: