This commit is contained in:
parent
ff0abe9f2e
commit
6f45c9de2e
3 changed files with 2 additions and 36 deletions
|
|
@ -1,33 +0,0 @@
|
||||||
;;; icejam-agent-shell.el --- summary -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
;; Author: Maciej Szlosarczyk
|
|
||||||
;; Maintainer: Maciej Szlosarczyk
|
|
||||||
;; Version: 0.1-snapshot
|
|
||||||
|
|
||||||
;;; Commentary:
|
|
||||||
|
|
||||||
;;; Agent stuff
|
|
||||||
|
|
||||||
;;; Code:
|
|
||||||
(declare-function agent-shell-make-environment-variables 'agent-shell)
|
|
||||||
(defvar icejam-variables-to-load-in-agent-shell '())
|
|
||||||
|
|
||||||
(use-package agent-shell
|
|
||||||
:ensure t
|
|
||||||
;; Install this only on MacOS. On Linux you want to do it manually.
|
|
||||||
:if (eq system-type 'darwin)
|
|
||||||
:ensure-system-package
|
|
||||||
((claude-agent-acp . "npm install -g @zed-industries/claude-agent-acp"))
|
|
||||||
:config
|
|
||||||
(setopt agent-shell-anthropic-claude-environment
|
|
||||||
(agent-shell-make-environment-variables :inherit-env t))
|
|
||||||
(setopt agent-shell-opencode-environment
|
|
||||||
(apply #'agent-shell-make-environment-variables
|
|
||||||
:inherit-env t
|
|
||||||
icejam-variables-to-load-in-agent-shell))
|
|
||||||
(setopt
|
|
||||||
agent-shell-opencode-default-model-id
|
|
||||||
"google-vertex-anthropic/claude-sonnet-4-6@default"))
|
|
||||||
|
|
||||||
(provide 'icejam-agent-shell)
|
|
||||||
;;; icejam-agent-shell.el ends here
|
|
||||||
|
|
@ -119,7 +119,6 @@
|
||||||
(use-package icejam-transient :ensure nil)
|
(use-package icejam-transient :ensure nil)
|
||||||
(use-package icejam-prog-mode :ensure nil)
|
(use-package icejam-prog-mode :ensure nil)
|
||||||
(use-package icejam-complete-at-point :ensure nil)
|
(use-package icejam-complete-at-point :ensure nil)
|
||||||
(use-package icejam-agent-shell :ensure nil)
|
|
||||||
(use-package icejam-flycheck :ensure nil)
|
(use-package icejam-flycheck :ensure nil)
|
||||||
(use-package icejam-ispell :ensure nil)
|
(use-package icejam-ispell :ensure nil)
|
||||||
(use-package icejam-deft :ensure nil)
|
(use-package icejam-deft :ensure nil)
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
;; (defconst icejam-font "Victor Mono Medium" "Default font.")
|
;; (defconst icejam-font "Victor Mono Medium" "Default font.")
|
||||||
;; (defconst icejam-font "Iosevka Term" "Default font.")
|
;; (defconst icejam-font "Iosevka Term" "Default font.")
|
||||||
|
|
||||||
(defconst icejam-default-font-family "Iosevka Term" "Default font.")
|
(defconst icejam-default-font-family "Iosevka" "Default font.")
|
||||||
(defconst icejam-variable-font-family "Lexica Ultralegible"
|
(defconst icejam-variable-font-family "Lexica Ultralegible"
|
||||||
"Variable pitch font.")
|
"Variable pitch font.")
|
||||||
(defconst icejam-markdown-font-family "Iosevka Comfy Motion"
|
(defconst icejam-markdown-font-family "Iosevka Comfy Motion"
|
||||||
|
|
@ -111,7 +111,7 @@ two points smaller."
|
||||||
(when (x-display-list)
|
(when (x-display-list)
|
||||||
(let* ((pixel-height (x-display-pixel-height))
|
(let* ((pixel-height (x-display-pixel-height))
|
||||||
(adjustment (cond
|
(adjustment (cond
|
||||||
((>= 1080 pixel-height) 0) ;; Built-in 14" Macbook screen
|
((>= 1080 pixel-height) 2) ;; Built-in 14" Macbook screen
|
||||||
((>= 1440 pixel-height) 3) ;; 27" screen connected to a Macbook
|
((>= 1440 pixel-height) 3) ;; 27" screen connected to a Macbook
|
||||||
((>= 2160 pixel-height) -3)))) ;; 4K screen (i.e Linux)
|
((>= 2160 pixel-height) -3)))) ;; 4K screen (i.e Linux)
|
||||||
(when adjustment
|
(when adjustment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue