From 61f1c093e44cadb7ea66c9e8d05d090050fc4cfa Mon Sep 17 00:00:00 2001 From: sheldonmlee Date: Mon, 27 Sep 2021 22:09:42 +0800 Subject: [PATCH] Fixed copying to clipboard for selection screenshots. --- .config/wm_scripts/screenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/wm_scripts/screenshot.sh b/.config/wm_scripts/screenshot.sh index bc88583..9b94c91 100755 --- a/.config/wm_scripts/screenshot.sh +++ b/.config/wm_scripts/screenshot.sh @@ -68,7 +68,7 @@ prompt_gif() { s_scrot() { name=$(date +${date_format}_sel.png) path="${scrot_dir}/${name}" - scrot -s $path & + scrot -s $path && xclip -sel clip $path -t image/png }