fix: overwrite tmp ss flameshot

This commit is contained in:
diced 2023-01-11 21:44:24 -08:00
parent 388713a3c6
commit 9bf098a93a
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -52,7 +52,7 @@ export default function Flameshot({ user, open, setOpen }) {
}
const shell = `#!/bin/bash${values.wlCompositorNotSupported ? '\nexport XDG_CURRENT_DESKTOP=sway\n' : ''}
flameshot gui -p /tmp/ss.png;
flameshot gui -r > /tmp/ss.png;
${curl.join(' ')} | jq -r '.files[0]' | tr -d '\\n' | ${values.wlCompatibility ? 'wl-copy' : 'xsel -ib'};
`;