initial commit

This commit is contained in:
2026-03-22 02:25:16 +01:00
commit eb72820ce9
42 changed files with 2506 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using System.Diagnostics;
namespace Hush.Input;
public class XdotoolInput : ITextInput
{
public async Task TypeString(string text)
{
var process = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = "xdotool",
Arguments = $"type --delay 10 -- \"{text}\"",
UseShellExecute = false,
CreateNoWindow = true
}
};
process.Start();
await process.WaitForExitAsync();
process.Dispose();
}
}