1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

clipboard: remove wl-copy references

This commit is contained in:
bbedward
2025-12-11 11:10:27 -05:00
parent 5bf54632be
commit 597e21d44d
16 changed files with 22 additions and 77 deletions

View File

@@ -54,7 +54,7 @@ DankModal {
}
function copyColorToClipboard(colorValue) {
Quickshell.execDetached(["sh", "-c", `echo -n "${colorValue}" | wl-copy`]);
Quickshell.execDetached(["dms", "cl", "copy", colorValue]);
ToastService.showInfo(`Color ${colorValue} copied`);
SessionData.addRecentColor(currentColor);
}
@@ -614,7 +614,7 @@ DankModal {
} else {
rgbString = `rgb(${r}, ${g}, ${b})`;
}
Quickshell.execDetached(["sh", "-c", `echo -n "${rgbString}" | wl-copy`]);
Quickshell.execDetached(["dms", "cl", "copy", rgbString]);
ToastService.showInfo(`${rgbString} copied`);
}
}
@@ -678,7 +678,7 @@ DankModal {
} else {
hsvString = `${h}, ${s}, ${v}`;
}
Quickshell.execDetached(["sh", "-c", `echo -n "${hsvString}" | wl-copy`]);
Quickshell.execDetached(["dms", "cl", "copy", hsvString]);
ToastService.showInfo(`HSV ${hsvString} copied`);
}
}