From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Samuel Banya" Newsgroups: gmane.emacs.help Subject: Re: Question Regarding Using 'ewal' To Change Emacs Themes On The Fly Date: Wed, 09 Feb 2022 12:11:15 -0500 Message-ID: <5fd421fe-2401-41af-b2af-b9b43cad0d06@www.fastmail.com> References: <1860400a-d4b9-4236-a1a9-95a097392c63@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5521"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-4748-g31a5b5f50e-fm-cal2020-20220204.001-g31a5b5f5 To: "Emanuel Berg" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 09 19:07:20 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHrNA-0001IU-0S for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 19:07:20 +0100 Original-Received: from localhost ([::1]:47652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHrN8-0002I8-No for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 13:07:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHqWH-00029c-8r for help-gnu-emacs@gnu.org; Wed, 09 Feb 2022 12:12:42 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHqVb-0000hG-0H for help-gnu-emacs@gnu.org; Wed, 09 Feb 2022 12:12:21 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A98245C013B for ; Wed, 9 Feb 2022 12:11:36 -0500 (EST) Original-Received: from imap49 ([10.202.2.99]) by compute2.internal (MEProxy); Wed, 09 Feb 2022 12:11:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=tob/2krz6ATdVWnJdLATpmzAN1dGxHgWBE7c2f qWDfQ=; b=KI+JHR6I/xclL8+ftPfMuu76i5/q+MEStgbXF/pEpFTXNdQcZIMalD ceTiUwoIugpH4vHIRpzYV6+5rMHjhjSRuxL3lo6zsmoJOtPaspoA4b6lefWIUUWO AuXd8mj8v3rvIFUdYrX3mDOfxlQul6c2d0CxFV8iue57wjcJwoS3Ay9s4pmk9Z2E bfEZ+6qOCLyTZDgS+wIcemxYdcu64wjVoWzJ6t9FPg+M+02CSEbVPR+nLyNFNpoN vXLlvUKygdoYf1MT0+tRfx9jklNjuYSz44AFWt8npOVcq5uLkgB3NOozn4SOhllh M8rLqHuDLfy9/ZXiwo7dHLt19rOyBJEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=tob/2krz6ATdVWnJd LATpmzAN1dGxHgWBE7c2fqWDfQ=; b=Us0Ai7dpEUez1WbUZX57c7GB6nNR5a0e6 si2lDelRH7pGF/OdIlwTtmWQp+JDlHElFeNi80xogxHeUMmj8b85bmdqSoc0He0D PjJHucM10KM1h089Fzl0k3Xpd3qmzQh8tMaAWb7ahJKrBHzsyOC7qa36KJmscWDJ ssEWkYG5kVvswM8epfJyIU7WXnKizfA5gWhGAReLoehDTHL4c2TdN1e7ncBlLAT0 CmLgY6B0NXnYuBmBzBByxeUEjetMsJEFAaPY05OZ7H9xcHeyjwLf8EW/+QmNJZy2 oUDaojRkoPVZ6uW++BfmmWJqwrXISdUc1x54gjcc7LDP7B3R6AdYQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheelgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreertdenucfhrhhomhepfdfurghmuhgvlhcuuegrnhihrgdfuceoshgsrghnhigrsehf rghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepuedukeeiveeghfelieelve ehfeeivefftedutedujefhjeffvdeihfektefhieehnecuffhomhgrihhnpehgihhthhhu sgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehssggrnhihrgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 484ECF6007E; Wed, 9 Feb 2022 12:11:36 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <1860400a-d4b9-4236-a1a9-95a097392c63@www.fastmail.com> Received-SPF: pass client-ip=66.111.4.26; envelope-from=sbanya@fastmail.com; helo=out2-smtp.messagingengine.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135870 Archived-At: 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 > >