mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 04:35:59 +01:00
pages: Merge from main
This commit is contained in:
commit
840d8f1f82
4 changed files with 65 additions and 2 deletions
|
@ -28,3 +28,52 @@ submap=clean
|
|||
bind=MOD,KEY,submap,reset
|
||||
submap=reset
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
To configure this, 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
|
||||
# windowrule=forceinput, rhythm doctor.exe # May also be needed
|
||||
```
|
||||
|
||||
3. Have fun!
|
||||
|
||||
Click the GIF below to see a full demo video
|
||||
|
||||
[![Demo GIF of Rhythm Doctor](https://cdn.discordapp.com/attachments/810799100940255260/1032843745864986644/ezgif.com-gif-maker18.gif)](https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4)
|
||||
|
||||
## Shimeji
|
||||
|
||||
To use Shimeji programs like [this](https://codeberg.org/thatonecalculator/spamton-linux-shimeji), set the following rules:
|
||||
|
||||
```ini
|
||||
windowrule=float, com-group_finity-mascot-Main
|
||||
windowrule=noblur, com-group_finity-mascot-Main
|
||||
windowrule=nofocus, com-group_finity-mascot-Main
|
||||
windowrule=noshadow, com-group_finity-mascot-Main
|
||||
windowrule=noborder, com-group_finity-mascot-Main
|
||||
```
|
||||
|
||||
{{< hint >}}
|
||||
|
||||
The app indicator probably won't show, so you'll have to `killall -9 java` to kill them.
|
||||
|
||||
{{< /hint >}}
|
||||
|
||||
![Demo GIF of Spamton Shimeji](https://media.discordapp.net/attachments/810799100940255260/1032846469855727656/ezgif.com-gif-maker19.gif)
|
||||
|
|
|
@ -81,6 +81,7 @@ you can use `hyprctl clients`.
|
|||
| noborder | disables borders for the window |
|
||||
| noshadow | disables shadows for the window |
|
||||
| forceinput | forces an XWayland window to receive input, even if it requests not to do so. (Might fix issues like e.g. Game Launchers not receiving focus for some reason) |
|
||||
| windowdance | forces an XWayland window to never refocus, used for games/applications like Rhythm Doctor |
|
||||
| pin | pins the window *note: floating only* |
|
||||
| noanim | disables the animations for the window |
|
||||
|
||||
|
|
|
@ -284,3 +284,6 @@ heavily advised to use `full` regardless of anything.
|
|||
* `misc:disable_autoreload = true` to stop Hyprland from reloading configuration
|
||||
file each time that it changes.
|
||||
|
||||
# How to fix games with window dancing?
|
||||
|
||||
Read [this trick](../Configuring/Uncommon-tips--tricks/#window-dancing).
|
||||
|
|
|
@ -3,11 +3,14 @@ replacements for them:
|
|||
|
||||
# Discord
|
||||
|
||||
[WebCord](https://github.com/SpacingBat3/WebCord) is a Discord client based on
|
||||
- [WebCord](https://github.com/SpacingBat3/WebCord) is a Discord client based on
|
||||
the latest Electron, with support for Wayland Ozone platform, as well as
|
||||
PipeWire screensharing. It has tons of great features and tries not to infringe
|
||||
on the Discord ToS.
|
||||
|
||||
- [gtkcord4](https://github.com/diamondburned/gtkcord4) is a Discord client written in GTK4.
|
||||
While it does infringe on Discord's ToS, it's relatively safe and doesn't rely on any webview technologies.
|
||||
|
||||
# Spotify
|
||||
|
||||
It has been reported that Spotify does not follow window rules. This is possibly
|
||||
|
@ -38,4 +41,11 @@ windowrulev2 = workspace 9, class:^(Spotify)$
|
|||
|
||||
```
|
||||
|
||||
Pick your poison.
|
||||
Pick your poison.
|
||||
|
||||
## Matrix/Element
|
||||
|
||||
- [Fractal](https://wiki.gnome.org/Apps/Fractal) is a Matrix client written in GTK4.
|
||||
Much like Discord, Element is known to have a lot of problems as a result of being
|
||||
based on Electron. Fractal currently doesn't support VoIP calling, but all other features
|
||||
are supported, including E2EE and cross-device verification.
|
||||
|
|
Loading…
Reference in a new issue