Skip to content

Commit

Permalink
weatherlight => [print.spell]
Browse files Browse the repository at this point in the history
  • Loading branch information
mendess committed Jul 4, 2024
1 parent 7080fe2 commit 9696c98
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions spells/print.spell
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ if [ -z "$file" ]; then
fi

if [[ -z "$2" ]]; then
select q in HP-CARTAS-C6 HP-A4; do
queue="$q"
break
done
if [ -t 0 ]; then
select q in HP-CARTAS-C6 HP-A4; do
queue="$q"
break
done
else
queue=HP-CARTAS-C6
fi
else
queue=HP-CARTAS-C6
queue="$2"
fi

log 'sending pdf to print server' "$file"
Expand Down

0 comments on commit 9696c98

Please sign in to comment.