@@ -41,9 +41,9 @@ impl ScreenshotType {
4141 file. clone ( ) ,
4242 match self {
4343 Self :: Flameshot => format ! ( "flameshot gui -c -p {}" , file) ,
44- Self :: Spectacle => format ! ( "spectacle -ar {}" , file) ,
45- Self :: Scrot => format ! ( "scrot -s {}" , file) ,
46- Self :: Screencapture => format ! ( "screencapture -R0,0,500,500 {}" , file) ,
44+ Self :: Spectacle => format ! ( "spectacle -rbno {}" , file) ,
45+ Self :: Scrot => format ! ( "scrot --select {}" , file) ,
46+ Self :: Screencapture => format ! ( "screencapture -S {}" , file) ,
4747 Self :: Custom { area, .. } => area. replace ( "{file}" , & file) ,
4848 } ,
4949 )
@@ -55,9 +55,9 @@ impl ScreenshotType {
5555 file. clone ( ) ,
5656 match self {
5757 Self :: Flameshot => format ! ( "flameshot gui -p {}" , file) ,
58- Self :: Spectacle => format ! ( "spectacle -b -p {}" , file) ,
58+ Self :: Spectacle => format ! ( "spectacle -fbno {}" , file) ,
5959 Self :: Scrot => format ! ( "scrot {}" , file) ,
60- Self :: Screencapture => format ! ( "screencapture -m {}" , file) ,
60+ Self :: Screencapture => format ! ( "screencapture -S {}" , file) ,
6161 Self :: Custom { screen, .. } => screen. replace ( "{file}" , & file) ,
6262 } ,
6363 )
@@ -69,10 +69,10 @@ impl ScreenshotType {
6969 file. clone ( ) ,
7070 match self {
7171 Self :: Flameshot => format ! ( "flameshot gui -p {} -w" , file) ,
72- Self :: Spectacle => format ! ( "spectacle -b -p {} -w " , file) ,
73- Self :: Scrot => format ! ( "scrot -u {}" , file) ,
72+ Self :: Spectacle => format ! ( "spectacle -abno {} " , file) ,
73+ Self :: Scrot => format ! ( "scrot --border --focused {}" , file) ,
7474 Self :: Screencapture => {
75- format ! ( "screencapture -mw {}" , file)
75+ format ! ( "screencapture -w {}" , file)
7676 }
7777 Self :: Custom { window, .. } => window. replace ( "{file}" , & file) ,
7878 } ,
0 commit comments