commit 562bedda402d7db1c110a689e97bdf1e18fad5e4
parent 04417593c82e96f6b26bedd39f2ec2cf5e8d7ede
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 1 Mar 2019 17:40:36 +0100
shotf: add a small delay to not show rofi
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/scripts/bin/shotf b/pkgs/scripts/bin/shotf
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-maim | {
+maim -d1 | {
case $1 in
%c) to='clipboard'; xclip -selection clipboard -t image/png ;;
%d) to=~/desktop/pictures/screenshots/$(hostname)/$(date +'%Y-%m-%d-%H%M%S').png; cat > "$to" ;;