all repos — nixfiles @ 4afe38dea206c2989273c5bff080077da7e82101

System and user configuration, managed by nix and home-manager

theme: use modus-themes in emacs

Alin
commit

4afe38dea206c2989273c5bff080077da7e82101

parent

7b6f234471d3b0d7fbc155eb9dc7f8922e0a411b

2 files changed, 4 insertions(+), 9 deletions(-)

changed files
M user/settings/emacs/theme.el → user/settings/emacs/theme.el
@@ -3,8 +3,7 @@ (setq is-macport (featurep 'term/mac-win))
(use-package @package@ :if (or (daemonp) - window-system) - :config (progn @config@)) + window-system)) (let ((light-mode-theme '@light-mode-theme@) (dark-mode-theme '@dark-mode-theme@))
M user/settings/theme.nix → user/settings/theme.nix
@@ -13,13 +13,10 @@ mustFloat = x: x * 1.0;
px-pt = px: (mustFloat px) * ppi / dpi; emacs = { - package = "base16-theme"; - light-mode-theme = "base16-flexoki-light"; - dark-mode-theme = "base16-decaf"; + package = "modus-themes"; + light-mode-theme = "modus-operandi"; + dark-mode-theme = "modus-vivendi"; minimal-user-emacs-directory = "${config.xdg.configHome}/emacs"; - config = '' - (setq base16-distinct-fringe-background nil) - ''; }; in {
@@ -129,7 +126,6 @@
xdg.configFile."emacs/theme.el".source = pkgs.replaceVars ./emacs/theme.el { inherit (emacs) package - config light-mode-theme dark-mode-theme ;