zsh screenshot function
This commit is contained in:
parent
062c5128e1
commit
bbad41eb0a
1 changed files with 9 additions and 0 deletions
|
|
@ -9,3 +9,12 @@ alias units='units --verbose'
|
|||
alias trr='transmission-remote'
|
||||
alias g='git'
|
||||
alias rg='rg -S'
|
||||
|
||||
alias timestamp='date "+%Y-%m-%d_%H-%M-%S"'
|
||||
|
||||
screenshot() {
|
||||
local ts="$(timestamp)"
|
||||
local f="${HOME}/images/screenshots/${ts}.png"
|
||||
import "$f"
|
||||
echo "$f"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue