diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-18 12:00:31 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-18 12:00:31 -0400 |
| commit | 48ee73dae1bdecec47ccbaf5456be8c5937cb0fd (patch) | |
| tree | 487b0829755b51216df418477173dbb88e9af269 /src/components/UsageInstructions.tsx | |
| parent | da113f878447e0830d414bb90b79b9a03d8cedec (diff) | |
| download | decky-lsfg-vk-48ee73dae1bdecec47ccbaf5456be8c5937cb0fd.tar.gz decky-lsfg-vk-48ee73dae1bdecec47ccbaf5456be8c5937cb0fd.zip | |
new profile method workaround for sudo global use
Diffstat (limited to 'src/components/UsageInstructions.tsx')
| -rw-r--r-- | src/components/UsageInstructions.tsx | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/src/components/UsageInstructions.tsx b/src/components/UsageInstructions.tsx index d156f9d..32aa0ff 100644 --- a/src/components/UsageInstructions.tsx +++ b/src/components/UsageInstructions.tsx @@ -33,8 +33,8 @@ export function UsageInstructions({ config }: UsageInstructionsProps) { }} > {config.enable - ? "LSFG is enabled globally. The layer will be active for all games automatically. No launch arguments needed." - : "LSFG is disabled. Enable it above to activate frame generation for all games." + ? "LSFG is enabled. Add the launch option below to Steam games to activate frame generation." + : "LSFG is disabled. Enable it above and add the launch option to activate frame generation." } </div> </PanelSectionRow> @@ -45,6 +45,26 @@ export function UsageInstructions({ config }: UsageInstructionsProps) { fontSize: "12px", lineHeight: "1.4", opacity: "0.8", + backgroundColor: "rgba(255, 255, 255, 0.1)", + padding: "8px", + borderRadius: "4px", + fontFamily: "monospace", + marginTop: "8px", + marginBottom: "8px" + }} + > + Required Launch Option: + <br /> + <strong>LSFG_PROCESS=decky-lsfg-vk %command%</strong> + </div> + </PanelSectionRow> + + <PanelSectionRow> + <div + style={{ + fontSize: "12px", + lineHeight: "1.4", + opacity: "0.8", whiteSpace: "pre-wrap" }} > @@ -69,7 +89,7 @@ export function UsageInstructions({ config }: UsageInstructionsProps) { marginTop: "8px" }} > - The configuration is stored in ~/.config/lsfg-vk/conf.toml and applies to all games globally. + Add the launch option to each game's Properties → Launch Options in Steam. The configuration is stored in ~/.config/lsfg-vk/conf.toml and hot-reloads while games are running. </div> </PanelSectionRow> </> |
