aboutsummaryrefslogtreecommitdiff
path: root/scripts/windows_input/Common.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/windows_input/Common.ps1')
-rw-r--r--scripts/windows_input/Common.ps15
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/windows_input/Common.ps1 b/scripts/windows_input/Common.ps1
index 537b66ae..d944e87b 100644
--- a/scripts/windows_input/Common.ps1
+++ b/scripts/windows_input/Common.ps1
@@ -40,7 +40,10 @@ function New-GauntletProcess($Exe, $Arguments, $Plan, [switch] $Capture) {
$info.Environment['XDG_CONFIG_HOME'] = $Plan.config_home
$info.Environment['HERDR_SESSION'] = $Plan.session
if ($Plan.profile -ne 'default') { $info.Environment['HERDR_WINDOWS_INPUT_PROBE'] = $Plan.profile }
- if ($Plan.path -eq 'herdr') { $info.Environment['HERDR_WINDOWS_INPUT_TRACE_FILE'] = $Plan.input_trace }
+ if ($Plan.path -in @('herdr', 'herdr-remote')) { $info.Environment['HERDR_WINDOWS_INPUT_TRACE_FILE'] = $Plan.input_trace }
+ if ($Plan.path -eq 'herdr-remote') {
+ $info.Environment['HERDR_REMOTE_KEYBINDINGS'] = 'local'
+ }
}
$info.RedirectStandardOutput = $Capture.IsPresent
$info.RedirectStandardError = $Capture.IsPresent