fix(display): screenshot delay on fedora

This commit is contained in:
2025-10-21 22:51:07 +02:00
parent 8a187385d1
commit 8310678bbf
+1 -1
View File
@@ -81,7 +81,7 @@ func TakeScreenshot() (string, error) {
cmds := []*exec.Cmd{
exec.Command("gnome-screenshot", "-f", tempFilePath),
exec.Command("xfce4-screenshooter", "-f", "-s", tempFilePath),
exec.Command("spectacle", "--fullscreen", "--background", "--output", tempFilePath),
exec.Command("spectacle", "--fullscreen", "--nonotify", "--background", "--output", tempFilePath),
}
for _, cmd := range cmds {
commandOutput := RunShellCommand(cmd)