Added custom bash scripts.
This commit is contained in:
parent
15d3ac5692
commit
6c242fe82b
16
.custom_bash_scripts.sh
Executable file
16
.custom_bash_scripts.sh
Executable 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user