Update 2024-12-24 08:58 OpenBSD/amd64-t14
This commit is contained in:
parent
6a240c970c
commit
3e58a36599
10
.bin/update-luakit-adlist
Executable file
10
.bin/update-luakit-adlist
Executable 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
39
.bin/update-pim-all
Executable 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
|
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user