diff --git a/display/pkg/main.go b/display/pkg/main.go index 319471a..952710b 100644 --- a/display/pkg/main.go +++ b/display/pkg/main.go @@ -17,7 +17,7 @@ import ( ) func TakeScreenshot() (string, error) { - tempFilePath := filepath.Join(os.TempDir(), fmt.Sprintf("screenshot_%d.png", time.Now().Unix())) + tempFilePath := filepath.Join(os.TempDir(), fmt.Sprintf("screenshot_%d.jpg", time.Now().Unix())) cmds := []*exec.Cmd{ exec.Command("gnome-screenshot", "-f", tempFilePath),