mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
fix(display): screenshot delay on fedora
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user