From b7b48f60ac103703199b91027fa62e35967bbe45 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Mon, 14 Mar 2022 10:42:53 -0400 Subject: [PATCH] Add pulsar to config --- README.org | 19 +++++++++++++++++++ modules/emacs.nix | 3 +++ 2 files changed, 22 insertions(+) diff --git a/README.org b/README.org index 339b03a..bd99e5a 100644 --- a/README.org +++ b/README.org @@ -1079,7 +1079,10 @@ let <> <> <> + + # User interface packages. <> + <> <> <> <> @@ -1158,6 +1161,7 @@ When Emacs is started, it normally tries to load a Lisp program from an ititiali ;; User interface. <> +<> <> <> <> @@ -2460,6 +2464,21 @@ epkgs.ivy-prescient (ivy-prescient-mode +1) #+END_SRC +** Pulsar + +#+NAME: emacs-pulsar-package +#+BEGIN_SRC nix +epkgs.pulsar +#+END_SRC + +[[https://protesilaos.com/emacs/pulsar][Pulsar]] is a simple package that temporarily highlights the current line after a given function is invoked. It's built on the =pulse.el= library which is included with core [[https://gnu.org/software/emacs/][GNU/Emacs]]. + +#+NAME: emacs-pulsar-elisp +#+BEGIN_SRC emacs-lisp +(require 'pulsar) +(pulsar-setup +#+END_SRC + ** Transparency It's possible to control the frame opacity in [[https://gnu.org/software/emacs/][GNU/Emacs]]. Unlike other transparency hacks, it's not merely showing the desktop background image, but is true transparency -- you can see other windows behind the Emacs window. diff --git a/modules/emacs.nix b/modules/emacs.nix index 1b065d4..f318f8c 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -55,11 +55,14 @@ let epkgs.rustic epkgs.plantuml-mode epkgs.protobuf-mode + + # User interface packages. epkgs.ivy epkgs.counsel epkgs.ivy-rich epkgs.ivy-posframe epkgs.ivy-prescient + epkgs.pulsar epkgs.desktop-environment epkgs.doom-themes epkgs.doom-modeline