diff options
| author | yctct <yctct@yctct.com> | 2025-11-06 10:11:29 +0100 |
|---|---|---|
| committer | yctct <yctct@yctct.com> | 2025-11-06 10:11:29 +0100 |
| commit | 1c7856fd3aff5fd059f040262d9647f60a18e0c1 (patch) | |
| tree | 0e819830d4ea86f6359a5ac49470a4fe1e9b0255 /capscr | |
Add scripts and functions
Diffstat (limited to 'capscr')
| -rwxr-xr-x | capscr | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/bash +# credit: nixkid +timestamp="$(date +%d.%m.%Y"_shot_"%H:%M:%S)" +targetbase="$HOME/Pictures/screenshots" +mkdir -p $targetbase +[ -d $targetbase ] || exit 1 +import -window root -quality 98 $targetbase/$timestamp.png |
