Update 2024-12-24 08:58 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-12-24 08:58:49 +01:00
parent 6a240c970c
commit 3e58a36599
4 changed files with 51 additions and 2 deletions

10
.bin/update-luakit-adlist Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh -xe
for list in easylist/easylist \
easylist/easyprivacy \
easylist/fanboy-social \
easylistgermany/easylistgermany
do
ftp -o $HOME/.local/share/luakit/adblock/$(basename $list).txt \
https://easylist.to/${list}.txt
done

39
.bin/update-pim-all Executable file
View File

@ -0,0 +1,39 @@
#/bin/sh -xe
. ~/.bin/_config
needs vdirsyncer-- mu-- isync-- git-- p5-iCal-Parser-- remind--
# 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
# create abook addressbook
cat /home/sdk/.isync/contacts/*.vcf \
| abook --convert --informat vcard --outformat abook \
> /home/sdk/.abook/addressbook
# sync email to offline
mbsync -a
# index email
mu index

View File

@ -106,7 +106,7 @@ then
exit 0
fi
# HANDLE CASE: "list last N files"
# HANDLE CASE: "list last N remote files"
if [ -n "$_last" ]
then
remote_list \

View File

@ -60,7 +60,7 @@ local settings_chrome = require "settings_chrome"
settings.window.home_page = "luakit://newtab"
-- settings.window.scroll_step = 20
settings.window.zoom_step = 0.2
settings.webview.zoom_level = 100
settings.webview.zoom_level = 150
settings.window.close_with_last_tab = true
-- search engines