add spectacle-screenshot zsh script in ~/.local/bin/
This commit is contained in:
parent
e8da39c822
commit
a1e52720c6
2 changed files with 21 additions and 0 deletions
11
.local/bin/spectacle-screenshot
Executable file
11
.local/bin/spectacle-screenshot
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/zsh
|
||||
# This file exists so that the `spectacle-screenshot` function can be easily called from a desktop shortcut
|
||||
source ~/.zshc/func.zsh
|
||||
|
||||
if [[ -z "${1}" ]]; then
|
||||
readonly record=false
|
||||
else
|
||||
readonly record=$1
|
||||
fi
|
||||
|
||||
spectacle-screenshot $record
|
Reference in a new issue