Move themes

This commit is contained in:
Maciej 2024-07-27 10:35:26 +03:00
parent e40c2e4bb3
commit bf90b046b8
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
13 changed files with 38 additions and 41 deletions

View file

@ -30,10 +30,14 @@
(straight-use-package 'use-package)
;; I don't know why this needs to be here and with a lisp specifier, but
;; normal subdirs.el file doesn't work.
(normal-top-level-add-to-load-path '("lisp/themes" "lisp/langs"))
;; (add-to-list 'load-path (concat user-emacs-directory "pkg"))
;; General configuration files.
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
(require 'icejam-keys-mode)
(require 'icejam-base)
(require 'icejam-sys-specific)
(require 'icejam-ivy)
@ -52,8 +56,8 @@
(require 'icejam-speed-type)
;; Themes
(require '+custom-pkg-themes "$HOME/.emacs.d/pkg/themes.el")
(require '+custom-pkg-fonts "$HOME/.emacs.d/pkg/fonts.el")
(require 'icejam-themes)
(require 'icejam-fonts)
;; Actual supported languages and file syntax.
(require '+custom-lang-clang "$HOME/.emacs.d/lang/clang.el")
@ -84,7 +88,7 @@
(require '+custom-lang-ziglang "$HOME/.emacs.d/lang/ziglang.el")
;; Diminish modeline litter
(require '+custom-pkg-diminish "$HOME/.emacs.d/pkg/diminish.el")
(require 'icejam-diminish)
;; Restore GC to normal, but still high
(setq gc-cons-threshold 100000000)

View file

@ -1,9 +1,9 @@
;;; pkg/deft.el -- summary -*- lexical-binding: t; -*-
;;; icejam-deft.el -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Notational velocity, backed by OneDrive.
;;; Code:
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
(require 'icejam-keys-mode)
(require 'icejam-transient)
(use-package deft

View file

@ -1,4 +1,4 @@
;;; diminish.el --- summary -*- lexical-binding: t; -*-
;;; icejam-diminish.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
@ -23,5 +23,5 @@
(eval-after-load "whitespace" '(diminish 'whitespace-mode))
(eval-after-load "auto-revert-mode" '(diminish 'auto-revert-mode))
(provide '+custom-pkg-diminish)
;;; diminish.el ends here
(provide 'icejam-diminish)
;;; icejam-diminish.el ends here

View file

@ -1,4 +1,4 @@
;;; fonts.el --- summary -*- lexical-binding: t; -*-
;;; icejam-fonts.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
@ -118,5 +118,5 @@
:foreground (face-foreground 'default)
:background (face-background 'default))
(provide '+custom-pkg-fonts)
;;; fonts.el ends here
(provide 'icejam-fonts)
;;; icejam-fonts.el ends here

View file

@ -1,10 +1,9 @@
;;; pkg/ivy -- summary -*- lexical-binding: t; -*-
;;; icejam-ivy -- Counsel, Swiper and Ivy. -*- lexical-binding: t; -*-
;;; Commentary:
;;; Counsel, Swiper and Ivy.
;;;
;;; Code:
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
(require 'icejam-keys-mode)
(use-package helpful :straight t :defer t)
(use-package counsel :straight t :defer t :requires (helpful)

View file

@ -1,4 +1,4 @@
;;; keys-mode.el --- summary -*- lexical-binding: t; -*-
;;; icejam-keys-mode.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
@ -51,5 +51,5 @@
(define-key +custom-keys-mode-map [home] 'beginning-of-line)
(define-key +custom-keys-mode-map [end] 'end-of-line)
(provide '+custom-pkg-keys-mode)
;;; keys-mode.el ends here
(provide 'icejam-keys-mode)
;;; icejam-keys-mode.el ends here

View file

@ -7,7 +7,7 @@
(defconst IS-BSD (eq system-type 'berkeley-unix))
(defconst IS-GNU (eq system-type 'gnu/linux))
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
(require 'icejam-keys-mode)
(defun +custom-function-delete-window ()
"Kill a window."

View file

@ -1,4 +1,4 @@
;;; Themes -- summary -*- lexical-binding: t; -*-
;;; icejam-themes.el -- Theme configuration -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
@ -43,15 +43,11 @@
(load-theme 'sanityinc-tomorrow-night t t)
;; My own theme modifications:
(require 'base16-zenburn-modified-theme
"$HOME/.emacs.d/themes/base16-zenburn-modified.el")
(require 'base16-harmonic-light-modified-theme
"$HOME/.emacs.d/themes/base16-harmonic-light-modified.el")
(require 'icejam-base16-zenburn)
(require 'icejam-base16-harmonic-light)
(spaceline-emacs-theme)
(enable-theme 'base16-zenburn-modified)
(provide '+custom-pkg-themes)
;;; themes.el ends here
(provide 'icejam-themes)
;;; icejam-themes.el ends here

View file

@ -36,5 +36,5 @@
;; Mark the theme as provided
(provide-theme 'base16-harmonic-light-modified)
(provide 'themes/base16-harmonic-light-modified-theme)
;;; base16-harmonic-light-modified-theme.el ends here
(provide 'icejam-base16-harmonic-light)
;;; icejam-base16-harmonic-light.el ends here

View file

@ -55,7 +55,5 @@
;; Mark the theme as provided
(provide-theme 'base16-not-harmonic)
(provide 'base16-not-harmonic-theme)
;;; base16-not-harmonic-theme.el ends here
(provide 'icejam-base16-not-harmonic)
;;; icejam-base16-not-harmonic.el ends here

View file

@ -36,5 +36,5 @@
;; Mark the theme as provided
(provide-theme 'base16-summerfruit-light-modified)
(provide 'themes/base16-summerfruit-light-modified-theme)
;;; base16-summerfruit-light-modified-theme.el ends here
(provide 'icejam-base16-summerfruit-light)
;;; icejam-base16-summerfruit-light.el ends here

View file

@ -46,6 +46,5 @@
;; Mark the theme as provided
(provide-theme 'base16-zenburn-modified)
(provide 'base16-zenburn-modified-theme)
;;; base16-zenburn-modified-theme.el ends here
(provide 'icejam-base16-zenburn)
;;; icejam-base16-zenburn.el ends here

View file

@ -384,4 +384,5 @@ More information on Tron: https://en.wikipedia.org/wiki/Tron")
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'tronesque)
;;; tronesque-theme.el ends here
(provide icejam-tronesque)
;;; icejam-tronesque.el ends here