mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
Window dancing page
This commit is contained in:
parent
de204e687c
commit
ce87e7a41a
1 changed files with 25 additions and 0 deletions
25
pages/Configuring/Window-dancing.md
Normal file
25
pages/Configuring/Window-dancing.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
# Configuring
|
||||||
|
|
||||||
|
I'll be using Rhythm Doctor as an example.
|
||||||
|
|
||||||
|
1. Set input rules
|
||||||
|
```ini
|
||||||
|
input {
|
||||||
|
# ...
|
||||||
|
follow_mouse=0
|
||||||
|
float_switch_override_focus=0
|
||||||
|
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Set the windowrule
|
||||||
|
|
||||||
|
```ini
|
||||||
|
windowrule=windowdance, rhythm doctor.exe
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Have fun!
|
||||||
|
|
||||||
|
![Demo](https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4)
|
Loading…
Reference in a new issue