konrad1977 / emacs

My emacs configuration
64 stars 9 forks source link

Can't install the catppucino theme on Emacs 27.2 #1

Closed pacberries closed 2 years ago

pacberries commented 2 years ago

I've tried to install the theme multiple times, I even tried using @konrad1977 's config file for emacs and it won't work, no matter what. I added catppucino.el to ~/.emacs.d/themes and emacs did not recognize the theme

(I've got two suggestions: -Add a merge request to the catppucino's github for them to add this theme to their github -Add the theme as a MELPA/ELPA package)

My config:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(column-number-mode t)
 '(custom-enabled-themes '(solarized-dark-high-contrast))
 '(custom-safe-themes
   '("830877f4aab227556548dc0a28bf395d0abe0e3a0ab95455731c9ea5ab5fe4e1" "d89e15a34261019eec9072575d8a924185c27d3da64899905f8548cbd9491a36" "833ddce3314a4e28411edf3c6efde468f6f2616fc31e17a62587d6a9255f4633" "7f1d414afda803f3244c6fb4c2c64bea44dac040ed3731ec9d75275b9e831fe5" "27a1dd6378f3782a593cc83e108a35c2b93e5ecc3bd9057313e1d88462701fcd" default))
 '(delete-selection-mode nil)
 '(global-display-line-numbers-mode t)
 '(inhibit-startup-screen t)
 '(menu-bar-mode nil)
 '(package-selected-packages '(go-mode solarized-theme base16-theme))
 '(show-paren-mode t)
 '(tool-bar-mode nil))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:family "Liberation Mono" :foundry "1ASC" :slant normal :weight normal :height 113 :width normal)))))

(setq backup-directory-alist '(("." . "~/.emacs.d/backup"))
  backup-by-copying t    ; Don't delink hardlinks
  version-control t      ; Use version numbers on backups
  delete-old-versions t  ; Automatically delete excess backups
  kept-new-versions 20   ; how many of the newest versions to keep
  kept-old-versions 5    ; and how many of the old
  )

;;customize theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
(add-to-list 'load-path "~/.emacs.d/themes/")

;; set GUI options
(tool-bar-mode -1)
(menu-bar-mode -1)
(setq line-number-mode t)
(set-fringe-mode 0)

;; MELPA/ELPA stuff
(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
konrad1977 commented 2 years ago

I have the same problem on one of my machines. I will investigate.

Have you tried 'emacs --debug-init'?

konrad1977 commented 2 years ago

@pacbru1260 I pushed a new version earlier today, could you see if that one works for you?

pacberries commented 2 years ago

It works, thanks @konrad1977