From d290e7a3e393f912e59e709e56a567845dc8bbfe Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 1 Feb 2017 00:38:22 -0800 Subject: [PATCH] [Linux] Avoid showing rofi in screenshot --- dotfiles/lib/bin/screenshot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/lib/bin/screenshot.sh b/dotfiles/lib/bin/screenshot.sh index fe8bd9a0..9eb0ec11 100755 --- a/dotfiles/lib/bin/screenshot.sh +++ b/dotfiles/lib/bin/screenshot.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash -scrot "$(rofi -input /dev/null -dmenu)" +args="$(rofi -input /dev/null -dmenu)" +sleep 1 +scrot $args