-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
36 lines (29 loc) · 1.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ozadje.sh
#
# This script generates a PNG file of upcoming events in Kiberpipa
# Modeled after rd666's original script, changelog:
# - migrated from mysql to postgres
# - minor cleanup
# - this header with documentation
#
# How it works is:
# 1. it connects to the i3 database and retrieves all future public (!= 11) events
# 2. takes the top 6 (head -6) of those
# 3. checks the dates, and marks tuesdays' events as POTS, and wednesdays' as SUs
# 4. writes that to a file named "text" (why, almir, why"
# 5. loops through that file, and uses imagemagics's convert and composite to generate the png
# 6. the png is left at a standard location, and is retrieved from there by the terminals
# 7. run everything from cron
#
# Updates: http://github.com/ikolar/kiberpipa-ozadja/tree/master
#
# Copyleft Apr 2009 Igor Kolar <[email protected]>
Q&A:
Q: Kako zamenjam ozadje?
A: template.png
Q: Kako zamenjam font?
A: Daj .ttf fajl
Q: Kako poženem to zadevo s crona?
1. Nastavi variablo
Q: Kako zavladam svetu?
A: Čččččaj, saj ne morš (Edo Dečko, several times)