Skip to content
Snippets Groups Projects
Verified Commit ec1518c9 authored by Volkor Barbarian Warrior's avatar Volkor Barbarian Warrior
Browse files

FIX: spectacle notification delaying upload

parent ed7c9692
No related branches found
No related tags found
No related merge requests found
Pipeline #96 passed
#!/bin/bash
# SUpload (Screenshot-Upload)
version="1.3.0"
version="1.3.1"
## Colours
r='\033[0;31m'
......@@ -273,7 +273,7 @@ if [ "$video" = "true" ] ; then
# Spetacle
if [ "$vshot" = "spectacle" ] ; then
echo -e "${r}WARNING: Press the ${nc}Tray Bar Icon ${r} to end screen recording!${nc}"
if ! spectacle -R r -o "$video_path" -b; then
if ! spectacle -R r -o "$video_path" -b -n; then
echo -e "${r}ERROR:${nc} Failed to record (spectacle crashed)"
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment