Update 2024-02-19 09:29 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-02-19 09:29:01 +01:00
parent d4d678a0b4
commit bae0b5512e
2 changed files with 20 additions and 26 deletions

View File

@ -1,26 +0,0 @@
#!/bin/sh -xe
# snapshot
cd /home/sdk/.reminders
git add *
git commit -m "Update $(date +"%Y-%m-%d %H:%M:%S")" || true
# copy uugrn calendard to dalek
scp -q vorstand@vorstand.uugrn.org:private/Kalender/uugrn.rem \
sdk@home.codevoid.de:.reminders/uugrn.rem
# copy all calendars from dalek to local
scp -q sdk@home.codevoid.de:.reminders/\*.rem \
/home/sdk/.reminders/
# download vcal/vcard from icloud / radical
vdirsyncer sync
# create import.rem from ical events (XXX fix this mess)
find ~/.isync -name "*.ics" -exec cat {} + \
| ical2rem --no-todos \
| fgrep -v "REM MSG" \
| sed 's,\\n, ,g' \
| tr -d '\' \
| sed 's/ / /g' \
> /home/sdk/.reminders/import.rem

20
.reminders.rem Normal file
View File

@ -0,0 +1,20 @@
SET $DefaultColor "255 0 0"
include .reminders/personal.rem
SET $DefaultColor "0 0 255"
include .reminders/birthdays.rem
SET $DefaultColor "255 0 0"
include .reminders/uugrn.rem
SET $DefaultColor "0 255 0"
include .reminders/import.rem
SET $DefaultColor "-1 -1 -1"
REM Sat Sun SPECIAL SHADE 32
REM [moondate(0)] SPECIAL MOON 0
REM [moondate(1)] SPECIAL MOON 1
REM [moondate(2)] SPECIAL MOON 2
REM [moondate(3)] SPECIAL MOON 3