dotfiles/PS/launch_wsl_xserve.ps1

10 lines
269 B
PowerShell
Raw Normal View History

2019-10-10 18:10:17 -05:00
param (
[string]
$CommandPath = "konsole"
2019-10-10 18:10:17 -05:00
)
# Set the display variable for this process
Set-Item -Path Env:DISPLAY "127.0.0.1:0.0"
Set-Item -Path Env:WSLENV "DISPLAY/u"
Start-Process -FilePath "wsl.exe" -ArgumentList $CommandPath -WindowStyle Hidden