Added custom bash scripts.

This commit is contained in:
Sheldon Lee 2020-06-24 23:00:58 +01:00
parent 15d3ac5692
commit 6c242fe82b

16
.custom_bash_scripts.sh Executable file
View File

@ -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
}