#!/bin/bash if [[ $(date +%u) -gt 5 ]]; then range=7 else range=3 fi calcurse -Q --days $range | sed 's/*/+/g' > cal.txt && python3 cal.py