mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 01:00:13 +02:00
- steam-keyboard-patch.nix -> vr-keyboard-extra-keys.nix (option
keyboard.vr.extraKeys), helper.mjs -> xdotool-helper.mjs;
homeManagerModules.steam-keyboard-patch stays as an alias.
- vr-keyboard: panel.js/unpatch-panel.js/relay.mjs ->
suggestions-panel/{patch,unpatch}.js + relay.mjs; decoder.js ->
swipe-decoder.js; build.nix split into dictionary.nix and check.nix.
- modules/lib -> modules/steam-ui-patches/lib (the UI patch library).
- docs/development.md: repository layout (what runs where), runtime names.
Patch names, user services and state files are unchanged.
10 lines
342 B
JavaScript
10 lines
342 B
JavaScript
// Reverts suggestions-panel/patch.js in SteamVR's systemui page: removes the
|
|
// strip panel, its embedded-UV slot and stylesheet. Safe when nothing is patched.
|
|
(() => {
|
|
const S = window.__sfuiKbdStrip;
|
|
if (!S) return 'not patched';
|
|
try { S.dispose?.(); } catch { /* gone */ }
|
|
delete window.__sfuiKbdStrip;
|
|
return 'unpatched';
|
|
})()
|