Browse Source

lazy update

master
John ShaggyTwoDope Jenkins 4 years ago
parent
commit
add01a63af
2 changed files with 13 additions and 1 deletions
  1. 10
    0
      txt2pdf
  2. 3
    1
      updatecalcurse

+ 10
- 0
txt2pdf View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# AUTHOR: shaggy
# FILE: txt2pdf.sh
# ROLE: TODO (some explanation)
# CREATED: 2015-04-05 03:07:15
# MODIFIED: 2015-04-05 03:07:16
_tempfile=$(mktemp -u)
abiword --to=ps --to-name="${_tempfile}" "${1}"
ps2pdf "${_tempfile}" "${1}.pdf"
rm "${_tempfile}"

+ 3
- 1
updatecalcurse View File

@@ -3,7 +3,7 @@
# FILE: updatecalcurse
# ROLE: TODO (some explanation)
# CREATED: 2014-12-21 18:17:01
# MODIFIED: 2015-02-22 03:56:11
# MODIFIED: 2015-04-05 21:50:23

function check {
if (( $(pidof calcurse | wc -w) == 1 )); then
@@ -67,6 +67,7 @@ wget https://www.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.go

wget https://www.google.com/calendar/ical/en.mexican%23holiday%40group.v.calendar.google.com/public/basic.ics -q -O ~/.calcurse/mexicanholiday.ics &&

wget https://www.google.com/calendar/ical/pfutdblf1gi8jmfsvroh76f6jg%40group.calendar.google.com/public/basic.ics -q -O ~/.calcurse/firstshowingdotnet.ics &&

wget https://www.google.com/calendar/ical/en.japanese%23holiday%40group.v.calendar.google.com/public/basic.ics -q -O ~/.calcurse/japanholiday.ics &&

@@ -90,6 +91,7 @@ calcurse -i ~/.calcurse/tv.ics &&
calcurse -i ~/.calcurse/anime.ics &&
calcurse -i ~/.calcurse/usholiday.ics &&
calcurse -i ~/.calcurse/mexicanholiday.ics &&
calcurse -i ~/.calcurse/firstshowingdotnet.ics &&
calcurse -i ~/.calcurse/japanholiday.ics &&
#calcurse -i ~/.calcurse/moon.ics &&


Loading…
Cancel
Save