feat:Make all the keybind keys case-insensitive

This commit is contained in:
DreamMaoMao 2025-04-18 21:59:29 +08:00
parent 7eac47b857
commit 2e02987128
4 changed files with 3 additions and 27 deletions

View file

@ -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`
![swappy-20250227-182157](https://github.com/user-attachments/assets/c4bca146-d1d7-42b1-aea5-a7e7e19e874b)
# custom animation
```