refactor: centralize common strings, paths, and default values into a new Constants class.
This commit is contained in:
@@ -25,7 +25,7 @@ public class ClipboardManager : IClipboardManager
|
||||
{
|
||||
pInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = "wl-copy",
|
||||
FileName = Toak.Core.Constants.Commands.ClipboardWayland,
|
||||
UseShellExecute = false,
|
||||
CreateNoWindow = true,
|
||||
RedirectStandardInput = true
|
||||
@@ -35,7 +35,7 @@ public class ClipboardManager : IClipboardManager
|
||||
{
|
||||
pInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = "xclip",
|
||||
FileName = Toak.Core.Constants.Commands.ClipboardX11,
|
||||
Arguments = "-selection clipboard",
|
||||
UseShellExecute = false,
|
||||
CreateNoWindow = true,
|
||||
|
||||
Reference in New Issue
Block a user