The sharenix-section and sharenix-window scripts weren't working for me and after looking into it I found why.
They are creating a temp file first and then overwriting. However scrot does not overwrite by default and instead it was writing to a new number appended file.
The
sharenix-section
andsharenix-window
scripts weren't working for me and after looking into it I found why. They are creating a temp file first and then overwriting. However scrot does not overwrite by default and instead it was writing to a new number appended file.Fix is simple, add the -o flag: