From cbb02ecfe3b3a3ccd1e8269bdf463e09cd1ab569 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com> Date: Thu, 20 Oct 2022 12:35:58 -0700 Subject: [PATCH 01/10] Update Window-Rules.md --- pages/Configuring/Window-Rules.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md index 7584046..eaec359 100644 --- a/pages/Configuring/Window-Rules.md +++ b/pages/Configuring/Window-Rules.md @@ -68,6 +68,8 @@ Keep in mind you do *not* need to define all of them, but you need to define at | rounding \[x\] | forces the application to have X pixels of rounding, ignoring the set default (in `decoration:rounding`). Has to be an int. | | noblur | disables blur for the window | | nofocus | disables focus to the window | +| 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) | | pin | pins the window *note: floating only* | | noanim | disables the animations for the window | From de204e687c439376604228d267c243fb6ebd845d Mon Sep 17 00:00:00 2001 From: Kainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com> Date: Thu, 20 Oct 2022 14:45:43 -0700 Subject: [PATCH 02/10] windowdance --- pages/Configuring/Window-Rules.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md index eaec359..510fedb 100644 --- a/pages/Configuring/Window-Rules.md +++ b/pages/Configuring/Window-Rules.md @@ -71,6 +71,7 @@ Keep in mind you do *not* need to define all of them, but you need to define at | 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 | From ce87e7a41a50abfa40b5fe6bc1bb263abe9934d3 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 20 Oct 2022 16:57:05 -0700 Subject: [PATCH 03/10] Window dancing page --- pages/Configuring/Window-dancing.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/Configuring/Window-dancing.md diff --git a/pages/Configuring/Window-dancing.md b/pages/Configuring/Window-dancing.md new file mode 100644 index 0000000..8096f79 --- /dev/null +++ b/pages/Configuring/Window-dancing.md @@ -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) From 317d8392586d155daa8e0dd4eae8e484dd2bf87d Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 20 Oct 2022 17:06:33 -0700 Subject: [PATCH 04/10] Move WD to UTT --- pages/Configuring/Uncommon-tips-&-tricks.md | 27 +++++++++++++++++++++ pages/Configuring/Window-dancing.md | 25 ------------------- 2 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 pages/Configuring/Window-dancing.md diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index 1de8f06..3108315 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -27,3 +27,30 @@ 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 +``` + +3. Have fun! + +![Demo](https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4) + diff --git a/pages/Configuring/Window-dancing.md b/pages/Configuring/Window-dancing.md deleted file mode 100644 index 8096f79..0000000 --- a/pages/Configuring/Window-dancing.md +++ /dev/null @@ -1,25 +0,0 @@ -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) From a73329327132eba24868a3a6c6950b3bc540740f Mon Sep 17 00:00:00 2001 From: Kainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com> Date: Thu, 20 Oct 2022 17:31:35 -0700 Subject: [PATCH 05/10] add wd to faq --- pages/FAQ/_index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index d32caa8..de21e2a 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -298,3 +298,7 @@ Optimization options: `misc:no_vfr = false` *possibly* `misc:disable_autoreload = true` + +### How to fix games with window dancing? + +Read [this trick](../Configuring/Uncommon-tips--tricks/#window-dancing). From 90c91217b5e60f92bd30a0e111dfff0b4b4717cf Mon Sep 17 00:00:00 2001 From: Kainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com> Date: Thu, 20 Oct 2022 17:32:04 -0700 Subject: [PATCH 06/10] Update Uncommon-tips-&-tricks.md --- pages/Configuring/Uncommon-tips-&-tricks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index 3108315..dd33c7d 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -52,5 +52,5 @@ windowrule=windowdance, rhythm doctor.exe 3. Have fun! -![Demo](https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4) +Demo video: https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4 From 4075e5cef1b7079367516f68c44f697249e3b80e Mon Sep 17 00:00:00 2001 From: Kainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com> Date: Thu, 20 Oct 2022 17:51:12 -0700 Subject: [PATCH 07/10] Add GTKCord4 and Fractal --- pages/Useful Utilities/App-Clients.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/Useful Utilities/App-Clients.md b/pages/Useful Utilities/App-Clients.md index e078804..d428d67 100644 --- a/pages/Useful Utilities/App-Clients.md +++ b/pages/Useful Utilities/App-Clients.md @@ -3,7 +3,17 @@ 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 native GTK4. +While it does infringe on Discord's TOS, it's relatively safe and doesn't rely on any webview technologies. + +## Matrix/Element + +- [Fractal](https://wiki.gnome.org/Apps/Fractal) is a fully native GTK4 Matrix client, +as 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. From 53ff6ed8b6dcafcef929019a0ba2eae31a5bac7a Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 20 Oct 2022 19:32:36 -0700 Subject: [PATCH 08/10] Fixes --- pages/Configuring/Uncommon-tips-&-tricks.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index dd33c7d..46d21a6 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -48,9 +48,11 @@ input { ```ini windowrule=windowdance, rhythm doctor.exe +# windowrule=forceinput, rhythm doctor.exe # May also be needed ``` 3. Have fun! -Demo video: https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4 +Click the GIF below to see a full demo video +[![Demo GIF](https://cdn.discordapp.com/attachments/810799100940255260/1032843745864986644/ezgif.com-gif-maker18.gif)](https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4) From 0875e6f69188d93c96e3f9909a7b74aff9a5e65b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 20 Oct 2022 19:43:44 -0700 Subject: [PATCH 09/10] Shimeji instructions --- pages/Configuring/Uncommon-tips-&-tricks.md | 22 ++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index 46d21a6..a435ff1 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -55,4 +55,24 @@ windowrule=windowdance, rhythm doctor.exe Click the GIF below to see a full demo video -[![Demo GIF](https://cdn.discordapp.com/attachments/810799100940255260/1032843745864986644/ezgif.com-gif-maker18.gif)](https://pool.jortage.com/voringme/misskey/565b9dfb-125f-4ea0-9257-b371cb4c7195.mp4) +[![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) From 2d962dea2ebd381e54fafa4d899d9574304c00ab Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 20 Oct 2022 21:38:35 -0700 Subject: [PATCH 10/10] App Clients changes (forgot to commit this) --- pages/Useful Utilities/App-Clients.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/Useful Utilities/App-Clients.md b/pages/Useful Utilities/App-Clients.md index d428d67..209c917 100644 --- a/pages/Useful Utilities/App-Clients.md +++ b/pages/Useful Utilities/App-Clients.md @@ -8,12 +8,12 @@ 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 native GTK4. -While it does infringe on Discord's TOS, it's relatively safe and doesn't rely on any webview technologies. +- [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. ## Matrix/Element -- [Fractal](https://wiki.gnome.org/Apps/Fractal) is a fully native GTK4 Matrix client, -as much like Discord, Element is known to have a lot of problems as a result of being +- [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.