From 2a14a12a30464e9fd6702e4976c36fb6775c4879 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 6 Feb 2025 20:00:17 +0100 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=94=90=20Update=20authinfo.gpg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- authinfo.gpg | Bin 626 -> 685 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/authinfo.gpg b/authinfo.gpg index 4b00365ba0a199ab971e486f5970df4660e9322b..af763096636112969f5e83d4b653b3e5ee30fcb0 100644 GIT binary patch literal 685 zcmV;e0#f~j0Sp5+vzQzOs!i7)RASiDx$ z{PTgB)HqA9u&t)AkX`c-5E!g0whdDzdp@5QKiw$5wz*kFyNU7FZ6wi*L+4E@e#u_! zUFSHX=~CpK=-`kJGrWBm4gJ!<+X2Jjo=*7M@0d>*x76f${N5JXDb^woHdmfSvyPy; zN+JM(FOV^>fO6bAYc>Bod@gD7{s2p}aBib^bvNPxkqhF(yRH?jA!OSa%F$bD2P$r+ z4Fx`iIyGTPAagVzlpq&w#&@e~o5>>wwZk@#!c`vYU}?CAkzsT6sl9I#{VgEsE37P6 zQs4_p^ELgFv1#DS-EA_jqOl{(33D<03f$nSf{NmqJ9(13EE4Z+PGf-0E_7Nkg>sjb z3DIh-Y(jp9Kq%c~N*BoXt7{PrFPDOZI=y~Z8ct(!GE3l6)v zlqfzHLFMH}L3uzpL)T?Y7U_*B=0F?!0%O|d>L82KRYu?v{#QRPscc2+#prN^5BYD TW8Raq6*BZ$+5CZ4`k8H!I!jL3 literal 626 zcmV-&0*(EJ0Sp5+vzQzOs82S0M3Csqjc*K7N*!H}ES#A5VxSB#e2A#f0?D_XigD3drfC2ZFjpX-9#yZna z3dS4QVia<&zzt-e~K?0^RNhaa4jP#hM zcHtFeNI;GZO@$927^Y?#?p30rWp9(A0+1Yx>j4updS<(CnI|9Z#h97NA`h>Dp=!v7 zG5ccMp09>RkK_EYd7#;Nn8w1pkzTs>rfs7EaSJ{y0RKjxL|Li$D-9GT|e?he?99}<2+X? MrfMLKo>DA&rmmGRl>h($ From ca0ce7311dcead786b4b67914380c19cb172d024 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 6 Feb 2025 20:00:39 +0100 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=90=9B=20(elfeed)=20Remove=20faulty?= =?UTF-8?q?=20face=20adjustment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 9 --------- 1 file changed, 9 deletions(-) diff --git a/config.org b/config.org index be4a4ca..5a371af 100644 --- a/config.org +++ b/config.org @@ -476,15 +476,6 @@ Sometimes (most often a work) I share my screen during a video call to discuss s (set-face-attribute 'fixed-pitch nil :font mmk2410/fixed-font-name :height mmk2410/fixed-font-present-height :weight 'regular)) #+end_src -Additionally like to adjust some faces to my personal liking. - -#+begin_src emacs-lisp - (with-eval-after-load 'elfeed - (set-face-attribute 'message-header-subject nil - :font mmk2410/variable-font-name - :height 220)) -#+end_src - ** Set theme Installing and enabling Gruvbox light theme. /Disabled in favor of the Doom themes./ From 670e23ac7010085a4a90fc94203b988b777d804b Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 6 Feb 2025 20:01:07 +0100 Subject: [PATCH 3/5] =?UTF-8?q?=E2=9C=A8=20(elfeed)=20Add=20keybinding=20f?= =?UTF-8?q?or=20staring=20a=20entry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 5a371af..b6fe81a 100644 --- a/config.org +++ b/config.org @@ -2255,8 +2255,14 @@ Source: [[https://github.com/skeeto/elfeed][GitHub: skeeto/elfeed]] #+begin_src emacs-lisp (use-package elfeed :demand t - :config (setq elfeed-sort-order 'ascending) - :bind (("C-c e" . elfeed))) + :config + (setq elfeed-sort-order 'ascending) + (defun my/elfeed-search-toggle-star () + (interactive) + (elfeed-search-toggle-all 'star)) + :bind (("C-c e" . elfeed) + :map elfeed-search-mode-map + ("f" . my/elfeed-search-toggle-star))) #+end_src ** Storing articles From 2de05361f064dc6ccf4accd3dafac174bb403267 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 6 Feb 2025 20:01:25 +0100 Subject: [PATCH 4/5] =?UTF-8?q?=E2=9C=A8=20(eglot)=20Add=20phpactor=20lsp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.org b/config.org index b6fe81a..bdfbc05 100644 --- a/config.org +++ b/config.org @@ -1914,6 +1914,8 @@ Source: [[https://github.com/joaotavora/eglot][GitHub:joaotavora/eglot]] #+begin_src emacs-lisp (use-package eglot + :config + (add-to-list 'eglot-server-programs '(php-mode . ("~/.local/bin/phpactor" "language-server"))) :hook ((python-mode . eglot-ensure) (go-mode . eglot-ensure) (php-mode . eglot-ensure) From 8bcd3865fc4e696955bd1ef1d84378dd5d24d579 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 6 Feb 2025 20:01:41 +0100 Subject: [PATCH 5/5] =?UTF-8?q?=E2=9C=A8=20(scribbles)=20Add=20API=20integ?= =?UTF-8?q?ration=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/scribbles.el | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/scribbles.el diff --git a/packages/scribbles.el b/packages/scribbles.el new file mode 100644 index 0000000..3d6087d --- /dev/null +++ b/packages/scribbles.el @@ -0,0 +1,29 @@ +;;; scribbles.el --- Scribbles Integration -*- lexical-binding: t -*- + +;;; Commentary: +;;; Integration with my Scribbles microblog on mmk2410.org + +;;; Code: +(require 'json) +(require 'plz) + +(defun scribbles--get-api-key () + "Get Scribbles API key from auth store." + (let ((result (auth-source-search :host "mmk2410.org" :user "scribbles"))) + (if result + (funcall (plist-get (car result) :secret)) + nil))) + +(defun scribbles--build-headers () + "Build headers for Scribbles Lab API request." + `(("Content-Type" . "application/json") + ("Api-Key" . ,(scribbles--get-api-key)))) + +(defun scribbles-post (message) + "Post MESSAGE to Scribbles." + (interactive "sScribble: ") + (plz 'post "https://mmk2410.org/my/api/v1/scribble" + :headers (scribbles--build-headers) + :body (json-encode `(("text" . ,message))))) + +;;; scribbles.el ends here