From 07f77a6ba05e5fc4b72ca47a43acc4ed0e2d4495 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 12 Dec 2025 13:11:38 +0100 Subject: Update to 25.11, manually pull in deprecated stuff for emacs I do not understand why helm-ag and helm-sweep were removed in MELPA… They work perfectly fine. --- gui/conf/init.el | 23 +++++++++++++++++++++++ gui/conf/metakr.org | 12 +++++++----- gui/conf/niri.kdl | 5 +++++ 3 files changed, 35 insertions(+), 5 deletions(-) (limited to 'gui/conf') diff --git a/gui/conf/init.el b/gui/conf/init.el index af4bd71..b543c6b 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -492,6 +492,9 @@ :init (projectile-mode)) +(use-package ag + :ensure t) + (use-package helm-ag :ensure t) @@ -603,6 +606,9 @@ ad-do-it (message "org-tangle took %f sec" (float-time (time-subtract (current-time) time))))) +(use-package gptel + :ensure t) + (let ((mu4e-config "~/.emacs.d/email.el")) (when (file-exists-p mu4e-config) (load-file mu4e-config))) @@ -614,4 +620,21 @@ (use-package envrc :ensure t) +(use-package gptel + :ensure t + :config + (defun read-file-contents (file-path) + "Read the contents of FILE-PATH and return it as a string." + (with-temp-buffer + (insert-file-contents file-path) + (buffer-string))) + (defun gptel-api-key () + (read-file-contents "~/.kit-ai-api")) + (setq gptel-backend (gptel-make-openai "KIT-Toolbox" + :host "ki-toolbox.scc.kit.edu" + :endpoint "/api/v1/chat/completions" + :stream t + :key #'gptel-api-key + :models '("azure.gpt-5")))) + (envrc-global-mode) diff --git a/gui/conf/metakr.org b/gui/conf/metakr.org index 29643cf..16c9717 100644 --- a/gui/conf/metakr.org +++ b/gui/conf/metakr.org @@ -83,8 +83,8 @@ For quick iteration all colors are stored in a table. | org-tag | #E4E093 | | org-block-line | #161616 | | org-block-bg | #080808 | -| org-agenda-structure-fg | #aaaaaa | -| org-agenda-structure-bg | #080808 | +| org-agenda-structure-fg | #000000 | +| org-agenda-structure-bg | #F2F2F2 | | org-agenda-today-fg | #dddddd | | org-agenda-today-bg | #000000 | | org-special-keyword | #777777 | @@ -335,9 +335,11 @@ For quick iteration all colors are stored in a table. :weight normal) (org-agenda-structure :foreground @org-agenda-structure-fg - :background @bg - :box (:line-width 3 :color @bg) - :underline @org-agenda-structure-bg) + :background @org-agenda-structure-bg) + ;(org-agenda-structural-header + ; :inherit fixed-pitch + ; :weight bold + ; :foreground @org-todo) (org-scheduled :foreground @org-scheduled) (org-scheduled-today diff --git a/gui/conf/niri.kdl b/gui/conf/niri.kdl index f795bcb..3741a60 100644 --- a/gui/conf/niri.kdl +++ b/gui/conf/niri.kdl @@ -13,6 +13,11 @@ output "eDP-1" { scale 1 } +output "HDMI-1" { + mode "1920x1080" + scale 1 +} + input { keyboard { xkb { -- cgit v1.2.3