mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
add option to Url plugin
This commit is contained in:
@@ -79,7 +79,14 @@ namespace Wox.Plugin.Url
|
|||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
raw.NewBrowserWindow(_settings.BrowserPath);
|
if (_settings.OpenInNewBrowserWindow)
|
||||||
|
{
|
||||||
|
raw.NewBrowserWindow(_settings.BrowserPath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
raw.NewTabInBrowser(_settings.BrowserPath);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,5 +9,7 @@ namespace Wox.Plugin.Url
|
|||||||
public class Settings
|
public class Settings
|
||||||
{
|
{
|
||||||
public string BrowserPath { get; set; }
|
public string BrowserPath { get; set; }
|
||||||
|
|
||||||
|
public bool OpenInNewBrowserWindow { get; set; } = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user