* Question Regarding Using 'ewal' To Change Emacs Themes On The Fly
@ 2022-02-09 15:35 Samuel Banya
2022-02-09 17:11 ` Samuel Banya
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Banya @ 2022-02-09 15:35 UTC (permalink / raw)
To: Emanuel Berg
Hey there,
I ask because I wanted to change things up a bit to change Emacs themes on the fly.
I found this page, but am having trouble actually figuring out how to use it:
https://github.com/wurosh/ewal
So far, I have the following present within the my literate config:
*** 'ewal' for 'pywal' type Emacs theme selection
#+begin_src emacs-lisp
(use-package ewal
:ensure t
:init (setq ewal-use-built-in-always-p nil
ewal-use-built-in-on-failure-p t
ewal-built-in-palette "sexy-material"))
#+end_src
I also have this present for 'Spaceline':
*** 'Spaceline' Modeline
#+BEGIN_SRC emacs-lisp
(use-package spaceline
:ensure t
:config
(require 'spaceline-config)
(setq powerline-default-separator (quote arrow))
(spaceline-spacemacs-theme))
#+END_SRC
I also have this within my 'init.el' to specify the font:
(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 (:inherit nil :extend nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 125 :width normal :foundry "1ASC" :family "hack")))))
*
*
*Main Problem:*
* I enabled that 'ewal' package, but have zero clue on how to actually enable it or use it in this context.
* I've use 'pywal' a few years ago to change '~/.Xresources' on the fly with a few tmux and bash scripts which is super fun.
* However, I have zero clue on how to actually do this within Emacs itself.
*
*
*Main Goal:*
* My goal is to somehow to use Spacemacs type themes but with different color sets since I like the 'Spacemodeline' package a ton, and I also want the same theme to be applied to 'Helm' as well.
*
*
*Main Questions:*
Q1. I was wondering, does anyone have a working 'use-package' related Emacs config that's using 'ewal'?
Q2. Can anyone help me figure out the workflow for this scenario as well, since I actually only use an Emacs config that I pull from a Git repo but deliberately don't make changes on other machines to prevent having weird Git branch versioning issues.
Thanks,
Sam
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question Regarding Using 'ewal' To Change Emacs Themes On The Fly
2022-02-09 15:35 Question Regarding Using 'ewal' To Change Emacs Themes On The Fly Samuel Banya
@ 2022-02-09 17:11 ` Samuel Banya
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Banya @ 2022-02-09 17:11 UTC (permalink / raw)
To: Emanuel Berg
Update on this, apparently 'pywal' breaks on MacOS, and it still does on the latest Monterey version.
With this in mind, I'm not going to use 'ewal'.
However, I do have one remaining question:
How do I force themes to be in sync with 'Spacemodeline' and the Helm theme?
Thanks,
Sam
On Wed, Feb 9, 2022, at 10:35 AM, Samuel Banya wrote:
> Hey there,
>
> I ask because I wanted to change things up a bit to change Emacs themes on the fly.
>
> I found this page, but am having trouble actually figuring out how to use it:
> https://github.com/wurosh/ewal
>
> So far, I have the following present within the my literate config:
> *** 'ewal' for 'pywal' type Emacs theme selection
> #+begin_src emacs-lisp
> (use-package ewal
> :ensure t
> :init (setq ewal-use-built-in-always-p nil
> ewal-use-built-in-on-failure-p t
> ewal-built-in-palette "sexy-material"))
> #+end_src
>
> I also have this present for 'Spaceline':
> *** 'Spaceline' Modeline
> #+BEGIN_SRC emacs-lisp
> (use-package spaceline
> :ensure t
> :config
> (require 'spaceline-config)
> (setq powerline-default-separator (quote arrow))
> (spaceline-spacemacs-theme))
> #+END_SRC
>
> I also have this within my 'init.el' to specify the font:
> (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 (:inherit nil :extend nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 125 :width normal :foundry "1ASC" :family "hack")))))
> **
> *Main Problem:*
> * I enabled that 'ewal' package, but have zero clue on how to actually enable it or use it in this context.
> * I've use 'pywal' a few years ago to change '~/.Xresources' on the fly with a few tmux and bash scripts which is super fun.
> * However, I have zero clue on how to actually do this within Emacs itself.
> **
> *Main Goal:*
> * My goal is to somehow to use Spacemacs type themes but with different color sets since I like the 'Spacemodeline' package a ton, and I also want the same theme to be applied to 'Helm' as well.
> **
> *Main Questions:*
> Q1. I was wondering, does anyone have a working 'use-package' related Emacs config that's using 'ewal'?
>
> Q2. Can anyone help me figure out the workflow for this scenario as well, since I actually only use an Emacs config that I pull from a Git repo but deliberately don't make changes on other machines to prevent having weird Git branch versioning issues.
>
> Thanks,
>
> Sam
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-09 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-09 15:35 Question Regarding Using 'ewal' To Change Emacs Themes On The Fly Samuel Banya
2022-02-09 17:11 ` Samuel Banya
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.