You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metu.life-botlari/cal.sh

8 lines
141 B

4 years ago
#!/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