Uncommon tips&tricks: add window dancing

Co-authored-by: NotAShelf <itsashelf@gmail.com>
Co-authored-by: Antonino Scordino <a.scordino.07@gmail.com>
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
This commit is contained in:
Mihai Fufezan 2022-10-23 17:38:28 +03:00
parent 35c5576242
commit d296a0d211
No known key found for this signature in database
GPG Key ID: 5899325F2F120900
1 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# Switchable keyboard layouts
The easiest way to accomplish this is to set this using XKB settings, for example:
```
input {
kb_layout = us,pl
@ -28,11 +29,12 @@ bind=MOD,KEY,submap,reset
submap=reset
```
## Window Dancing
# Window Dancing
Some XWayland games like Rhythm Doctor and Friday Night Funkin' mods like to move the windows by themselves, but that often doesn't work by default.
Some XWayland games like Rhythm Doctor and Friday Night Funkin' mods like to move
the windows by themselves, but that often doesn't work by default.
To configure this, I'll be using Rhythm Doctor as an example.
For example, if you want to configure Rhythm Doctor, you'd have to:
1. Set input rules
```ini
@ -40,7 +42,6 @@ input {
# ...
follow_mouse=0
float_switch_override_focus=0
}
```