diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-08-10 16:33:32 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-08-10 16:33:32 +0400 |
commit | 5af2fb46368ea6a45e6dd334402efe03546f7ecf (patch) | |
tree | d27c3f2bf9d321ef14ef57d5a0221329ffbb8c37 /scripts | |
parent | b11e3c427dedadb67dba8d2f82951c57acdd6874 (diff) |
shot: update
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/shot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/shot b/scripts/shot index f87d95f..67ad849 100755 --- a/scripts/shot +++ b/scripts/shot @@ -30,6 +30,10 @@ run() { exit 0 } +if ! command -v scrot > /dev/null 2>&1; then + err "${0}: scrot must be installed" +fi + default_dir="${HOME}"/pics/screenshots s_flg="" |