From c2682eca5253fcb8699cf39cacdb3c3ef400cbaf Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Thu, 24 Dec 2020 15:00:51 +0800 Subject: [PATCH] f_scrot and s_scrot now copies to X clipboard. --- .custom_bash_scripts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.custom_bash_scripts b/.custom_bash_scripts index 26b67c0..1051256 100644 --- a/.custom_bash_scripts +++ b/.custom_bash_scripts @@ -7,12 +7,14 @@ s_scrot() { name=$(date +${date_format}_sel.png) path="${scrot_dir}${name}" scrot -s $path + xclip -sel clip $path -t image/png } f_scrot() { name=$(date +${date_format}_full.png) path="${scrot_dir}${name}" scrot $path + xclip -sel clip $path -t image/png } #cd into config dir