mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:00:12 +02:00
Options regrouped: session.*, keyboard.*, launcherMenu.hiddenApps
- runtimeDir, userBus, outerBusEnv, userServices.*, portalFix.enable
-> session.{runtimeDir, bus, busEnv, services.*, portalFix.enable}
- keyboardLayout/keyboardVariant -> keyboard.layout/variant;
steamKeyboardPatch.enable -> keyboard.vr.extraKeys.enable
- hiddenApps -> launcherMenu.hiddenApps
- launcherMenu.launchDebounce -> launchDebounceSeconds (also the patch's
option key; launcher-menu-launch VERSION 3)
- "Steam UI patch" in option descriptions
Old names keep working with a rename warning (outerBusEnv is read-only:
reading it warns).
This commit is contained in:
1 parent
36fcb207bd
commit
a0c3e0846f
8 files changed
+124
-63
No files matched your search
@@ -23,7 +23,8 @@ let
|
||||
default = "http://127.0.0.1:8080";
|
||||
example = "http://127.0.0.1:8087";
|
||||
description = ''
|
||||
DevTools base URL (its /json/list is polled): Steam 8080, SteamVR 8087.
|
||||
DevTools base URL (its /json/list is polled): Steam 8080, SteamVR
|
||||
8087.
|
||||
'';
|
||||
};
|
||||
target = {
|
||||
@@ -134,11 +135,11 @@ in {
|
||||
|
||||
# Restart on switch: re-inject changed patches; the old instance reverts
|
||||
# removed ones.
|
||||
steamFrame.userServices.restart = [ "steam-ui-patches.service" ];
|
||||
steamFrame.session.services.restart = [ "steam-ui-patches.service" ];
|
||||
})
|
||||
# No patches: stopping the injector reverts them right away.
|
||||
(lib.mkIf (cfg.patches == [ ]) {
|
||||
steamFrame.userServices.stop = [ "steam-ui-patches.service" ];
|
||||
steamFrame.session.services.stop = [ "steam-ui-patches.service" ];
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user