diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-07-05 15:06:20 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 12:01:21 +0200 |
commit | 72eb38c69d59ff29aa1662f4576ddf1fa3b35b9e (patch) | |
tree | caf14c079a87609d0b35847731639516be59eeea /.local/bin/wscrot | |
parent | 8b99216c7223501d1b62ef2052723cf6f42ead01 (diff) |
Update scrot commands
Diffstat (limited to '.local/bin/wscrot')
-rwxr-xr-x | .local/bin/wscrot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/wscrot b/.local/bin/wscrot new file mode 100755 index 0000000..2970713 --- /dev/null +++ b/.local/bin/wscrot @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +p="~/pictures/scrot" +cmd="mv \$f ${p} && notify-send \"Screenshot\" \"Saved to ${p}/\$f\"" + +scrot -bsz window-%Y%m%d%H%M%S.png -e "${cmd}" |