From a0989ff54e061a16dbd93d52a9957431aeed57f2 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 22 Jan 2025 09:41:26 +0800 Subject: Update --- mutt/default | 3 +++ mutt/muttrc.topo | 26 ++++++++++++++------------ snippets/json_maplibre_style | 26 ++++++++++++++++++++++++++ snippets/json_maplibre_style_circle | 19 +++++++++++++++++++ vim/spell/en.utf-8.add | 3 +++ vim/spell/en.utf-8.add.spl | Bin 932 -> 1142 bytes 6 files changed, 65 insertions(+), 12 deletions(-) create mode 100644 snippets/json_maplibre_style create mode 100644 snippets/json_maplibre_style_circle diff --git a/mutt/default b/mutt/default index c254e5f..06673aa 100644 --- a/mutt/default +++ b/mutt/default @@ -61,6 +61,8 @@ bind index,browser l select-entry bind index \\ limit bind index \cj next-entry bind index \ck previous-entry +bind pager \ce next-line +bind pager \cy previous-line bind index,browser G last-entry bind index,browser g noop bind index,browser gg first-entry @@ -119,6 +121,7 @@ bind generic zt current-top bind generic zz current-middle bind generic zb current-bottom bind index za collapse-thread +bind index zc collapse-thread bind index zA collapse-all #bind generic,pager \Cy previous-line #bind generic,index,pager \Ce next-line diff --git a/mutt/muttrc.topo b/mutt/muttrc.topo index ff39e8d..e3a1577 100644 --- a/mutt/muttrc.topo +++ b/mutt/muttrc.topo @@ -24,10 +24,11 @@ set mask="!(tmp|new|cur|dovecot.*|\\..*|maildirfolder)" # Sidebar mailboxes -label 'INBOX' -poll + \ - -poll +do \ - -poll +on \ + -poll +act\ -poll +box \ + -poll +continue \ -poll -label '[r]' +river \ + -poll -label '[h]' +hiking \ "+-- Permanent ---" \ -poll -label 'de[v]' +DEV \ -poll -label '[t]alk 🍺' +talk \ @@ -48,23 +49,24 @@ macro index,pager 'source ~/.config/mutt/muttr # Change mailboxes macro index,pager gi "+" "Switch to INBOX folder" -macro index,pager gd "+do" -macro index,pager go "+on" +macro index,pager ga "+act" macro index,pager gb "+box" -macro index,pager gt "+talk" +macro index,pager gc "+continue" +macro index,pager gd "+done" -macro index,pager gs "+Sent" -macro index,pager gD "+done" -macro index,pager gS "+spam" +macro index,pager gt "+talk" macro index,pager gk "+keep" macro index,pager gn "+news" - +macro index,pager gh "+hiking" macro index,pager gp "+pay" +macro index,pager gs "+Sent" +macro index,pager gr "+river" +macro index,pager gv "+DEV" +macro index,pager gu "+update" + macro index,pager gP "+MISC/promote" macro index,pager gT "+Trash" macro index,pager gl "+login" macro index,pager gf "+feedback" -macro index,pager gr "+river" macro index,pager gR "+rent" -macro index,pager gv "+DEV" -macro index,pager gu "+update" +macro index,pager gS "+spam" diff --git a/snippets/json_maplibre_style b/snippets/json_maplibre_style new file mode 100644 index 0000000..bc88d10 --- /dev/null +++ b/snippets/json_maplibre_style @@ -0,0 +1,26 @@ +{ + "version": 8, + "name": "simple", + "id": "simple", + "bearing": 0, + "pitch": 0, + "sources": { + "nlsc": { + "type": "raster", + "maxzoom": 15, + "tiles": [ + "https://wmts.nlsc.gov.tw/wmts/B5000/default/GoogleMapsCompatible/{z}/{y}/{x}" + ] + } + }, + "glyphs": "https://tile.openstreetmap.jp/fonts/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "#f8f4f0" + } + } + ] +} diff --git a/snippets/json_maplibre_style_circle b/snippets/json_maplibre_style_circle new file mode 100644 index 0000000..485241c --- /dev/null +++ b/snippets/json_maplibre_style_circle @@ -0,0 +1,19 @@ + { + "id": "points", + "type": "circle", + "source": "power.points", + "paint": { + "circle-color": "red", + "circle-radius": [ + "interpolate", ["linear"], ["zoom"], + 10, 3, + 18, 10 + ], + "circle-stroke-width": [ + "interpolate", ["linear"], ["zoom"], + 8, 1, + 13, 3 + ], + "circle-stroke-color": "white" + } + } diff --git a/vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add index 1e33afc..ff3080c 100644 --- a/vim/spell/en.utf-8.add +++ b/vim/spell/en.utf-8.add @@ -54,3 +54,6 @@ DMARC DKIM Github Disqus +fifo +fifo +mkfifo diff --git a/vim/spell/en.utf-8.add.spl b/vim/spell/en.utf-8.add.spl index afae2c5..2081362 100644 Binary files a/vim/spell/en.utf-8.add.spl and b/vim/spell/en.utf-8.add.spl differ -- cgit v1.2.3-70-g09d2