mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:04:16 +02:00
modules: consistency pass over patches and option docs
- pinned-desktop (VERSION 3): drop the stop() of a predecessor global that never existed in this repo; log errors as "sfui <NAME>:" through one guard helper, like the grid patch. - steamCloseButton.enable is a mkEnableOption like the other feature switches; enable descriptions no longer end in a stray newline. - launcher-menu.nix header lists show-all and no longer claims the patches use no webpack module; hiddenApps mentions showAllApps. - Patch comments: frame-controls ring timing matches the code (half of longPressMs, at most 1 s), window-curvature names frame-controls as what moves its control into the bar, steam-close-button no longer refers to an unpublished version.
This commit is contained in:
1 parent
93d061b458
commit
e98563bf08
9 files changed
+38
-44
No files matched your search
@@ -16,20 +16,15 @@ let
|
||||
in {
|
||||
imports = [ ./steam-ui-patches.nix ./steamvr-debugger.nix ];
|
||||
|
||||
options.steamFrame.dashboard.steamCloseButton.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Close (X) button on the SteamVR dashboard's main Steam window. It
|
||||
docks the window back into the dashboard if it was placed in the world,
|
||||
then switches to the most recently active other dashboard window, or,
|
||||
with none, leaves the dashboard open with just its bar ("bar only";
|
||||
kept when the dashboard is closed and reopened, until a window is
|
||||
activated, e.g. with the Steam tab). Runtime patch of the SteamVR
|
||||
dashboard (steamFrame.uiPatches), applied immediately; turning it off
|
||||
removes the button (next switch).
|
||||
'';
|
||||
};
|
||||
options.steamFrame.dashboard.steamCloseButton.enable = lib.mkEnableOption ''
|
||||
a Close (X) button on the SteamVR dashboard's main Steam window. It
|
||||
docks the window back into the dashboard if it was placed in the world,
|
||||
then switches to the most recently active other dashboard window, or,
|
||||
with none, leaves the dashboard open with just its bar ("bar only";
|
||||
kept when the dashboard is closed and reopened, until a window is
|
||||
activated, e.g. with the Steam tab). Runtime patch of the SteamVR
|
||||
dashboard (steamFrame.uiPatches), applied immediately; turning it off
|
||||
removes the button (next switch)'';
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
steamFrame.uiPatches.patches = [ {
|
||||
|
||||
Reference in new issue
Block a user