Update 2023-01-09 07:19 OpenBSD/amd64
This commit is contained in:
parent
5df8b5da0a
commit
19bf31dc8e
32
.bin/rem2ics
32
.bin/rem2ics
@ -10,20 +10,24 @@
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
|
||||
BEGIN {
|
||||
print "BEGIN:VCALENDAR"
|
||||
print "VERSION:2.0"
|
||||
print "BEGIN:VCALENDAR"
|
||||
print "VERSION:2.0"
|
||||
}
|
||||
{
|
||||
gsub("/","",$1)
|
||||
print "BEGIN:VEVENT"
|
||||
if ($5 != "*"){
|
||||
printf("DTSTART:%dT%02d%02d00\n",$1,$5/60,$5%60)
|
||||
printf("DTEND:%dT%02d%02d00\n",$1,$5/60+$4/60,$5%60+$4%60)
|
||||
print "SUMMARY:" substr($0,match($0,$7))
|
||||
} else {
|
||||
printf("DTSTART:%d\n",$1)
|
||||
print "SUMMARY:" substr($0,match($0,$6))
|
||||
|
||||
$2 == "*" {
|
||||
gsub("/","",$1)
|
||||
print "BEGIN:VEVENT"
|
||||
if ($5 != "*"){
|
||||
printf("DTSTART:%dT%02d%02d00\n",$1,$5/60,$5%60)
|
||||
printf("DTEND:%dT%02d%02d00\n",$1,$5/60+$4/60,$5%60+$4%60)
|
||||
print "SUMMARY:" substr($0,match($0,$7))
|
||||
} else {
|
||||
printf("DTSTART:%d\n",$1)
|
||||
print "SUMMARY:" substr($0,match($0,$6))
|
||||
}
|
||||
print "END:VEVENT"
|
||||
}
|
||||
print "END:VEVENT"
|
||||
|
||||
END {
|
||||
print "END:VCALENDAR"
|
||||
}
|
||||
END {print "END:VCALENDAR"}
|
||||
|
@ -33,7 +33,7 @@ stack_mark_max = ''
|
||||
# Custom Quirks
|
||||
quirk[IPMIView20-IPMIView20:IPMIView20-IPMIView20] = FLOAT + ANYWHERE
|
||||
quirk[scratchpad] = FLOAT + ANYWHERE + OBEYAPPFOCUSREQ
|
||||
quirk[tabbed] = FLOAT + ANYWHERE
|
||||
quirk[scratchpad:tabbed] = FLOAT + ANYWHERE
|
||||
quirk[Nsxiv:tabbed] = NOFOCUSONMAP + FOCUSPREV
|
||||
|
||||
# Window Manager Keys
|
||||
|
Loading…
Reference in New Issue
Block a user