diff --git a/.custom_bash_scripts.sh b/.custom_bash_scripts.sh new file mode 100755 index 0000000..aae670c --- /dev/null +++ b/.custom_bash_scripts.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +#screenshots using scrot +scrot_dir=$HOME/screenshots/ + +s_scrot() { + name=$(date +%Y-%m-%d_%H-%M_sel.png) + path="${scrot_dir}${name}" + scrot -s $path +} + +f_scrot() { + name=$(date +%Y-%m-%d_%H-%M_full.png) + path="${scrot_dir}${name}" + scrot $path +}