Only load my fancy epic packages if in gui mode

This commit is contained in:
MitchMarq42 2023-04-21 21:18:45 -08:00
parent c8908c8730
commit 936565024b

View File

@ -1071,9 +1071,11 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html"
(power-mode-streak-shake-threshold nil)) (power-mode-streak-shake-threshold nil))
(use-package hypop (use-package hypop
:if (display-graphic-p)
:elpaca (:repo "https://git.mitchmarq42.xyz/mitch/hypop.el") :elpaca (:repo "https://git.mitchmarq42.xyz/mitch/hypop.el")
:demand t) :demand t)
(use-package notibox (use-package notibox
:if (display-graphic-p)
:elpaca (:host github :repo "MitchMarq42/notibox.el") :elpaca (:host github :repo "MitchMarq42/notibox.el")
:demand t :demand t
:config (notibox/setup-timer)) :config (notibox/setup-timer))
@ -1086,6 +1088,7 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html"
) )
(use-package hl-column (use-package hl-column
:if (display-graphic-p)
:config :config
(defun hl-col-line-init () (defun hl-col-line-init ()
"Toggle both `hl-column-mode' and `hl-line-mode' in sync." "Toggle both `hl-column-mode' and `hl-line-mode' in sync."
@ -1100,6 +1103,8 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html"
:hook (prog-mode . hl-col-line-init)) :hook (prog-mode . hl-col-line-init))
(use-package vidframe (use-package vidframe
:if (display-graphic-p) ;we won't yet bother with
;kitty/sixel/catimg shit
:elpaca (:host github :repo "MitchMarq42/vidframe.el") :elpaca (:host github :repo "MitchMarq42/vidframe.el")
) )