mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
feat:Make all the keybind keys case-insensitive
This commit is contained in:
parent
7eac47b857
commit
2e02987128
4 changed files with 3 additions and 27 deletions
21
README.md
21
README.md
|
|
@ -110,27 +110,6 @@ like `MAOMAOCONFIG=/home/xxx/maomao`
|
|||
|
||||
- the fallback config path is in `/etc/maomao/config.conf`, you can find the default config here
|
||||
|
||||
# keybinds notice
|
||||
|
||||
All mod keys(alt,ctrl,shift,super,none) are case insensitive, in addition to other key names are case sensitive, the name follows the xkb standard name, you can use the `xev` command to get the key name of the key you want, note that if your mod key contains the shift key, then it may not be the key name displayed on the keyboard. Real name Refer to the name displayed in the `xev` command.
|
||||
|
||||
for example:
|
||||
|
||||
### this is wrong:
|
||||
|
||||
```
|
||||
bind=alt+shift,2,quit
|
||||
```
|
||||
|
||||
### this is right:
|
||||
|
||||
```
|
||||
bind=alt+shift,at,quit
|
||||
```
|
||||
|
||||
because your keybinds contain shift, the `2` cover to `at`
|
||||

|
||||
|
||||
# custom animation
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue