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