-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Cannot start under x11 and wayland, an error occurs #276
Comments
Hi @linux36524 it seems your configuration file is incorrect |
Hi. It seems you're either attempting to use the key 8 from numeric row or the keypad. If you wish to use the numeric row key, simply use `8` instead of `button8`. If it is the other one, use `kp8`. All of the key names are the same as defined in the kernel without the `KEY_` prefix.
|
button8 is the mouse button.
But when ported to swhkd, it is like this, is there anything wrong with writing it this way?
|
I'm afraid there is no implementation for the mouse button in swkhd. Let me consult @Shinyzenith and check if we want to implement this.
|
OK, thanks |
thread 'main' panicked at swhkd/src/config.rs:7:80:
called
Result::unwrap()
on anErr
value: Grammar(Error { variant: ParsingError { positives: [command], negatives: [] }, location: Pos(204), line_col: Pos((7, 2)), path: Some("/home/xxx/.config/swhkd/swhkdrc"), line: "button8", continued_line: None, parse_attempts: None })note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceThe text was updated successfully, but these errors were encountered: