Browse Source

lazy update

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 @@
1
+#!/usr/bin/env bash
2
+# AUTHOR:   shaggy
3
+# FILE:     txt2pdf.sh
4
+# ROLE:     TODO (some explanation)
5
+# CREATED:  2015-04-05 03:07:15
6
+# MODIFIED: 2015-04-05 03:07:16
7
+_tempfile=$(mktemp -u)
8
+abiword --to=ps --to-name="${_tempfile}" "${1}"
9
+ps2pdf "${_tempfile}" "${1}.pdf"
10
+rm "${_tempfile}"

+ 3
- 1
updatecalcurse View File

@@ -3,7 +3,7 @@
3 3
 # FILE:     updatecalcurse
4 4
 # ROLE:     TODO (some explanation)
5 5
 # CREATED:  2014-12-21 18:17:01
6
-# MODIFIED: 2015-02-22 03:56:11
6
+# MODIFIED: 2015-04-05 21:50:23
7 7
 
8 8
 function check {
9 9
 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
67 67
 
68 68
 wget https://www.google.com/calendar/ical/en.mexican%23holiday%40group.v.calendar.google.com/public/basic.ics -q -O ~/.calcurse/mexicanholiday.ics &&
69 69
 
70
+wget https://www.google.com/calendar/ical/pfutdblf1gi8jmfsvroh76f6jg%40group.calendar.google.com/public/basic.ics -q -O ~/.calcurse/firstshowingdotnet.ics &&
70 71
 
71 72
 wget https://www.google.com/calendar/ical/en.japanese%23holiday%40group.v.calendar.google.com/public/basic.ics -q -O ~/.calcurse/japanholiday.ics &&
72 73
 
@@ -90,6 +91,7 @@ calcurse -i ~/.calcurse/tv.ics &&
90 91
 calcurse -i ~/.calcurse/anime.ics &&
91 92
 calcurse -i ~/.calcurse/usholiday.ics &&
92 93
 calcurse -i ~/.calcurse/mexicanholiday.ics &&
94
+calcurse -i ~/.calcurse/firstshowingdotnet.ics &&
93 95
 calcurse -i ~/.calcurse/japanholiday.ics &&
94 96
 #calcurse -i ~/.calcurse/moon.ics &&
95 97
 

Loading…
Cancel
Save