g* auto git commands added, some encoding stuff as well
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
#!/bin/bash
|
||||
wf-recorder -g "$(slurp)" --audio --file=$(date "+%s").mp4
|
||||
if [[ -z "$1" ]]; then
|
||||
file="$(date +%Y-%M-%d_%H:%m)"
|
||||
else
|
||||
file="$1"
|
||||
fi
|
||||
wf-recorder -g "$(slurp)" --audio --file="${file}.mp4"
|
||||
|
Reference in New Issue
Block a user