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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
|
||||||
BEGIN {
|
BEGIN {
|
||||||
print "BEGIN:VCALENDAR"
|
print "BEGIN:VCALENDAR"
|
||||||
print "VERSION:2.0"
|
print "VERSION:2.0"
|
||||||
}
|
}
|
||||||
{
|
|
||||||
gsub("/","",$1)
|
$2 == "*" {
|
||||||
print "BEGIN:VEVENT"
|
gsub("/","",$1)
|
||||||
if ($5 != "*"){
|
print "BEGIN:VEVENT"
|
||||||
printf("DTSTART:%dT%02d%02d00\n",$1,$5/60,$5%60)
|
if ($5 != "*"){
|
||||||
printf("DTEND:%dT%02d%02d00\n",$1,$5/60+$4/60,$5%60+$4%60)
|
printf("DTSTART:%dT%02d%02d00\n",$1,$5/60,$5%60)
|
||||||
print "SUMMARY:" substr($0,match($0,$7))
|
printf("DTEND:%dT%02d%02d00\n",$1,$5/60+$4/60,$5%60+$4%60)
|
||||||
} else {
|
print "SUMMARY:" substr($0,match($0,$7))
|
||||||
printf("DTSTART:%d\n",$1)
|
} else {
|
||||||
print "SUMMARY:" substr($0,match($0,$6))
|
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
|
# Custom Quirks
|
||||||
quirk[IPMIView20-IPMIView20:IPMIView20-IPMIView20] = FLOAT + ANYWHERE
|
quirk[IPMIView20-IPMIView20:IPMIView20-IPMIView20] = FLOAT + ANYWHERE
|
||||||
quirk[scratchpad] = FLOAT + ANYWHERE + OBEYAPPFOCUSREQ
|
quirk[scratchpad] = FLOAT + ANYWHERE + OBEYAPPFOCUSREQ
|
||||||
quirk[tabbed] = FLOAT + ANYWHERE
|
quirk[scratchpad:tabbed] = FLOAT + ANYWHERE
|
||||||
quirk[Nsxiv:tabbed] = NOFOCUSONMAP + FOCUSPREV
|
quirk[Nsxiv:tabbed] = NOFOCUSONMAP + FOCUSPREV
|
||||||
|
|
||||||
# Window Manager Keys
|
# Window Manager Keys
|
||||||
|
Loading…
Reference in New Issue
Block a user