use grimblast

This commit is contained in:
end-4
2024-02-26 22:41:35 +07:00
parent 01679e1849
commit 09e1e13fea
2 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ const Utilities = () => Box({
children: [
UtilButton({
name: 'Screen snip', icon: 'screenshot_region', onClicked: () => {
Utils.execAsync(['bash', '-c', `grim -g "$(slurp -d -c e2e2e2BB -b 31313122 -s 00000000)" - | wl-copy &`])
Utils.execAsync(`${App.configDir}/scripts/grimblast.sh`)
.catch(print)
}
}),