fix: overwrite tmp ss flameshot
This commit is contained in:
parent
388713a3c6
commit
9bf098a93a
1 changed files with 1 additions and 1 deletions
|
@ -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'};
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue