f_scrot and s_scrot now copies to X clipboard.
This commit is contained in:
parent
6ad2add75e
commit
c2682eca52
@ -7,12 +7,14 @@ s_scrot() {
|
|||||||
name=$(date +${date_format}_sel.png)
|
name=$(date +${date_format}_sel.png)
|
||||||
path="${scrot_dir}${name}"
|
path="${scrot_dir}${name}"
|
||||||
scrot -s $path
|
scrot -s $path
|
||||||
|
xclip -sel clip $path -t image/png
|
||||||
}
|
}
|
||||||
|
|
||||||
f_scrot() {
|
f_scrot() {
|
||||||
name=$(date +${date_format}_full.png)
|
name=$(date +${date_format}_full.png)
|
||||||
path="${scrot_dir}${name}"
|
path="${scrot_dir}${name}"
|
||||||
scrot $path
|
scrot $path
|
||||||
|
xclip -sel clip $path -t image/png
|
||||||
}
|
}
|
||||||
|
|
||||||
#cd into config dir
|
#cd into config dir
|
||||||
|
Loading…
Reference in New Issue
Block a user