mirror of https://github.com/hyprwm/hyprpicker.git
parent
5ba3268694
commit
7e1765f9f3
|
@ -13,6 +13,7 @@ void Clipboard::copy(const char* fmt, ...) {
|
|||
|
||||
outputStr = strdup(buf);
|
||||
|
||||
if (fork() == 0)
|
||||
execlp("wl-copy", "wl-copy", outputStr, NULL);
|
||||
|
||||
free(outputStr);
|
||||
|
|
Loading…
Reference in New Issue